Skip to main content

kobana dashboards events

Commands of kobana dashboards events. Every global option (Global options) applies here.

CommandHTTPDescription
events listGET /v1/eventsList events
events getGET /v1/events/{id}Get an event

events list​

List events

kobana dashboards events list [OPTIONS]

GET /v1/events

Event log of the workspace and of the organization, newest first. Events are evidence: they cannot be changed or deleted.

Query parameters

NameTypeRequiredDescription
pageintegernoPage (starts at 1). Default: 1.
per_pageintegernoItems per page. Default: 20. Maximum: 100.
sort_bystringnoSort field. Default depends on the resource.
sort_orderstringnoSort direction. Default: desc. Values: asc, desc.
typestringnoExact event type (e.g. api_key.rotated).
resource_typestringnoExact resource type (e.g. api_key).
resource_idstringnoOnly events about this record.
date_fromstringnoLower bound of created_at (ISO 8601 date or date-time).
date_tostringnoUpper bound of created_at (ISO 8601 date or date-time). A bare date covers the whole day (UTC).

Headers

NameTypeRequiredDescription
X-Workspace-IdstringnoWorkspace the call acts on: the id or the public_id shown under Workspaces on the dashboard. Inside the token's organization, data lives in workspaces. It may be omitted while the organization has a single workspace; with two or more, leaving it out returns 400 workspace_required. A workspace outside the organization returns 403 unknown_workspace. With a person token, only the workspaces that person has access to are reachable (organization owners reach all of them); any other returns 403 workspace_access_denied.

Responses

HTTPDescription
200A page of events.
400Bad request: malformed body, missing required field or a filter with an invalid value.
404Resource not found in the current organization.

events get​

Get an event

kobana dashboards events get [ID] [OPTIONS]

GET /v1/events/{id}

Returns one event with its full payload.

Path arguments: id

Headers

NameTypeRequiredDescription
X-Workspace-IdstringnoWorkspace the call acts on: the id or the public_id shown under Workspaces on the dashboard. Inside the token's organization, data lives in workspaces. It may be omitted while the organization has a single workspace; with two or more, leaving it out returns 400 workspace_required. A workspace outside the organization returns 403 unknown_workspace. With a person token, only the workspaces that person has access to are reachable (organization owners reach all of them); any other returns 403 workspace_access_denied.

Responses

HTTPDescription
200The event.
404Resource not found in the current organization.