mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
106 lines
2.8 KiB
JSON
106 lines
2.8 KiB
JSON
{
|
|
"get": {
|
|
"tags": ["Events"],
|
|
"description": "This endpoint lists an issue's events.",
|
|
"operationId": "List an Issue's Events",
|
|
"parameters": [
|
|
{
|
|
"name": "organization_slug",
|
|
"in": "path",
|
|
"description": "The slug of the organization the issues belongs to.",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "issue_id",
|
|
"in": "path",
|
|
"description": "The ID of the issue to retrieve.",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "full",
|
|
"in": "query",
|
|
"description": "If this is set to true then the event payload will include the full event body, including the stacktrace. \nSet to true to enable.",
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "../../components/schemas/event.json#/Event"
|
|
}
|
|
},
|
|
"example": [
|
|
{
|
|
"eventID": "9fac2ceed9344f2bbfdd1fdacb0ed9b1",
|
|
"tags": [
|
|
{
|
|
"key": "browser",
|
|
"value": "Chrome 60.0"
|
|
},
|
|
{
|
|
"key": "device",
|
|
"value": "Other"
|
|
},
|
|
{
|
|
"key": "environment",
|
|
"value": "production"
|
|
},
|
|
{
|
|
"value": "fatal",
|
|
"key": "level"
|
|
},
|
|
{
|
|
"key": "os",
|
|
"value": "Mac OS X 10.12.6"
|
|
},
|
|
{
|
|
"value": "CPython 2.7.16",
|
|
"key": "runtime"
|
|
},
|
|
{
|
|
"key": "release",
|
|
"value": "17642328ead24b51867165985996d04b29310337"
|
|
},
|
|
{
|
|
"key": "server_name",
|
|
"value": "web1.example.com"
|
|
}
|
|
],
|
|
"dateCreated": "2020-09-11T17:46:36Z",
|
|
"user": null,
|
|
"message": "",
|
|
"title": "This is an example Python exception",
|
|
"id": "dfb1a2d057194e76a4186cc8a5271553",
|
|
"platform": "python",
|
|
"event.type": "error",
|
|
"groupID": "1889724436"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"403": {
|
|
"description": "Forbidden"
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"auth_token": ["event:read"]
|
|
}
|
|
]
|
|
}
|
|
}
|