Advertisement
Guest User

Untitled

a guest
Jan 18th, 2023
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.52 KB | None | 0 0
  1. {
  2. "type": "object",
  3. "properties": {
  4. "statusCode": {
  5. "type": "integer"
  6. },
  7. "headers": {
  8. "type": "object",
  9. "properties": {
  10. "Connection": {
  11. "type": "string"
  12. },
  13. "Pragma": {
  14. "type": "string"
  15. },
  16. "Cache-Control": {
  17. "type": "string"
  18. },
  19. "Date": {
  20. "type": "string"
  21. },
  22. "Content-Length": {
  23. "type": "string"
  24. },
  25. "Content-Type": {
  26. "type": "string"
  27. },
  28. "Expires": {
  29. "type": "string"
  30. }
  31. }
  32. },
  33. "body": {
  34. "type": "object",
  35. "properties": {
  36. "items": {
  37. "type": "array",
  38. "items": {
  39. "type": "object",
  40. "properties": {
  41. "fileId": {
  42. "type": "string"
  43. },
  44. "fileName": {
  45. "type": "string"
  46. },
  47. "fileAreaId": {
  48. "type": "string"
  49. },
  50. "folderId": {
  51. "type": "string"
  52. },
  53. "uploadedByUserId": {
  54. "type": "string"
  55. },
  56. "uploaded": {
  57. "type": "string"
  58. },
  59. "lastModifiedByUserId": {
  60. "type": "string"
  61. },
  62. "lastModified": {
  63. "type": "string"
  64. },
  65. "version": {
  66. "type": "string"
  67. },
  68. "deleted": {
  69. "type": "boolean"
  70. },
  71. "fileType": {
  72. "type": "string"
  73. },
  74. "fileSize": {
  75. "type": "integer"
  76. },
  77. "contentHash": {
  78. "type": "string"
  79. },
  80. "downloadLink": {
  81. "type": "string"
  82. },
  83. "properties": {
  84. "type": "array"
  85. }
  86. },
  87. "required": [
  88. "fileId",
  89. "fileName",
  90. "fileAreaId",
  91. "folderId",
  92. "uploadedByUserId",
  93. "uploaded",
  94. "lastModifiedByUserId",
  95. "lastModified",
  96. "version",
  97. "deleted",
  98. "fileType",
  99. "fileSize",
  100. "contentHash",
  101. "downloadLink",
  102. "properties"
  103. ]
  104. }
  105. },
  106. "links": {
  107. "type": "array",
  108. "items": {
  109. "type": "object",
  110. "properties": {
  111. "rel": {
  112. "type": "string"
  113. },
  114. "href": {
  115. "type": "string"
  116. },
  117. "method": {
  118. "type": "string"
  119. }
  120. },
  121. "required": [
  122. "rel",
  123. "href",
  124. "method"
  125. ]
  126. }
  127. }
  128. }
  129. }
  130. }
  131. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement