Files upload without automations.cassette 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. [
  2. {
  3. "scope": "https://api.lokalise.com:443",
  4. "method": "POST",
  5. "path": "/api2/projects/803826145ba90b42d5d860.46800099/files/upload",
  6. "body": {
  7. "data": "ewogICAgImZydWl0IjogIkFwcGxlIiwKICAgICJzaXplIjogIkxhcmdlIiwKICAgICJjb2xvciI6ICJSZWQiCn0=",
  8. "filename": "test_async.json",
  9. "lang_iso": "en",
  10. "use_automations": false
  11. },
  12. "status": 202,
  13. "response": {
  14. "project_id": "803826145ba90b42d5d860.46800099",
  15. "branch": "master",
  16. "process": {
  17. "process_id": "5ca0e2683d4a62a86c53e74dac4c80136434e6c1",
  18. "type": "file-import",
  19. "status": "queued",
  20. "message": "",
  21. "created_by": 20181,
  22. "created_by_email": "bodrovis@protonmail.com",
  23. "created_at": "2020-11-24 15:50:19 (Etc/UTC)",
  24. "created_at_timestamp": 1606233019
  25. }
  26. },
  27. "rawHeaders": [
  28. "Server",
  29. "nginx",
  30. "Content-Type",
  31. "application/json",
  32. "Transfer-Encoding",
  33. "chunked",
  34. "Connection",
  35. "close",
  36. "Cache-Control",
  37. "max-age=0, must-revalidate, no-cache, no-store, private",
  38. "Date",
  39. "Tue, 24 Nov 2020 15:50:18 GMT",
  40. "Location",
  41. "/api2/projects/803826145ba90b42d5d860.46800099/processes/5ca0e2683d4a62a86c53e74dac4c80136434e6c1",
  42. "Pragma",
  43. "no-cache",
  44. "X-Content-Type-Options",
  45. "nosniff",
  46. "X-Frame-Options",
  47. "deny",
  48. "X-XSS-Protection",
  49. "1; mode=block",
  50. "Strict-Transport-Security",
  51. "max-age=31536000",
  52. "Referrer-Policy",
  53. "origin",
  54. "Expires",
  55. "Tue, 24 Nov 2020 15:50:19 GMT"
  56. ],
  57. "responseIsBinary": false
  58. }
  59. ]