Contributors update.cassette 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. [
  2. {
  3. "scope": "https://api.lokalise.com:443",
  4. "method": "PUT",
  5. "path": "/api2/projects/803826145ba90b42d5d860.46800099/contributors/39938",
  6. "body": {
  7. "is_admin": true
  8. },
  9. "status": 200,
  10. "response": {
  11. "project_id": "803826145ba90b42d5d860.46800099",
  12. "contributor": {
  13. "user_id": 39938,
  14. "email": "translator2@mycompany.com",
  15. "fullname": "Mr. Translator",
  16. "created_at": "2019-06-19 20:12:11 (Etc/UTC)",
  17. "created_at_timestamp": 1560975131,
  18. "is_admin": true,
  19. "is_reviewer": true,
  20. "languages": [
  21. {
  22. "lang_id": 803,
  23. "lang_iso": "sq",
  24. "lang_name": "Albanian",
  25. "is_writable": true
  26. },
  27. {
  28. "lang_id": 731,
  29. "lang_iso": "ar_001",
  30. "lang_name": "Arabic (World)",
  31. "is_writable": true
  32. },
  33. {
  34. "lang_id": 934,
  35. "lang_iso": "bm",
  36. "lang_name": "Bambara",
  37. "is_writable": true
  38. },
  39. {
  40. "lang_id": 764,
  41. "lang_iso": "ca",
  42. "lang_name": "Catalan",
  43. "is_writable": true
  44. },
  45. {
  46. "lang_id": 601,
  47. "lang_iso": "zh_TW",
  48. "lang_name": "Chinese Traditional",
  49. "is_writable": true
  50. },
  51. {
  52. "lang_id": 10111,
  53. "lang_iso": "custom_111",
  54. "lang_name": "Custom Language 111",
  55. "is_writable": true
  56. },
  57. {
  58. "lang_id": 737,
  59. "lang_iso": "nl",
  60. "lang_name": "Dutch",
  61. "is_writable": true
  62. },
  63. {
  64. "lang_id": 640,
  65. "lang_iso": "en",
  66. "lang_name": "English",
  67. "is_writable": true
  68. },
  69. {
  70. "lang_id": 1055,
  71. "lang_iso": "en-us",
  72. "lang_name": "English (United States)",
  73. "is_writable": true
  74. },
  75. {
  76. "lang_id": 673,
  77. "lang_iso": "f_over",
  78. "lang_name": "fr overriden",
  79. "is_writable": true
  80. },
  81. {
  82. "lang_id": 597,
  83. "lang_iso": "ru",
  84. "lang_name": "Russian",
  85. "is_writable": true
  86. },
  87. {
  88. "lang_id": 1056,
  89. "lang_iso": "es",
  90. "lang_name": "Spanish",
  91. "is_writable": true
  92. }
  93. ],
  94. "admin_rights": [
  95. "upload",
  96. "download",
  97. "tasks",
  98. "contributors",
  99. "screenshots",
  100. "keys",
  101. "languages",
  102. "settings",
  103. "activity",
  104. "statistics"
  105. ]
  106. }
  107. },
  108. "rawHeaders": [
  109. "Server",
  110. "nginx",
  111. "Date",
  112. "Wed, 19 Jun 2019 20:19:27 GMT",
  113. "Content-Type",
  114. "application/json",
  115. "Transfer-Encoding",
  116. "chunked",
  117. "Connection",
  118. "close",
  119. "Vary",
  120. "Accept-Encoding",
  121. "Set-Cookie",
  122. "PHPSESSID=1e3049d5b9f20174cafb2472eaf7b5b8; expires=Sun, 18-Aug-2019 20:19:27 GMT; Max-Age=5184000; path=/; secure; HttpOnly",
  123. "Expires",
  124. "Thu, 19 Nov 1981 08:52:00 GMT",
  125. "Cache-Control",
  126. "no-store, no-cache, must-revalidate",
  127. "Pragma",
  128. "no-cache",
  129. "Pragma",
  130. "no-cache",
  131. "Cache-Control",
  132. "no-store, no-cache",
  133. "Access-Control-Allow-Origin",
  134. "*",
  135. "Access-Control-Allow-Headers",
  136. "Content-Type"
  137. ]
  138. }
  139. ]