Tasks create.cassette 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. [
  2. {
  3. "scope": "https://api.lokalise.com:443",
  4. "method": "POST",
  5. "path": "/api2/projects/803826145ba90b42d5d860.46800099/tasks",
  6. "body": {
  7. "title": "node task",
  8. "keys": [
  9. 15519786
  10. ],
  11. "languages": [
  12. {
  13. "language_iso": "en",
  14. "users": [
  15. 20181
  16. ]
  17. }
  18. ]
  19. },
  20. "status": 200,
  21. "response": {
  22. "project_id": "803826145ba90b42d5d860.46800099",
  23. "task": {
  24. "task_id": 15526,
  25. "title": "node task",
  26. "can_be_parent": true,
  27. "task_type": "translation",
  28. "parent_task_id": null,
  29. "closing_tags": [],
  30. "description": "",
  31. "status": "created",
  32. "progress": 0,
  33. "due_date": null,
  34. "due_date_timestamp": null,
  35. "keys_count": 1,
  36. "words_count": 3,
  37. "created_at": "2019-06-20 15:25:04 (Etc/UTC)",
  38. "created_at_timestamp": 1561044304,
  39. "created_by": 20181,
  40. "created_by_email": "bodrovis@protonmail.com",
  41. "languages": [
  42. {
  43. "language_iso": "en",
  44. "users": [
  45. {
  46. "user_id": 20181,
  47. "email": "bodrovis@protonmail.com",
  48. "fullname": "Ilya B"
  49. }
  50. ],
  51. "groups": [],
  52. "keys": [
  53. 15519786
  54. ],
  55. "status": "created",
  56. "progress": 0,
  57. "initial_tm_leverage": [],
  58. "keys_count": 1,
  59. "words_count": 3,
  60. "completed_at": null,
  61. "completed_at_timestamp": null,
  62. "completed_by": null,
  63. "completed_by_email": null
  64. }
  65. ],
  66. "auto_close_languages": true,
  67. "auto_close_task": true,
  68. "completed_at": null,
  69. "completed_at_timestamp": null,
  70. "completed_by": null,
  71. "completed_by_email": null,
  72. "do_lock_translations": false,
  73. "custom_translation_status_ids": []
  74. }
  75. },
  76. "rawHeaders": [
  77. "Server",
  78. "nginx",
  79. "Date",
  80. "Thu, 20 Jun 2019 15:25:05 GMT",
  81. "Content-Type",
  82. "application/json",
  83. "Transfer-Encoding",
  84. "chunked",
  85. "Connection",
  86. "close",
  87. "Vary",
  88. "Accept-Encoding",
  89. "Set-Cookie",
  90. "PHPSESSID=fb7932e45f0fd39c2c664e450bbecb50; expires=Mon, 19-Aug-2019 15:25:04 GMT; Max-Age=5184000; path=/; secure; HttpOnly",
  91. "Expires",
  92. "Thu, 19 Nov 1981 08:52:00 GMT",
  93. "Cache-Control",
  94. "no-store, no-cache, must-revalidate",
  95. "Pragma",
  96. "no-cache",
  97. "Pragma",
  98. "no-cache",
  99. "Cache-Control",
  100. "no-store, no-cache",
  101. "Access-Control-Allow-Origin",
  102. "*",
  103. "Access-Control-Allow-Headers",
  104. "Content-Type"
  105. ]
  106. }
  107. ]