index.json 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. {
  2. "get": {
  3. "tags": ["Projects"],
  4. "description": "Return a list of projects available to the authenticated session.",
  5. "operationId": "List Your Projects",
  6. "parameters": [
  7. {
  8. "$ref": "../../components/parameters/pagination-cursor.json#/PaginationCursor"
  9. }
  10. ],
  11. "responses": {
  12. "200": {
  13. "description": "Success",
  14. "content": {
  15. "application/json": {
  16. "schema": {
  17. "type": "array",
  18. "items": {
  19. "required": [
  20. "avatar",
  21. "color",
  22. "dateCreated",
  23. "features",
  24. "firstEvent",
  25. "hasAccess",
  26. "id",
  27. "isBookmarked",
  28. "isInternal",
  29. "isMember",
  30. "isPublic",
  31. "name",
  32. "organization",
  33. "platform",
  34. "slug",
  35. "status"
  36. ],
  37. "properties": {
  38. "avatar": {
  39. "$ref": "../../components/schemas/avatar.json#/Avatar"
  40. },
  41. "color": {
  42. "type": "string"
  43. },
  44. "dateCreated": {
  45. "type": "string",
  46. "format": "date-time"
  47. },
  48. "features": {
  49. "type": "array",
  50. "items": {
  51. "type": "string"
  52. }
  53. },
  54. "firstEvent": {
  55. "type": "string",
  56. "nullable": true
  57. },
  58. "hasAccess": {
  59. "type": "boolean"
  60. },
  61. "id": {
  62. "type": "string"
  63. },
  64. "isBookmarked": {
  65. "type": "boolean"
  66. },
  67. "isInternal": {
  68. "type": "boolean"
  69. },
  70. "isMember": {
  71. "type": "boolean"
  72. },
  73. "isPublic": {
  74. "type": "boolean"
  75. },
  76. "name": {
  77. "type": "string"
  78. },
  79. "organization": {
  80. "$ref": "../../components/schemas/organization.json#/Organization"
  81. },
  82. "platform": {
  83. "type": "string",
  84. "nullable": true
  85. },
  86. "slug": {
  87. "type": "string"
  88. },
  89. "status": {
  90. "type": "string",
  91. "enum": [
  92. "active",
  93. "disabled",
  94. "pending_deletion",
  95. "deletion_in_progress"
  96. ]
  97. }
  98. }
  99. }
  100. },
  101. "example": [
  102. {
  103. "avatar": {
  104. "avatarType": "letter_avatar",
  105. "avatarUuid": null
  106. },
  107. "color": "#bf6e3f",
  108. "dateCreated": "2018-11-06T21:20:08.064Z",
  109. "features": [
  110. "servicehooks",
  111. "sample-events",
  112. "data-forwarding",
  113. "rate-limits",
  114. "minidump"
  115. ],
  116. "firstEvent": null,
  117. "hasAccess": true,
  118. "id": "4",
  119. "isBookmarked": false,
  120. "isInternal": false,
  121. "isMember": true,
  122. "isPublic": false,
  123. "name": "The Spoiled Yoghurt",
  124. "organization": {
  125. "avatar": {
  126. "avatarType": "letter_avatar",
  127. "avatarUuid": null
  128. },
  129. "dateCreated": "2018-11-06T21:19:55.101Z",
  130. "id": "2",
  131. "isEarlyAdopter": false,
  132. "name": "The Interstellar Jurisdiction",
  133. "require2FA": false,
  134. "slug": "the-interstellar-jurisdiction",
  135. "status": {
  136. "id": "active",
  137. "name": "active"
  138. }
  139. },
  140. "platform": null,
  141. "slug": "the-spoiled-yoghurt",
  142. "status": "active"
  143. },
  144. {
  145. "avatar": {
  146. "avatarType": "letter_avatar",
  147. "avatarUuid": null
  148. },
  149. "color": "#bf5b3f",
  150. "dateCreated": "2018-11-06T21:19:58.536Z",
  151. "features": [
  152. "releases",
  153. "sample-events",
  154. "minidump",
  155. "servicehooks",
  156. "rate-limits",
  157. "data-forwarding"
  158. ],
  159. "firstEvent": null,
  160. "hasAccess": true,
  161. "id": "3",
  162. "isBookmarked": false,
  163. "isInternal": false,
  164. "isMember": true,
  165. "isPublic": false,
  166. "name": "Prime Mover",
  167. "organization": {
  168. "avatar": {
  169. "avatarType": "letter_avatar",
  170. "avatarUuid": null
  171. },
  172. "dateCreated": "2018-11-06T21:19:55.101Z",
  173. "id": "2",
  174. "isEarlyAdopter": false,
  175. "name": "The Interstellar Jurisdiction",
  176. "require2FA": false,
  177. "slug": "the-interstellar-jurisdiction",
  178. "status": {
  179. "id": "active",
  180. "name": "active"
  181. }
  182. },
  183. "platform": null,
  184. "slug": "prime-mover",
  185. "status": "active"
  186. },
  187. {
  188. "avatar": {
  189. "avatarType": "letter_avatar",
  190. "avatarUuid": null
  191. },
  192. "color": "#3fbf7f",
  193. "dateCreated": "2018-11-06T21:19:55.121Z",
  194. "features": [
  195. "releases",
  196. "sample-events",
  197. "minidump",
  198. "servicehooks",
  199. "rate-limits",
  200. "data-forwarding"
  201. ],
  202. "firstEvent": null,
  203. "hasAccess": true,
  204. "id": "2",
  205. "isBookmarked": false,
  206. "isInternal": false,
  207. "isMember": true,
  208. "isPublic": false,
  209. "name": "Pump Station",
  210. "organization": {
  211. "avatar": {
  212. "avatarType": "letter_avatar",
  213. "avatarUuid": null
  214. },
  215. "dateCreated": "2018-11-06T21:19:55.101Z",
  216. "id": "2",
  217. "isEarlyAdopter": false,
  218. "name": "The Interstellar Jurisdiction",
  219. "require2FA": false,
  220. "slug": "the-interstellar-jurisdiction",
  221. "status": {
  222. "id": "active",
  223. "name": "active"
  224. }
  225. },
  226. "platform": null,
  227. "slug": "pump-station",
  228. "status": "active"
  229. }
  230. ]
  231. }
  232. }
  233. },
  234. "403": {
  235. "description": "Forbidden"
  236. }
  237. },
  238. "security": [
  239. {
  240. "auth_token": ["project:read"]
  241. }
  242. ]
  243. }
  244. }