Contributors create.cassette 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. [
  2. {
  3. "scope": "https://api.lokalise.com:443",
  4. "method": "POST",
  5. "path": "/api2/projects/803826145ba90b42d5d860.46800099/contributors",
  6. "body": {
  7. "contributors": [
  8. {
  9. "email": "translator2@mycompany.com",
  10. "fullname": "Mr. Translator",
  11. "is_admin": false,
  12. "is_reviewer": true,
  13. "languages": [
  14. {
  15. "lang_iso": "en",
  16. "is_writable": false
  17. },
  18. {
  19. "lang_iso": "ru",
  20. "is_writable": true
  21. }
  22. ]
  23. }
  24. ]
  25. },
  26. "status": 200,
  27. "response": {
  28. "project_id": "803826145ba90b42d5d860.46800099",
  29. "contributors": [
  30. {
  31. "user_id": 39938,
  32. "email": "translator2@mycompany.com",
  33. "fullname": "Mr. Translator",
  34. "created_at": "2019-06-19 20:12:11 (Etc/UTC)",
  35. "created_at_timestamp": 1560975131,
  36. "is_admin": false,
  37. "is_reviewer": true,
  38. "languages": [
  39. {
  40. "lang_id": 640,
  41. "lang_iso": "en",
  42. "lang_name": "English",
  43. "is_writable": false
  44. },
  45. {
  46. "lang_id": 597,
  47. "lang_iso": "ru",
  48. "lang_name": "Russian",
  49. "is_writable": true
  50. }
  51. ],
  52. "admin_rights": []
  53. }
  54. ]
  55. },
  56. "rawHeaders": [
  57. "Server",
  58. "nginx",
  59. "Date",
  60. "Wed, 19 Jun 2019 20:12:11 GMT",
  61. "Content-Type",
  62. "application/json",
  63. "Transfer-Encoding",
  64. "chunked",
  65. "Connection",
  66. "close",
  67. "Vary",
  68. "Accept-Encoding",
  69. "Set-Cookie",
  70. "PHPSESSID=8918f32667405de7b1a30da27bb5a224; expires=Sun, 18-Aug-2019 20:12:11 GMT; Max-Age=5184000; path=/; secure; HttpOnly",
  71. "Expires",
  72. "Thu, 19 Nov 1981 08:52:00 GMT",
  73. "Cache-Control",
  74. "no-store, no-cache, must-revalidate",
  75. "Pragma",
  76. "no-cache",
  77. "Pragma",
  78. "no-cache",
  79. "Cache-Control",
  80. "no-store, no-cache",
  81. "Access-Control-Allow-Origin",
  82. "*",
  83. "Access-Control-Allow-Headers",
  84. "Content-Type"
  85. ]
  86. }
  87. ]