/v2/activity-logs

Fetches the activity logs.

get/v2/activity-logs

Request

  • Base URL: https://zinfandel-api.centrastage.net/api
  • URL: https://zinfandel-api.centrastage.net/api/v2/activity-logs
  • Auth: none declared

Query parameters

sizeinteger

Specifies the number of records to be returned

order'asc' | 'desc'

Specifies the order in which records should be returned based on their creation date

searchAfterstring[]

Acts as a pointer to determine the starting point for returning records from the database. It is not advised to set this parameter manually. Instead, it is recommended to utilize the 'prevPage' and 'nextPage' URLs that are returned in the response where this parameter in already included.

page'next' | 'previous'
fromstring

Defines the UTC start date for fetching data. By default API returns logs from last 15 minutes. Format: yyyy-MM-ddTHH:mm:ssZ

untilstring

Defines the UTC end date for fetching data. Format: yyyy-MM-ddTHH:mm:ssZ

entitiesstring[]

Filters the returned activity logs based on their type. It can take multiple values separated by comma

categoriesstring[]

Filters the returned activity logs based on their category. It can take multiple values separated by comma

actionsstring[]

Filters the returned activity logs based on their action. It can take multiple values separated by comma

siteIdsinteger[]

Filters the returned activity logs based on the site they were created in. It can take multiple values separated by comma

userIdsinteger[]

Filters the returned activity logs based on the user they are associated with. It can take multiple values separated by comma

searchQuerystring

Enter queries using single words, phrases, terms containing wildcards or boolean operators, fuzzy searches, grouped searches, or special characters. See <a href="https://rmm.datto.com/help/en/Content/3NEWUI/Analytics/ActivityLog.htm">Activity Log</a> for more details.

Response

OK

errorstring

Shows error information when request fails at the database layer

Example response

{
  "activities": [
    {
      "date": 1689072497.714
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.