Server activity feed
curl --request GET \
--url https://my.server.express/api/v1/services/{id}/activity \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/services/{id}/activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/services/{id}/activity"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"items": [
{
"id": "<string>",
"at": "2023-11-07T05:31:56Z",
"what": "<string>",
"who": "<string>",
"status": "done"
}
],
"nextCursor": "<string>"
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Services
Server activity feed
What was done to this server, by whom, and how it went — audit rows and task rows merged into one event each, newest first. Customer-safe copy only. Read access is enough; staff may read any server and see real names, while customers see staff as “ServerExpress”.
GET
/
v1
/
services
/
{id}
/
activity
Server activity feed
curl --request GET \
--url https://my.server.express/api/v1/services/{id}/activity \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/services/{id}/activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/services/{id}/activity"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"items": [
{
"id": "<string>",
"at": "2023-11-07T05:31:56Z",
"what": "<string>",
"who": "<string>",
"status": "done"
}
],
"nextCursor": "<string>"
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Authorizations
bearerAuthapiToken
Session access token (JWT) from POST /v1/auth/login or /v1/auth/refresh. A session satisfies every API scope.
Path Parameters
Service id.
Query Parameters
Opaque cursor from a previous page's nextCursor.
Pattern:
^[A-Za-z0-9_-]{1,200}$Required range:
1 <= x <= 100