details.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475
  1. {
  2. "get": {
  3. "tags": ["Projects"],
  4. "description": "Return details on an individual project.",
  5. "operationId": "Retrieve a Project",
  6. "parameters": [
  7. {
  8. "name": "organization_slug",
  9. "in": "path",
  10. "description": "The slug of the organization the project 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 retrieve.",
  20. "required": true,
  21. "schema": {
  22. "type": "string"
  23. }
  24. }
  25. ],
  26. "responses": {
  27. "200": {
  28. "description": "Success",
  29. "content": {
  30. "application/json": {
  31. "schema": {
  32. "$ref": "../../components/schemas/project.json#/DetailedProject"
  33. },
  34. "example": {
  35. "allowedDomains": ["*"],
  36. "avatar": {
  37. "avatarType": "letter_avatar",
  38. "avatarUuid": null
  39. },
  40. "color": "#3fbf7f",
  41. "dataScrubber": true,
  42. "dataScrubberDefaults": true,
  43. "dateCreated": "2018-11-06T21:19:55.121Z",
  44. "defaultEnvironment": null,
  45. "digestsMaxDelay": 1800,
  46. "digestsMinDelay": 300,
  47. "features": [
  48. "releases",
  49. "sample-events",
  50. "minidump",
  51. "servicehooks",
  52. "rate-limits",
  53. "data-forwarding"
  54. ],
  55. "firstEvent": null,
  56. "hasAccess": true,
  57. "id": "2",
  58. "isBookmarked": false,
  59. "isInternal": false,
  60. "isMember": true,
  61. "isPublic": false,
  62. "latestRelease": {
  63. "authors": [],
  64. "commitCount": 0,
  65. "data": {},
  66. "dateCreated": "2018-11-06T21:20:08.033Z",
  67. "dateReleased": null,
  68. "deployCount": 0,
  69. "firstEvent": null,
  70. "lastCommit": null,
  71. "lastDeploy": null,
  72. "lastEvent": null,
  73. "newGroups": 0,
  74. "owner": null,
  75. "projects": [
  76. {
  77. "name": "Pump Station",
  78. "slug": "pump-station"
  79. }
  80. ],
  81. "ref": "6ba09a7c53235ee8a8fa5ee4c1ca8ca886e7fdbb",
  82. "shortVersion": "2.0rc2",
  83. "url": null,
  84. "version": "2.0rc2"
  85. },
  86. "name": "Pump Station",
  87. "options": {
  88. "feedback:branding": true,
  89. "filters:blacklisted_ips": "",
  90. "filters:error_messages": "",
  91. "filters:releases": "",
  92. "sentry:csp_ignored_sources": "",
  93. "sentry:csp_ignored_sources_defaults": true,
  94. "sentry:reprocessing_active": false
  95. },
  96. "organization": {
  97. "avatar": {
  98. "avatarType": "letter_avatar",
  99. "avatarUuid": null
  100. },
  101. "dateCreated": "2018-11-06T21:19:55.101Z",
  102. "id": "2",
  103. "isEarlyAdopter": false,
  104. "name": "The Interstellar Jurisdiction",
  105. "require2FA": false,
  106. "slug": "the-interstellar-jurisdiction",
  107. "status": {
  108. "id": "active",
  109. "name": "active"
  110. }
  111. },
  112. "platform": null,
  113. "platforms": [],
  114. "plugins": [
  115. {
  116. "assets": [],
  117. "author": {
  118. "name": "Sentry Team",
  119. "url": "https://github.com/getsentry/sentry"
  120. },
  121. "canDisable": true,
  122. "contexts": [],
  123. "description": "Integrates web hooks.",
  124. "doc": "",
  125. "enabled": false,
  126. "hasConfiguration": true,
  127. "id": "webhooks",
  128. "isTestable": true,
  129. "metadata": {},
  130. "name": "WebHooks",
  131. "resourceLinks": [
  132. {
  133. "title": "Bug Tracker",
  134. "url": "https://github.com/getsentry/sentry/issues"
  135. },
  136. {
  137. "title": "Source",
  138. "url": "https://github.com/getsentry/sentry"
  139. }
  140. ],
  141. "shortName": "WebHooks",
  142. "slug": "webhooks",
  143. "status": "unknown",
  144. "type": "notification",
  145. "version": "9.1.0.dev0"
  146. }
  147. ],
  148. "processingIssues": 0,
  149. "relayPiiConfig": null,
  150. "resolveAge": 0,
  151. "safeFields": [],
  152. "scrapeJavaScript": true,
  153. "scrubIPAddresses": false,
  154. "securityToken": "c3072787e20911e8a37988e9fe5cab71",
  155. "securityTokenHeader": null,
  156. "sensitiveFields": [],
  157. "slug": "pump-station",
  158. "status": "active",
  159. "storeCrashReports": false,
  160. "subjectPrefix": "[Sentry] ",
  161. "subjectTemplate": "$shortID - $title",
  162. "team": {
  163. "id": "2",
  164. "name": "Powerful Abolitionist",
  165. "slug": "powerful-abolitionist"
  166. },
  167. "teams": [
  168. {
  169. "id": "2",
  170. "name": "Powerful Abolitionist",
  171. "slug": "powerful-abolitionist"
  172. }
  173. ],
  174. "verifySSL": false
  175. }
  176. }
  177. }
  178. },
  179. "403": {
  180. "description": "Forbidden"
  181. },
  182. "404": {
  183. "description": "Project not found"
  184. }
  185. },
  186. "security": [
  187. {
  188. "auth_token": ["project:read"]
  189. }
  190. ]
  191. },
  192. "put": {
  193. "tags": ["Projects"],
  194. "description": "Update various attributes and configurable settings for the given project. Only supplied values are updated.",
  195. "operationId": "Update a Project",
  196. "parameters": [
  197. {
  198. "name": "organization_slug",
  199. "in": "path",
  200. "description": "The slug of the organization the project belongs to.",
  201. "required": true,
  202. "schema": {
  203. "type": "string"
  204. }
  205. },
  206. {
  207. "name": "project_slug",
  208. "in": "path",
  209. "description": "The slug of the project to update.",
  210. "required": true,
  211. "schema": {
  212. "type": "string"
  213. }
  214. }
  215. ],
  216. "requestBody": {
  217. "content": {
  218. "application/json": {
  219. "schema": {
  220. "type": "object",
  221. "properties": {
  222. "name": {
  223. "type": "string",
  224. "description": "The new name for the project."
  225. },
  226. "slug": {
  227. "type": "string",
  228. "description": "The new slug for the project."
  229. },
  230. "team": {
  231. "type": "string",
  232. "description": "The slug of new team for the project. Note, will be deprecated soon when multiple teams can have access to a project."
  233. },
  234. "platform": {
  235. "type": "string",
  236. "description": "The new platform for the project."
  237. },
  238. "isBookmarked": {
  239. "type": "boolean",
  240. "description": "In case this API call is invoked with a user context this allows changing of the bookmark flag."
  241. },
  242. "digestsMinDelay": {
  243. "type": "integer",
  244. "description": ""
  245. },
  246. "digestsMaxDelay": {
  247. "type": "integer",
  248. "description": ""
  249. }
  250. }
  251. },
  252. "example": {
  253. "name": "Plane Proxy",
  254. "platform": "javascript",
  255. "slug": "plane-proxy",
  256. "team": "the-inflated-philosophers"
  257. }
  258. }
  259. },
  260. "required": false
  261. },
  262. "responses": {
  263. "200": {
  264. "description": "Success",
  265. "content": {
  266. "application/json": {
  267. "schema": {
  268. "$ref": "../../components/schemas/project.json#/DetailedProject"
  269. },
  270. "example": {
  271. "allowedDomains": [
  272. "http://example.com",
  273. "http://example.invalid"
  274. ],
  275. "avatar": {
  276. "avatarType": "letter_avatar",
  277. "avatarUuid": null
  278. },
  279. "color": "#bf803f",
  280. "dataScrubber": true,
  281. "dataScrubberDefaults": true,
  282. "dateCreated": "2018-11-06T21:20:19.624Z",
  283. "defaultEnvironment": null,
  284. "digestsMaxDelay": 1800,
  285. "digestsMinDelay": 300,
  286. "features": [
  287. "releases",
  288. "sample-events",
  289. "minidump",
  290. "servicehooks",
  291. "rate-limits",
  292. "data-forwarding"
  293. ],
  294. "firstEvent": null,
  295. "hasAccess": true,
  296. "id": "5",
  297. "isBookmarked": false,
  298. "isInternal": false,
  299. "isMember": true,
  300. "isPublic": false,
  301. "latestRelease": {
  302. "authors": [],
  303. "commitCount": 0,
  304. "data": {},
  305. "dateCreated": "2018-11-06T21:20:19.645Z",
  306. "dateReleased": null,
  307. "deployCount": 0,
  308. "firstEvent": "2018-11-06T21:20:19.718Z",
  309. "lastCommit": null,
  310. "lastDeploy": null,
  311. "lastEvent": "2018-11-06T21:20:19.718Z",
  312. "newGroups": 0,
  313. "owner": null,
  314. "projects": [
  315. {
  316. "name": "Plane Proxy",
  317. "slug": "plane-proxy"
  318. }
  319. ],
  320. "ref": null,
  321. "shortVersion": "21c04bd",
  322. "url": null,
  323. "version": "21c04bd8fa23cfd85f5f5867f18efd2cf13247bc"
  324. },
  325. "name": "Plane Proxy",
  326. "options": {
  327. "feedback:branding": true,
  328. "filters:blacklisted_ips": "",
  329. "filters:error_messages": "",
  330. "filters:releases": "",
  331. "sentry:csp_ignored_sources": "",
  332. "sentry:csp_ignored_sources_defaults": true,
  333. "sentry:reprocessing_active": false
  334. },
  335. "organization": {
  336. "avatar": {
  337. "avatarType": "letter_avatar",
  338. "avatarUuid": null
  339. },
  340. "dateCreated": "2018-11-06T21:19:55.101Z",
  341. "id": "2",
  342. "isEarlyAdopter": false,
  343. "name": "The Interstellar Jurisdiction",
  344. "require2FA": false,
  345. "slug": "the-interstellar-jurisdiction",
  346. "status": {
  347. "id": "active",
  348. "name": "active"
  349. }
  350. },
  351. "platform": "javascript",
  352. "platforms": [],
  353. "plugins": [
  354. {
  355. "assets": [],
  356. "author": {
  357. "name": "Sentry Team",
  358. "url": "https://github.com/getsentry/sentry"
  359. },
  360. "canDisable": true,
  361. "contexts": [],
  362. "description": "Integrates web hooks.",
  363. "doc": "",
  364. "enabled": false,
  365. "hasConfiguration": true,
  366. "id": "webhooks",
  367. "isTestable": true,
  368. "metadata": {},
  369. "name": "WebHooks",
  370. "resourceLinks": [
  371. {
  372. "title": "Bug Tracker",
  373. "url": "https://github.com/getsentry/sentry/issues"
  374. },
  375. {
  376. "title": "Source",
  377. "url": "https://github.com/getsentry/sentry"
  378. }
  379. ],
  380. "shortName": "WebHooks",
  381. "slug": "webhooks",
  382. "status": "unknown",
  383. "type": "notification",
  384. "version": "9.1.0.dev0"
  385. }
  386. ],
  387. "processingIssues": 0,
  388. "relayPiiConfig": null,
  389. "resolveAge": 0,
  390. "safeFields": [],
  391. "scrapeJavaScript": true,
  392. "scrubIPAddresses": false,
  393. "securityToken": "c55a4bdce20911e88eed88e9fe5cab71",
  394. "securityTokenHeader": null,
  395. "sensitiveFields": [],
  396. "slug": "plane-proxy",
  397. "status": "active",
  398. "storeCrashReports": false,
  399. "subjectPrefix": "[Sentry] ",
  400. "subjectTemplate": "$shortID - $title",
  401. "team": {
  402. "id": "2",
  403. "name": "Powerful Abolitionist",
  404. "slug": "powerful-abolitionist"
  405. },
  406. "teams": [
  407. {
  408. "id": "2",
  409. "name": "Powerful Abolitionist",
  410. "slug": "powerful-abolitionist"
  411. }
  412. ],
  413. "verifySSL": false
  414. }
  415. }
  416. }
  417. },
  418. "400": {
  419. "description": "Bad Input"
  420. },
  421. "403": {
  422. "description": "Forbidden"
  423. },
  424. "404": {
  425. "description": "Project not found"
  426. }
  427. },
  428. "security": [
  429. {
  430. "auth_token": ["project:write"]
  431. }
  432. ]
  433. },
  434. "delete": {
  435. "tags": ["Projects"],
  436. "description": "Schedules a project for deletion.\n\nDeletion happens asynchronously and therefore is not immediate.\nHowever once deletion has begun the state of a project changes and\nwill be hidden from most public views.",
  437. "operationId": "Delete a Project",
  438. "parameters": [
  439. {
  440. "name": "organization_slug",
  441. "in": "path",
  442. "description": "The slug of the organization the project belongs to.",
  443. "required": true,
  444. "schema": {
  445. "type": "string"
  446. }
  447. },
  448. {
  449. "name": "project_slug",
  450. "in": "path",
  451. "description": "The slug of the project to delete.",
  452. "required": true,
  453. "schema": {
  454. "type": "string"
  455. }
  456. }
  457. ],
  458. "responses": {
  459. "204": {
  460. "description": "Success"
  461. },
  462. "403": {
  463. "description": "Forbidden"
  464. },
  465. "404": {
  466. "description": "Project not found"
  467. }
  468. },
  469. "security": [
  470. {
  471. "auth_token": ["project:admin"]
  472. }
  473. ]
  474. }
  475. }