Skip to content

Returns the updates object for ActivityOverview to display on the dashboard

GET
/api/activities/updates

Authorizations

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

Parameters

Query Parameters

page

Which page of updates to return

Typestring

Responses

Successful
JSON
{
"updates": [
null
]
}
Authorization
api_key
Variables
Key
Value
page
cURL
curl -X GET \
'http://localhost/api/activities/updates'

Samples

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