123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467 |
- {
- "get": {
- "tags": ["Projects"],
- "description": "Return details on an individual project.",
- "operationId": "Retrieve a Project",
- "parameters": [
- {
- "name": "organization_slug",
- "in": "path",
- "description": "The slug of the organization the project belongs to.",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "project_slug",
- "in": "path",
- "description": "The slug of the project to retrieve.",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Success",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "../../components/schemas/project.json#/DetailedProject"
- },
- "example": {
- "allowedDomains": ["*"],
- "avatar": {
- "avatarType": "letter_avatar",
- "avatarUuid": null
- },
- "color": "#3fbf7f",
- "dataScrubber": true,
- "dataScrubberDefaults": true,
- "dateCreated": "2018-11-06T21:19:55.121Z",
- "defaultEnvironment": null,
- "digestsMaxDelay": 1800,
- "digestsMinDelay": 300,
- "features": [
- "releases",
- "sample-events",
- "minidump",
- "servicehooks",
- "rate-limits",
- "data-forwarding"
- ],
- "firstEvent": null,
- "hasAccess": true,
- "id": "2",
- "isBookmarked": false,
- "isInternal": false,
- "isMember": true,
- "isPublic": false,
- "latestRelease": {
- "authors": [],
- "commitCount": 0,
- "data": {},
- "dateCreated": "2018-11-06T21:20:08.033Z",
- "dateReleased": null,
- "deployCount": 0,
- "firstEvent": null,
- "lastCommit": null,
- "lastDeploy": null,
- "lastEvent": null,
- "newGroups": 0,
- "owner": null,
- "projects": [
- {
- "name": "Pump Station",
- "slug": "pump-station"
- }
- ],
- "ref": "6ba09a7c53235ee8a8fa5ee4c1ca8ca886e7fdbb",
- "shortVersion": "2.0rc2",
- "url": null,
- "version": "2.0rc2"
- },
- "name": "Pump Station",
- "options": {
- "feedback:branding": true,
- "filters:blacklisted_ips": "",
- "filters:error_messages": "",
- "filters:releases": "",
- "sentry:csp_ignored_sources": "",
- "sentry:csp_ignored_sources_defaults": true,
- "sentry:reprocessing_active": false
- },
- "organization": {
- "avatar": {
- "avatarType": "letter_avatar",
- "avatarUuid": null
- },
- "dateCreated": "2018-11-06T21:19:55.101Z",
- "id": "2",
- "isEarlyAdopter": false,
- "name": "The Interstellar Jurisdiction",
- "require2FA": false,
- "slug": "the-interstellar-jurisdiction",
- "status": {
- "id": "active",
- "name": "active"
- }
- },
- "platform": null,
- "platforms": [],
- "plugins": [
- {
- "assets": [],
- "author": {
- "name": "Sentry Team",
- "url": "https://github.com/getsentry/sentry"
- },
- "canDisable": true,
- "contexts": [],
- "description": "Integrates web hooks.",
- "doc": "",
- "enabled": false,
- "hasConfiguration": true,
- "id": "webhooks",
- "isTestable": true,
- "metadata": {},
- "name": "WebHooks",
- "resourceLinks": [
- {
- "title": "Bug Tracker",
- "url": "https://github.com/getsentry/sentry/issues"
- },
- {
- "title": "Source",
- "url": "https://github.com/getsentry/sentry"
- }
- ],
- "shortName": "WebHooks",
- "slug": "webhooks",
- "status": "unknown",
- "type": "notification",
- "version": "9.1.0.dev0"
- }
- ],
- "processingIssues": 0,
- "relayPiiConfig": null,
- "resolveAge": 0,
- "safeFields": [],
- "scrapeJavaScript": true,
- "scrubIPAddresses": false,
- "securityToken": "c3072787e20911e8a37988e9fe5cab71",
- "securityTokenHeader": null,
- "sensitiveFields": [],
- "slug": "pump-station",
- "status": "active",
- "storeCrashReports": false,
- "subjectPrefix": "[Sentry]",
- "subjectTemplate": "$shortID - $title",
- "team": {
- "id": "2",
- "name": "Powerful Abolitionist",
- "slug": "powerful-abolitionist"
- },
- "teams": [
- {
- "id": "2",
- "name": "Powerful Abolitionist",
- "slug": "powerful-abolitionist"
- }
- ],
- "verifySSL": false
- }
- }
- }
- },
- "403": {
- "description": "Forbidden"
- },
- "404": {
- "description": "Project not found"
- }
- },
- "security": [
- {
- "auth_token": ["project:read"]
- }
- ]
- },
- "put": {
- "tags": ["Projects"],
- "description": "Update various attributes and configurable settings for the given project. Only supplied values are updated.",
- "operationId": "Update a Project",
- "parameters": [
- {
- "name": "organization_slug",
- "in": "path",
- "description": "The slug of the organization the project belongs to.",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "project_slug",
- "in": "path",
- "description": "The slug of the project to update.",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The new name for the project."
- },
- "slug": {
- "type": "string",
- "description": "The new slug for the project."
- },
- "platform": {
- "type": "string",
- "description": "The new platform for the project."
- },
- "isBookmarked": {
- "type": "boolean",
- "description": "In case this API call is invoked with a user context this allows changing of the bookmark flag."
- },
- "digestsMinDelay": {
- "type": "integer",
- "description": ""
- },
- "digestsMaxDelay": {
- "type": "integer",
- "description": ""
- }
- }
- },
- "example": {
- "name": "Plane Proxy",
- "platform": "javascript",
- "slug": "plane-proxy"
- }
- }
- },
- "required": false
- },
- "responses": {
- "200": {
- "description": "Success",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "../../components/schemas/project.json#/DetailedProject"
- },
- "example": {
- "allowedDomains": ["http://example.com", "http://example.invalid"],
- "avatar": {
- "avatarType": "letter_avatar",
- "avatarUuid": null
- },
- "color": "#bf803f",
- "dataScrubber": true,
- "dataScrubberDefaults": true,
- "dateCreated": "2018-11-06T21:20:19.624Z",
- "defaultEnvironment": null,
- "digestsMaxDelay": 1800,
- "digestsMinDelay": 300,
- "features": [
- "releases",
- "sample-events",
- "minidump",
- "servicehooks",
- "rate-limits",
- "data-forwarding"
- ],
- "firstEvent": null,
- "hasAccess": true,
- "id": "5",
- "isBookmarked": false,
- "isInternal": false,
- "isMember": true,
- "isPublic": false,
- "latestRelease": {
- "authors": [],
- "commitCount": 0,
- "data": {},
- "dateCreated": "2018-11-06T21:20:19.645Z",
- "dateReleased": null,
- "deployCount": 0,
- "firstEvent": "2018-11-06T21:20:19.718Z",
- "lastCommit": null,
- "lastDeploy": null,
- "lastEvent": "2018-11-06T21:20:19.718Z",
- "newGroups": 0,
- "owner": null,
- "projects": [
- {
- "name": "Plane Proxy",
- "slug": "plane-proxy"
- }
- ],
- "ref": null,
- "shortVersion": "21c04bd",
- "url": null,
- "version": "21c04bd8fa23cfd85f5f5867f18efd2cf13247bc"
- },
- "name": "Plane Proxy",
- "options": {
- "feedback:branding": true,
- "filters:blacklisted_ips": "",
- "filters:error_messages": "",
- "filters:releases": "",
- "sentry:csp_ignored_sources": "",
- "sentry:csp_ignored_sources_defaults": true,
- "sentry:reprocessing_active": false
- },
- "organization": {
- "avatar": {
- "avatarType": "letter_avatar",
- "avatarUuid": null
- },
- "dateCreated": "2018-11-06T21:19:55.101Z",
- "id": "2",
- "isEarlyAdopter": false,
- "name": "The Interstellar Jurisdiction",
- "require2FA": false,
- "slug": "the-interstellar-jurisdiction",
- "status": {
- "id": "active",
- "name": "active"
- }
- },
- "platform": "javascript",
- "platforms": [],
- "plugins": [
- {
- "assets": [],
- "author": {
- "name": "Sentry Team",
- "url": "https://github.com/getsentry/sentry"
- },
- "canDisable": true,
- "contexts": [],
- "description": "Integrates web hooks.",
- "doc": "",
- "enabled": false,
- "hasConfiguration": true,
- "id": "webhooks",
- "isTestable": true,
- "metadata": {},
- "name": "WebHooks",
- "resourceLinks": [
- {
- "title": "Bug Tracker",
- "url": "https://github.com/getsentry/sentry/issues"
- },
- {
- "title": "Source",
- "url": "https://github.com/getsentry/sentry"
- }
- ],
- "shortName": "WebHooks",
- "slug": "webhooks",
- "status": "unknown",
- "type": "notification",
- "version": "9.1.0.dev0"
- }
- ],
- "processingIssues": 0,
- "relayPiiConfig": null,
- "resolveAge": 0,
- "safeFields": [],
- "scrapeJavaScript": true,
- "scrubIPAddresses": false,
- "securityToken": "c55a4bdce20911e88eed88e9fe5cab71",
- "securityTokenHeader": null,
- "sensitiveFields": [],
- "slug": "plane-proxy",
- "status": "active",
- "storeCrashReports": false,
- "subjectPrefix": "[Sentry]",
- "subjectTemplate": "$shortID - $title",
- "team": {
- "id": "2",
- "name": "Powerful Abolitionist",
- "slug": "powerful-abolitionist"
- },
- "teams": [
- {
- "id": "2",
- "name": "Powerful Abolitionist",
- "slug": "powerful-abolitionist"
- }
- ],
- "verifySSL": false
- }
- }
- }
- },
- "400": {
- "description": "Bad Input"
- },
- "403": {
- "description": "Forbidden"
- },
- "404": {
- "description": "Project not found"
- }
- },
- "security": [
- {
- "auth_token": ["project:write"]
- }
- ]
- },
- "delete": {
- "tags": ["Projects"],
- "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.",
- "operationId": "Delete a Project",
- "parameters": [
- {
- "name": "organization_slug",
- "in": "path",
- "description": "The slug of the organization the project belongs to.",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "project_slug",
- "in": "path",
- "description": "The slug of the project to delete.",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "204": {
- "description": "Success"
- },
- "403": {
- "description": "Forbidden"
- },
- "404": {
- "description": "Project not found"
- }
- },
- "security": [
- {
- "auth_token": ["project:admin"]
- }
- ]
- }
- }
|