123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- {
- "get": {
- "tags": ["Events"],
- "description": "Return a list of error events bound to a project.",
- "operationId": "List a Project's Error Events",
- "parameters": [
- {
- "name": "organization_slug",
- "in": "path",
- "description": "The slug of the organization the events belong to.",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "project_id_or_slug",
- "in": "path",
- "description": "The id or slug of the project the events belong to.",
- "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"
- }
- },
- {
- "$ref": "../../components/parameters/pagination-cursor.json#/PaginationCursor"
- }
- ],
- "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": ["project:read"]
- }
- ]
- }
- }
|