{"componentChunkName":"component---src-templates-api-page-tsx","path":"/api/events/update-an-issue/","result":{"data":{"openApi":{"id":"19b4fe5e-0268-56da-aabd-58973d0d4847","path":{"description":"Updates an individual issue's attributes.  Only the attributes submitted are modified.","method":"put","operationId":"Update an Issue","summary":null,"tags":["Events"],"apiPath":"/api/0/issues/{issue_id}/","readableUrl":"/api/events/update-an-issue/","parameters":[{"schema":{"type":"string","format":null,"enum":null},"name":"issue_id","in":"path","description":"The ID of the group to retrieve.","required":true}],"responses":[{"content":{"content_type":"application/json","example":"{\n  \"annotations\": [],\n  \"assignedTo\": null,\n  \"count\": \"1\",\n  \"culprit\": \"raven.scripts.runner in main\",\n  \"firstSeen\": \"2018-11-06T21:19:55Z\",\n  \"hasSeen\": false,\n  \"id\": \"1\",\n  \"isBookmarked\": false,\n  \"isPublic\": false,\n  \"isSubscribed\": true,\n  \"lastSeen\": \"2018-11-06T21:19:55Z\",\n  \"level\": \"error\",\n  \"logger\": null,\n  \"metadata\": {\n    \"title\": \"This is an example Python exception\"\n  },\n  \"numComments\": 0,\n  \"permalink\": \"https://sentry.io/the-interstellar-jurisdiction/pump-station/issues/1/\",\n  \"project\": {\n    \"id\": \"2\",\n    \"name\": \"Pump Station\",\n    \"slug\": \"pump-station\"\n  },\n  \"shareId\": null,\n  \"shortId\": \"PUMP-STATION-1\",\n  \"status\": \"unresolved\",\n  \"statusDetails\": {},\n  \"subscriptionDetails\": null,\n  \"title\": \"This is an example Python exception\",\n  \"type\": \"default\",\n  \"userCount\": 0\n}","schema":"{\n  \"type\": \"object\",\n  \"required\": [\n    \"lastSeen\",\n    \"numComments\",\n    \"userCount\",\n    \"culprit\",\n    \"title\",\n    \"id\",\n    \"assignedTo\",\n    \"logger\",\n    \"type\",\n    \"annotations\",\n    \"metadata\",\n    \"status\",\n    \"subscriptionDetails\",\n    \"isPublic\",\n    \"hasSeen\",\n    \"shortId\",\n    \"shareId\",\n    \"firstSeen\",\n    \"count\",\n    \"permalink\",\n    \"level\",\n    \"isSubscribed\",\n    \"isBookmarked\",\n    \"project\",\n    \"statusDetails\"\n  ],\n  \"properties\": {\n    \"annotations\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"assignedTo\": {\n      \"type\": \"object\",\n      \"nullable\": true\n    },\n    \"count\": {\n      \"type\": \"string\"\n    },\n    \"culprit\": {\n      \"type\": \"string\"\n    },\n    \"firstSeen\": {\n      \"type\": \"string\"\n    },\n    \"hasSeen\": {\n      \"type\": \"boolean\"\n    },\n    \"id\": {\n      \"type\": \"string\"\n    },\n    \"isBookmarked\": {\n      \"type\": \"boolean\"\n    },\n    \"isPublic\": {\n      \"type\": \"boolean\"\n    },\n    \"isSubscribed\": {\n      \"type\": \"boolean\"\n    },\n    \"lastSeen\": {\n      \"type\": \"string\"\n    },\n    \"level\": {\n      \"type\": \"string\"\n    },\n    \"logger\": {\n      \"type\": \"string\",\n      \"nullable\": true\n    },\n    \"metadata\": {\n      \"oneOf\": [\n        {\n          \"type\": \"object\",\n          \"required\": [\n            \"filename\",\n            \"type\",\n            \"value\"\n          ],\n          \"properties\": {\n            \"filename\": {\n              \"type\": \"string\"\n            },\n            \"type\": {\n              \"type\": \"string\"\n            },\n            \"value\": {\n              \"type\": \"string\"\n            }\n          }\n        },\n        {\n          \"type\": \"object\",\n          \"required\": [\n            \"title\"\n          ],\n          \"properties\": {\n            \"title\": {\n              \"type\": \"string\"\n            }\n          }\n        }\n      ]\n    },\n    \"numComments\": {\n      \"type\": \"integer\"\n    },\n    \"permalink\": {\n      \"type\": \"string\"\n    },\n    \"project\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"id\": {\n          \"type\": \"string\"\n        },\n        \"name\": {\n          \"type\": \"string\"\n        },\n        \"slug\": {\n          \"type\": \"string\"\n        }\n      }\n    },\n    \"shareId\": {\n      \"type\": \"string\",\n      \"nullable\": true\n    },\n    \"shortId\": {\n      \"type\": \"string\"\n    },\n    \"status\": {\n      \"type\": \"string\",\n      \"enum\": [\n        \"resolved\",\n        \"unresolved\",\n        \"ignored\"\n      ]\n    },\n    \"statusDetails\": {\n      \"type\": \"object\"\n    },\n    \"subscriptionDetails\": {\n      \"type\": \"object\",\n      \"nullable\": true\n    },\n    \"title\": {\n      \"type\": \"string\"\n    },\n    \"type\": {\n      \"type\": \"string\"\n    },\n    \"userCount\": {\n      \"type\": \"integer\"\n    }\n  }\n}"},"description":"Success","status_code":"200"},{"content":null,"description":"Forbidden","status_code":"403"},{"content":null,"description":"The requested resource does not exist","status_code":"404"}],"requestBody":{"content":{"content_type":"application/json","schema":"{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"string\",\n      \"description\": \"The new status for the issues. Valid values are `\\\"resolved\\\"`, `\\\"resolvedInNextRelease\\\"`, `\\\"unresolved\\\"`, and `\\\"ignored\\\"`.\",\n      \"example\": \"unresolved\"\n    },\n    \"assignedTo\": {\n      \"type\": \"string\",\n      \"description\": \"The actor id (or username) of the user or team that should be assigned to this issue.\"\n    },\n    \"hasSeen\": {\n      \"type\": \"boolean\",\n      \"description\": \"In case this API call is invoked with a user context this allows changing of the flag that indicates if the user has seen the event.\"\n    },\n    \"isBookmarked\": {\n      \"type\": \"boolean\",\n      \"description\": \"In case this API call is invoked with a user context this allows changing of the bookmark flag.\"\n    },\n    \"isSubscribed\": {\n      \"type\": \"boolean\"\n    },\n    \"isPublic\": {\n      \"type\": \"boolean\",\n      \"description\": \"Sets the issue to public or private.\"\n    }\n  }\n}"},"required":true},"security":[{"auth_token":["event:write"]}]}}},"pageContext":{"id":"19b4fe5e-0268-56da-aabd-58973d0d4847","title":"Update an Issue"}},"staticQueryHashes":["1218203755","1222113826","1222113826","1766336459","2158593473","3990806462","4015007367","4192517163"]}