Skip to Content
Resource Events

List events of a resource type

GET
/events/{resource_type}/{resource_id}

Path Parameters

resource_id*integer

The resource ID.

Range1 <= value
resource_type*string

The resource type to get related events.

Query Parameters

page?integer

Number of the page to be retrieved

Range1 <= value
per_page?integer

Number of items returned per page

Range1 <= value <= 100

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Response Body

Ok

application/json
  1. response
[index: integer]?|null
Example Request
curl -X GET 'https://api.devopness.com/events/application/123?page=1&per_page=25' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json'
Example Response200
[  {    "id": 652674,    "event_type": "testtype",    "resource_type": "service",    "resource_id": 652674,    "message": "Test message",    "triggered_by": 2,    "created_at": "2020-04-16T15:50:48.000000Z",    "updated_at": "2020-04-16T15:50:48.000000Z"  }]