123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273 |
- {
- "get": {
- "tags": ["Organizations"],
- "description": "This resolves a short ID to the project slug and internal issue ID.",
- "operationId": "Resolve a Short ID",
- "parameters": [
- {
- "name": "organization_id_or_slug",
- "in": "path",
- "description": "The ID or slug of the organization the short ID should be looked up in.",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "short_id",
- "in": "path",
- "description": "The short ID to look up.",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Success",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "required": [
- "organizationSlug",
- "projectSlug",
- "shortId",
- "group",
- "groupId"
- ],
- "properties": {
- "organizationSlug": {
- "type": "string"
- },
- "projectSlug": {
- "type": "string"
- },
- "shortId": {
- "type": "string"
- },
- "group": {
- "type": "object",
- "required": [
- "lastSeen",
- "numComments",
- "userCount",
- "culprit",
- "title",
- "id",
- "assignedTo",
- "logger",
- "type",
- "annotations",
- "metadata",
- "status",
- "subscriptionDetails",
- "isPublic",
- "hasSeen",
- "shortId",
- "shareId",
- "firstSeen",
- "count",
- "permalink",
- "level",
- "isSubscribed",
- "isBookmarked",
- "project",
- "statusDetails"
- ],
- "properties": {
- "lastSeen": {
- "type": "string"
- },
- "numComments": {
- "type": "integer"
- },
- "userCount": {
- "type": "integer"
- },
- "culprit": {
- "type": "string",
- "nullable": true
- },
- "title": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "assignedTo": {
- "type": "object",
- "nullable": true,
- "properties": {
- "type": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- }
- },
- "logger": {
- "type": "string",
- "nullable": true
- },
- "type": {
- "type": "string"
- },
- "annotations": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "metadata": {
- "type": "object",
- "properties": {
- "function": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "filename": {
- "type": "string"
- }
- }
- },
- "status": {
- "type": "string",
- "enum": ["resolved", "unresolved", "ignored"]
- },
- "subscriptionDetails": {
- "type": "object",
- "nullable": true,
- "properties": {
- "reason": {
- "type": "string"
- }
- }
- },
- "isPublic": {
- "type": "boolean"
- },
- "hasSeen": {
- "type": "boolean"
- },
- "shortId": {
- "type": "string"
- },
- "shareId": {
- "type": "string",
- "nullable": true
- },
- "firstSeen": {
- "type": "string"
- },
- "count": {
- "type": "string"
- },
- "permalink": {
- "type": "string"
- },
- "level": {
- "type": "string"
- },
- "isSubscribed": {
- "type": "boolean"
- },
- "isBookmarked": {
- "type": "boolean"
- },
- "project": {
- "type": "object",
- "properties": {
- "slug": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- }
- },
- "statusDetails": {
- "type": "object"
- }
- }
- },
- "groupId": {
- "type": "string"
- }
- }
- },
- "example": {
- "group": {
- "annotations": [],
- "assignedTo": null,
- "count": "1",
- "culprit": "raven.scripts.runner in main",
- "firstSeen": "2018-11-06T21:19:55Z",
- "hasSeen": false,
- "id": "1",
- "isBookmarked": false,
- "isPublic": false,
- "isSubscribed": true,
- "lastSeen": "2018-11-06T21:19:55Z",
- "level": "error",
- "logger": null,
- "metadata": {
- "title": "This is an example Python exception"
- },
- "numComments": 0,
- "permalink": "https://sentry.io/the-interstellar-jurisdiction/pump-station/issues/1/",
- "project": {
- "id": "2",
- "name": "Pump Station",
- "slug": "pump-station"
- },
- "shareId": null,
- "shortId": "PUMP-STATION-1",
- "status": "unresolved",
- "statusDetails": {},
- "subscriptionDetails": null,
- "title": "This is an example Python exception",
- "type": "default",
- "userCount": 0
- },
- "groupId": "1",
- "organizationSlug": "the-interstellar-jurisdiction",
- "projectSlug": "pump-station",
- "shortId": "PUMP-STATION-1"
- }
- }
- }
- },
- "403": {
- "description": "Forbidden"
- },
- "401": {
- "description": "Unauthorized"
- },
- "404": {
- "description": "Not Found"
- }
- },
- "security": [
- {
- "auth_token": ["org: read"]
- }
- ]
- }
- }
|