dsyms.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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_id_or_slug",
  9. "in": "path",
  10. "description": "The ID or slug of the organization the file belongs to.",
  11. "required": true,
  12. "schema": {
  13. "type": "string"
  14. }
  15. },
  16. {
  17. "name": "project_id_or_slug",
  18. "in": "path",
  19. "description": "The ID or 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\nRequests to this endpoint should use the region-specific domain eg. `us.sentry.io` or `de.sentry.io`.\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_id_or_slug",
  53. "in": "path",
  54. "description": "The ID or slug of the organization the project belongs to.",
  55. "required": true,
  56. "schema": {
  57. "type": "string"
  58. }
  59. },
  60. {
  61. "name": "project_id_or_slug",
  62. "in": "path",
  63. "description": "The ID or 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. "servers": [
  114. {"url": "https://{region}.sentry.io"}
  115. ]
  116. },
  117. "delete": {
  118. "tags": ["Projects"],
  119. "description": "Delete a debug information file for a given project.",
  120. "operationId": "Delete a Specific Project's Debug Information File",
  121. "parameters": [
  122. {
  123. "name": "organization_id_or_slug",
  124. "in": "path",
  125. "description": "The ID or slug of the organization the file belongs to.",
  126. "required": true,
  127. "schema": {
  128. "type": "string"
  129. }
  130. },
  131. {
  132. "name": "project_id_or_slug",
  133. "in": "path",
  134. "description": "The ID or slug of the project to delete the DIF.",
  135. "required": true,
  136. "schema": {
  137. "type": "string"
  138. }
  139. },
  140. {
  141. "name": "id",
  142. "in": "query",
  143. "description": "The ID of the DIF to delete.",
  144. "required": true,
  145. "schema": {
  146. "type": "string"
  147. }
  148. }
  149. ],
  150. "responses": {
  151. "204": {
  152. "description": "Success"
  153. },
  154. "403": {
  155. "description": "Forbidden"
  156. },
  157. "404": {
  158. "description": "The requested resource does not exist"
  159. }
  160. },
  161. "security": [
  162. {
  163. "auth_token": ["project:write"]
  164. }
  165. ]
  166. }
  167. }