details.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467
  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. "platform": {
  231. "type": "string",
  232. "description": "The new platform for the project."
  233. },
  234. "isBookmarked": {
  235. "type": "boolean",
  236. "description": "In case this API call is invoked with a user context this allows changing of the bookmark flag."
  237. },
  238. "digestsMinDelay": {
  239. "type": "integer",
  240. "description": ""
  241. },
  242. "digestsMaxDelay": {
  243. "type": "integer",
  244. "description": ""
  245. }
  246. }
  247. },
  248. "example": {
  249. "name": "Plane Proxy",
  250. "platform": "javascript",
  251. "slug": "plane-proxy"
  252. }
  253. }
  254. },
  255. "required": false
  256. },
  257. "responses": {
  258. "200": {
  259. "description": "Success",
  260. "content": {
  261. "application/json": {
  262. "schema": {
  263. "$ref": "../../components/schemas/project.json#/DetailedProject"
  264. },
  265. "example": {
  266. "allowedDomains": ["http://example.com", "http://example.invalid"],
  267. "avatar": {
  268. "avatarType": "letter_avatar",
  269. "avatarUuid": null
  270. },
  271. "color": "#bf803f",
  272. "dataScrubber": true,
  273. "dataScrubberDefaults": true,
  274. "dateCreated": "2018-11-06T21:20:19.624Z",
  275. "defaultEnvironment": null,
  276. "digestsMaxDelay": 1800,
  277. "digestsMinDelay": 300,
  278. "features": [
  279. "releases",
  280. "sample-events",
  281. "minidump",
  282. "servicehooks",
  283. "rate-limits",
  284. "data-forwarding"
  285. ],
  286. "firstEvent": null,
  287. "hasAccess": true,
  288. "id": "5",
  289. "isBookmarked": false,
  290. "isInternal": false,
  291. "isMember": true,
  292. "isPublic": false,
  293. "latestRelease": {
  294. "authors": [],
  295. "commitCount": 0,
  296. "data": {},
  297. "dateCreated": "2018-11-06T21:20:19.645Z",
  298. "dateReleased": null,
  299. "deployCount": 0,
  300. "firstEvent": "2018-11-06T21:20:19.718Z",
  301. "lastCommit": null,
  302. "lastDeploy": null,
  303. "lastEvent": "2018-11-06T21:20:19.718Z",
  304. "newGroups": 0,
  305. "owner": null,
  306. "projects": [
  307. {
  308. "name": "Plane Proxy",
  309. "slug": "plane-proxy"
  310. }
  311. ],
  312. "ref": null,
  313. "shortVersion": "21c04bd",
  314. "url": null,
  315. "version": "21c04bd8fa23cfd85f5f5867f18efd2cf13247bc"
  316. },
  317. "name": "Plane Proxy",
  318. "options": {
  319. "feedback:branding": true,
  320. "filters:blacklisted_ips": "",
  321. "filters:error_messages": "",
  322. "filters:releases": "",
  323. "sentry:csp_ignored_sources": "",
  324. "sentry:csp_ignored_sources_defaults": true,
  325. "sentry:reprocessing_active": false
  326. },
  327. "organization": {
  328. "avatar": {
  329. "avatarType": "letter_avatar",
  330. "avatarUuid": null
  331. },
  332. "dateCreated": "2018-11-06T21:19:55.101Z",
  333. "id": "2",
  334. "isEarlyAdopter": false,
  335. "name": "The Interstellar Jurisdiction",
  336. "require2FA": false,
  337. "slug": "the-interstellar-jurisdiction",
  338. "status": {
  339. "id": "active",
  340. "name": "active"
  341. }
  342. },
  343. "platform": "javascript",
  344. "platforms": [],
  345. "plugins": [
  346. {
  347. "assets": [],
  348. "author": {
  349. "name": "Sentry Team",
  350. "url": "https://github.com/getsentry/sentry"
  351. },
  352. "canDisable": true,
  353. "contexts": [],
  354. "description": "Integrates web hooks.",
  355. "doc": "",
  356. "enabled": false,
  357. "hasConfiguration": true,
  358. "id": "webhooks",
  359. "isTestable": true,
  360. "metadata": {},
  361. "name": "WebHooks",
  362. "resourceLinks": [
  363. {
  364. "title": "Bug Tracker",
  365. "url": "https://github.com/getsentry/sentry/issues"
  366. },
  367. {
  368. "title": "Source",
  369. "url": "https://github.com/getsentry/sentry"
  370. }
  371. ],
  372. "shortName": "WebHooks",
  373. "slug": "webhooks",
  374. "status": "unknown",
  375. "type": "notification",
  376. "version": "9.1.0.dev0"
  377. }
  378. ],
  379. "processingIssues": 0,
  380. "relayPiiConfig": null,
  381. "resolveAge": 0,
  382. "safeFields": [],
  383. "scrapeJavaScript": true,
  384. "scrubIPAddresses": false,
  385. "securityToken": "c55a4bdce20911e88eed88e9fe5cab71",
  386. "securityTokenHeader": null,
  387. "sensitiveFields": [],
  388. "slug": "plane-proxy",
  389. "status": "active",
  390. "storeCrashReports": false,
  391. "subjectPrefix": "[Sentry]",
  392. "subjectTemplate": "$shortID - $title",
  393. "team": {
  394. "id": "2",
  395. "name": "Powerful Abolitionist",
  396. "slug": "powerful-abolitionist"
  397. },
  398. "teams": [
  399. {
  400. "id": "2",
  401. "name": "Powerful Abolitionist",
  402. "slug": "powerful-abolitionist"
  403. }
  404. ],
  405. "verifySSL": false
  406. }
  407. }
  408. }
  409. },
  410. "400": {
  411. "description": "Bad Input"
  412. },
  413. "403": {
  414. "description": "Forbidden"
  415. },
  416. "404": {
  417. "description": "Project not found"
  418. }
  419. },
  420. "security": [
  421. {
  422. "auth_token": ["project:write"]
  423. }
  424. ]
  425. },
  426. "delete": {
  427. "tags": ["Projects"],
  428. "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.",
  429. "operationId": "Delete a Project",
  430. "parameters": [
  431. {
  432. "name": "organization_slug",
  433. "in": "path",
  434. "description": "The slug of the organization the project belongs to.",
  435. "required": true,
  436. "schema": {
  437. "type": "string"
  438. }
  439. },
  440. {
  441. "name": "project_slug",
  442. "in": "path",
  443. "description": "The slug of the project to delete.",
  444. "required": true,
  445. "schema": {
  446. "type": "string"
  447. }
  448. }
  449. ],
  450. "responses": {
  451. "204": {
  452. "description": "Success"
  453. },
  454. "403": {
  455. "description": "Forbidden"
  456. },
  457. "404": {
  458. "description": "Project not found"
  459. }
  460. },
  461. "security": [
  462. {
  463. "auth_token": ["project:admin"]
  464. }
  465. ]
  466. }
  467. }