Tasks list_pagination.cassette 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. [
  2. {
  3. "scope": "https://api.lokalise.com:443",
  4. "method": "GET",
  5. "path": "/api2/projects/803826145ba90b42d5d860.46800099/tasks?page=2&limit=1",
  6. "body": "",
  7. "status": 200,
  8. "response": {
  9. "project_id": "803826145ba90b42d5d860.46800099",
  10. "tasks": [
  11. {
  12. "task_id": 10001,
  13. "title": "My new task",
  14. "can_be_parent": true,
  15. "task_type": "translation",
  16. "parent_task_id": null,
  17. "closing_tags": [
  18. "finalized"
  19. ],
  20. "description": "Description is here",
  21. "status": "in progress",
  22. "progress": 25,
  23. "due_date": "2019-04-29 22:00:00 (Etc/UTC)",
  24. "due_date_timestamp": 1556575200,
  25. "keys_count": 2,
  26. "words_count": 16,
  27. "created_at": "2019-04-17 13:44:00 (Etc/UTC)",
  28. "created_at_timestamp": 1555508640,
  29. "created_by": 20181,
  30. "created_by_email": "bodrovis@protonmail.com",
  31. "languages": [
  32. {
  33. "language_iso": "es",
  34. "users": [
  35. {
  36. "user_id": 34051,
  37. "email": "demo2@example.com",
  38. "fullname": "Demo 2 User"
  39. },
  40. {
  41. "user_id": 35554,
  42. "email": "golosizpru@ya.ru",
  43. "fullname": "Joanne"
  44. }
  45. ],
  46. "groups": [],
  47. "keys": [
  48. 15571975,
  49. 15571976
  50. ],
  51. "status": "in progress",
  52. "progress": 50,
  53. "initial_tm_leverage": [],
  54. "keys_count": 2,
  55. "words_count": 5,
  56. "completed_at": null,
  57. "completed_at_timestamp": null,
  58. "completed_by": null,
  59. "completed_by_email": null
  60. },
  61. {
  62. "language_iso": "zh_TW",
  63. "users": [
  64. {
  65. "user_id": 35555,
  66. "email": "john@example.com",
  67. "fullname": "John"
  68. }
  69. ],
  70. "groups": [],
  71. "keys": [
  72. 15571975,
  73. 15571976
  74. ],
  75. "status": "created",
  76. "progress": 0,
  77. "initial_tm_leverage": [],
  78. "keys_count": 2,
  79. "words_count": 8,
  80. "completed_at": null,
  81. "completed_at_timestamp": null,
  82. "completed_by": null,
  83. "completed_by_email": null
  84. }
  85. ],
  86. "auto_close_languages": true,
  87. "auto_close_task": true,
  88. "completed_at": null,
  89. "completed_at_timestamp": null,
  90. "completed_by": null,
  91. "completed_by_email": null,
  92. "do_lock_translations": false,
  93. "custom_translation_status_ids": []
  94. }
  95. ]
  96. },
  97. "rawHeaders": [
  98. "Server",
  99. "nginx",
  100. "Date",
  101. "Thu, 20 Jun 2019 15:12:41 GMT",
  102. "Content-Type",
  103. "application/json",
  104. "Transfer-Encoding",
  105. "chunked",
  106. "Connection",
  107. "close",
  108. "Vary",
  109. "Accept-Encoding",
  110. "Set-Cookie",
  111. "PHPSESSID=2e785c5ae5917796556b7daa1575e43e; expires=Mon, 19-Aug-2019 15:12:38 GMT; Max-Age=5184000; path=/; secure; HttpOnly",
  112. "Expires",
  113. "Thu, 19 Nov 1981 08:52:00 GMT",
  114. "Cache-Control",
  115. "no-store, no-cache, must-revalidate",
  116. "Pragma",
  117. "no-cache",
  118. "X-Pagination-Total-Count",
  119. "3",
  120. "X-Pagination-Page-Count",
  121. "3",
  122. "X-Pagination-Limit",
  123. "1",
  124. "X-Pagination-Page",
  125. "2",
  126. "Pragma",
  127. "no-cache",
  128. "Cache-Control",
  129. "no-store, no-cache",
  130. "Access-Control-Allow-Origin",
  131. "*",
  132. "Access-Control-Allow-Headers",
  133. "Content-Type"
  134. ]
  135. }
  136. ]