Activities API

Get list of activities

GET /api/activities

Gets the list of recent activities visible to the current user. An entity_type of 'dashboard' will return all events the user can see. Other entity_type values will limit the activities to only ones that have involved an entity of the specified type.

Parameters

Name Description
entity_type The type of entity whose activities will be returned, or 'dashboard' for all visible activities
entity_id For entity_type other than 'dashboard', the id of the entity whose activities will be returned
page The selected page number of a paginated list of elements. Default is 1.
per_page The number of elements to return per page. Default is 50.

Request

Headers

Host: example.org
Cookie: _session_id=cmgxMVdLMUVNejl1RFpOcnh4MVhUQUxiSVYrMURQVTJzZU1ISkhOem1uVjhCWndJV0tlT2FGQjNEdHQzMUY2M1liNSs1N0E0QzhHaHF3RnlxWFVGWldvU2VkRkpLK1J0R2pOVlFLZUR4dkFGRlcvU0VuZUM0ZUpLdzgrRENOZ25KZC9Sdkx5WnlSeUd2SHU0WXlpcW9NZlVLVnlMTTkzTU5XUWNCYzNsNjFRQW84VWlNdXRoZkV0U0tYT0NIcGtZUVErUjVXcW8xUWZ5SlhNYXMzOFBnQmZxK0JsT2hQZWxMNURvSHZrTTUxdE05MmtQZVRSejhraytaYWgwRGZDVmFkUWhhcUlZam1KOTZsK25iSjNjQWwrMVVvaFZGZ0NWM0w1UEY5VnRQSStFWVBjR2N0NmZnbDJ6R004cTROOVFHSjFsSU5YZGh2cHFsZWpIMkZMVS8wODB6d2JYUnArUFNXUlBpU2tzT3pRdVhjalpGVDYzVlErcHRVdGNqVTZCTUVmY3lSZllqQmt3aWlHVVh4Y0RwblduNVhxS1dDeE1EVFp6d0t3NnA0UT0tLTgxdFJtZkRidGhDWTk1ZTEwT1Rqa0E9PQ%3D%3D--67f9813f4339e285ab79b24bf9417e00be9532f5

Route

GET /api/activities?entity_type=dashboard

Query Parameters

entity_type: dashboard

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
ETag: W/"33152e3e4e3d2278b6336cbd3cf7cd3b"
Cache-Control: max-age=0, private, must-revalidate
Set-Cookie: _session_id=OGp1MkVQYXYzbENYV2hhVlVJbEIrVzlGV21XRVNvUG9WUkxUamNDdmk2VTdvek5ZbHJXWVQ1OFl5dnA3enQxS29hL1RBWFFhcXU3dUw0dk5XS09OUUdicnFnUDQwRE9hU0NLSjZhcFhIUDZCTnphNE1HNm5yRlVDRXAzMkp3YlVnRjlqeEJHK3E5aWl0bDViU01qUzRUTDZzRXIyTkhRSHZ1QnFUUUV2WHZXa3pJYkJCNVZrVS83cXI3OHM1eEgxdzdMSTlOemM4Y0l2L1B2bmJKeWZ4NHI5SlNZNlZMNE5OSTlmMUFEcE04UlB0NHVlY08zRCtyaFpvMHhnakE1Z1ZORUhMam5UZHoxNGgwSzNwN1dOdjZhamhlRW8zOVhKN3FpV0FWYm9SejBhNnlnUkZ5VlVsM1FwY2M3dnVtclVlc0Y0dkhGZ1pISlRVWWs2b3gyZFg5MWtJakphZXJXcUE0ckVXMzE2RFhCbVpzeDFxL2VIZE1CdDhGd0dEakUxeTgyNHpqQmdhVFVKMEFLaDZNcll5MEJjZ1RGYlpYN2QwMDVHMVJST0hHTkhjaFJ1Y1pPQzlhTm81UzdzL1plRy0tYURaSDlTSDQ2a0s2VHFERkZtRVdEUT09--c8498be70b631ac92cdda27d84f0d9127de49c20; path=/; HttpOnly
X-Request-Id: 74e87e2b-29fa-4f8e-9f39-8f980766142b
X-Runtime: 2.018811
Content-Length: 95305

Status

200 OK

Body