dsyms.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. {
  2. "get": {
  3. "tags": ["Projects"],
  4. "description": "Retrieve a list of debug information files for a given project.",
  5. "operationId": "List a Project's Debug Information Files",
  6. "parameters": [
  7. {
  8. "name": "organization_slug",
  9. "in": "path",
  10. "description": "The slug of the organization the file belongs to.",
  11. "required": true,
  12. "schema": {
  13. "type": "string"
  14. }
  15. },
  16. {
  17. "name": "project_slug",
  18. "in": "path",
  19. "description": "The slug of the project to list the DIFs of.",
  20. "required": true,
  21. "schema": {
  22. "type": "string"
  23. }
  24. }
  25. ],
  26. "responses": {
  27. "200": {
  28. "description": "Success",
  29. "content": {
  30. "application/json": {}
  31. }
  32. },
  33. "403": {
  34. "description": "Forbidden"
  35. },
  36. "404": {
  37. "description": "The requested resource does not exist"
  38. }
  39. },
  40. "security": [
  41. {
  42. "auth_token": ["project:read"]
  43. }
  44. ]
  45. },
  46. "post": {
  47. "tags": ["Projects"],
  48. "description": "Upload a new debug information file for the given release.\n\nUnlike other API requests, files must be uploaded using the\ntraditional multipart/form-data content-type.\n\nThe file uploaded is a zip archive of an Apple .dSYM folder which\ncontains the individual debug images. Uploading through this endpoint\nwill create different files for the contained images.",
  49. "operationId": "Upload a New File",
  50. "parameters": [
  51. {
  52. "name": "organization_slug",
  53. "in": "path",
  54. "description": "The slug of the organization the project belongs to.",
  55. "required": true,
  56. "schema": {
  57. "type": "string"
  58. }
  59. },
  60. {
  61. "name": "project_slug",
  62. "in": "path",
  63. "description": "The slug of the project to upload a file to.",
  64. "required": true,
  65. "schema": {
  66. "type": "string"
  67. }
  68. }
  69. ],
  70. "requestBody": {
  71. "content": {
  72. "multipart/form-data": {
  73. "schema": {
  74. "required": ["file"],
  75. "type": "object",
  76. "properties": {
  77. "file": {
  78. "type": "string",
  79. "format": "binary",
  80. "description": "The multipart encoded file."
  81. }
  82. }
  83. },
  84. "example": {
  85. "file": "debug.zip"
  86. }
  87. }
  88. },
  89. "required": true
  90. },
  91. "responses": {
  92. "201": {
  93. "description": "Success",
  94. "content": {
  95. "application/json": {}
  96. }
  97. },
  98. "400": {
  99. "description": "Bad Input"
  100. },
  101. "403": {
  102. "description": "Forbidden"
  103. },
  104. "404": {
  105. "description": "The requested resource does not exist"
  106. }
  107. },
  108. "security": [
  109. {
  110. "auth_token": ["project:write"]
  111. }
  112. ]
  113. },
  114. "delete": {
  115. "tags": ["Projects"],
  116. "description": "Delete a debug information file for a given project.",
  117. "operationId": "Delete a Specific Project's Debug Information File",
  118. "parameters": [
  119. {
  120. "name": "organization_slug",
  121. "in": "path",
  122. "description": "The slug of the organization the file belongs to.",
  123. "required": true,
  124. "schema": {
  125. "type": "string"
  126. }
  127. },
  128. {
  129. "name": "project_slug",
  130. "in": "path",
  131. "description": "The slug of the project to delete the DIF.",
  132. "required": true,
  133. "schema": {
  134. "type": "string"
  135. }
  136. },
  137. {
  138. "name": "id",
  139. "in": "query",
  140. "description": "The ID of the DIF to delete.",
  141. "required": true,
  142. "schema": {
  143. "type": "string"
  144. }
  145. }
  146. ],
  147. "responses": {
  148. "204": {
  149. "description": "Success"
  150. },
  151. "403": {
  152. "description": "Forbidden"
  153. },
  154. "404": {
  155. "description": "The requested resource does not exist"
  156. }
  157. },
  158. "security": [
  159. {
  160. "auth_token": ["project:admin"]
  161. }
  162. ]
  163. }
  164. }