{"componentChunkName":"component---src-templates-api-page-tsx","path":"/api/events/list-a-projects-issues/","result":{"data":{"openApi":{"id":"eb8448ac-88ba-52ed-9dc9-7f6c6cd52a39","path":{"description":"Return a list of issues (groups) bound to a project.  All parameters are supplied as query string parameters. \n\n A default query of ``is:unresolved`` is applied. To return results with other statuses send an new query value (i.e. ``?query=`` for all results).\n\nThe ``statsPeriod`` parameter can be used to select the timeline stats which should be present. Possible values are: ``\"\"`` (disable),``\"24h\"``, ``\"14d\"``","method":"get","operationId":"List a Project's Issues","summary":null,"tags":["Events"],"apiPath":"/api/0/projects/{organization_slug}/{project_slug}/issues/","readableUrl":"/api/events/list-a-projects-issues/","parameters":[{"schema":{"type":"string","format":null,"enum":null},"name":"organization_slug","in":"path","description":"The slug of the organization the issues belong to.","required":true},{"schema":{"type":"string","format":null,"enum":null},"name":"project_slug","in":"path","description":"The slug of the project the issues belong to.","required":true},{"schema":{"type":"string","format":null,"enum":null},"name":"statsPeriod","in":"query","description":"An optional stat period (can be one of `\"24h\"`, `\"14d\"`, and `\"\"`).","required":null},{"schema":{"type":"boolean","format":null,"enum":null},"name":"shortIdLookup","in":"query","description":"If this is set to true then short IDs are looked up by this function as well. This can cause the return value of the function to return an event issue of a different project which is why this is an opt-in. Set to 1 to enable.","required":null},{"schema":{"type":"string","format":null,"enum":null},"name":"query","in":"query","description":"An optional Sentry structured search query. If not provided an implied `\"is:unresolved\"` is assumed.","required":null},{"schema":{"type":"string","format":null,"enum":null},"name":"&cursor","in":"query","description":"A pointer to the last object fetched and its' sort order; used to retrieve the next or previous results.","required":false}],"responses":[{"content":{"content_type":"application/json","example":"[\n  {\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    \"stats\": {\n      \"24h\": [\n        [\n          1541455200,\n          473\n        ],\n        [\n          1541458800,\n          914\n        ],\n        [\n          1541462400,\n          991\n        ],\n        [\n          1541466000,\n          925\n        ],\n        [\n          1541469600,\n          881\n        ],\n        [\n          1541473200,\n          182\n        ],\n        [\n          1541476800,\n          490\n        ],\n        [\n          1541480400,\n          820\n        ],\n        [\n          1541484000,\n          322\n        ],\n        [\n          1541487600,\n          836\n        ],\n        [\n          1541491200,\n          565\n        ],\n        [\n          1541494800,\n          758\n        ],\n        [\n          1541498400,\n          880\n        ],\n        [\n          1541502000,\n          677\n        ],\n        [\n          1541505600,\n          381\n        ],\n        [\n          1541509200,\n          814\n        ],\n        [\n          1541512800,\n          329\n        ],\n        [\n          1541516400,\n          446\n        ],\n        [\n          1541520000,\n          731\n        ],\n        [\n          1541523600,\n          111\n        ],\n        [\n          1541527200,\n          926\n        ],\n        [\n          1541530800,\n          772\n        ],\n        [\n          1541534400,\n          400\n        ],\n        [\n          1541538000,\n          943\n        ]\n      ]\n    },\n    \"status\": \"unresolved\",\n    \"statusDetails\": {},\n    \"subscriptionDetails\": null,\n    \"title\": \"This is an example Python exception\",\n    \"type\": \"default\",\n    \"userCount\": 0\n  }\n]","schema":"{\n  \"type\": \"array\",\n  \"items\": {\n    \"type\": \"object\",\n    \"required\": [\n      \"lastSeen\",\n      \"numComments\",\n      \"userCount\",\n      \"culprit\",\n      \"title\",\n      \"id\",\n      \"assignedTo\",\n      \"logger\",\n      \"stats\",\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      \"stats\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"24h\": {\n            \"type\": \"array\",\n            \"items\": {\n              \"type\": \"array\",\n              \"items\": {\n                \"type\": \"number\"\n              }\n            }\n          }\n        }\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  }\n}"},"description":"Success","status_code":"200"},{"content":null,"description":"Forbidden","status_code":"403"}],"requestBody":null,"security":[{"auth_token":["project:read"]}]}}},"pageContext":{"id":"eb8448ac-88ba-52ed-9dc9-7f6c6cd52a39","title":"List a Project's Issues"}},"staticQueryHashes":["1218203755","1222113826","1222113826","1766336459","2158593473","3990806462","4015007367","4192517163"]}