Skip to content

Returns the filters for all dashboard activities for the current user

GET
/api/activities/filters

Authorizations

api_key
Type: API Key (header: X-CSRF-Token)

Responses

Successful
JSON
{
"index": "string",
"name": "string",
"shortName": "string",
"items": [
{
"id": 0,
"name": "string",
"included": true
}
]
}
Authorization
api_key
cURL
curl -X GET \
'http://localhost/api/activities/filters'

Samples

cURL
curl -X GET http://localhost/api/activities/filters
JavaScript
fetch("http://localhost/api/activities/filters")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/activities/filters");
Python
import requests
response = requests.get("http://localhost/api/activities/filters")
print(response.json())