Contributors create_single.cassette 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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": "translator3@mycompany.com",
  10. "fullname": "Mr. Translator Single",
  11. "is_admin": false,
  12. "is_reviewer": true,
  13. "languages": [
  14. {
  15. "lang_iso": "en",
  16. "is_writable": false
  17. }
  18. ]
  19. }
  20. ]
  21. },
  22. "status": 200,
  23. "response": {
  24. "project_id": "803826145ba90b42d5d860.46800099",
  25. "branch": "master",
  26. "contributors": [
  27. {
  28. "user_id": 92319,
  29. "email": "translator3@mycompany.com",
  30. "fullname": "Mr. Translator Single",
  31. "created_at": "2021-01-29 19:58:24 (Etc/UTC)",
  32. "created_at_timestamp": 1611950304,
  33. "is_admin": false,
  34. "is_reviewer": true,
  35. "languages": [
  36. {
  37. "lang_id": 640,
  38. "lang_iso": "en",
  39. "lang_name": "English Custom",
  40. "is_writable": false
  41. }
  42. ],
  43. "admin_rights": []
  44. }
  45. ]
  46. },
  47. "rawHeaders": [
  48. "Server",
  49. "nginx",
  50. "Content-Type",
  51. "application/json",
  52. "Transfer-Encoding",
  53. "chunked",
  54. "Connection",
  55. "close",
  56. "Vary",
  57. "Accept-Encoding",
  58. "Cache-Control",
  59. "max-age=0, must-revalidate, no-cache, no-store, private",
  60. "Date",
  61. "Fri, 29 Jan 2021 19:58:24 GMT",
  62. "Pragma",
  63. "no-cache",
  64. "Allow",
  65. "GET",
  66. "X-Content-Type-Options",
  67. "nosniff",
  68. "X-Frame-Options",
  69. "deny",
  70. "X-XSS-Protection",
  71. "1; mode=block",
  72. "Strict-Transport-Security",
  73. "max-age=31536000",
  74. "Referrer-Policy",
  75. "origin",
  76. "Expires",
  77. "Fri, 29 Jan 2021 19:58:25 GMT",
  78. "Access-Control-Allow-Origin",
  79. "*",
  80. "Access-Control-Allow-Headers",
  81. "Content-Type"
  82. ],
  83. "responseIsBinary": false
  84. }
  85. ]