Xeonr Developer Docs
API SpecificationTeams

List activity

POST
/xeonr.functions.v1.TeamService/ListTeamActivity

Reads the audit feed: who did what, to which function, when.

Authorization

BearerAuth
AuthorizationBearer <token>

A team API token, created by a team owner and presented as Authorization: Bearer fnt_…. The secret is shown once at creation and stored only as a hash.

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

ownerTeam?string

owner_team is the team's URN.

functionId?string

function_id narrows the feed to one function.

pageSize?integer
pageToken?string
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://functions.xeonr.io/xeonr.functions.v1.TeamService/ListTeamActivity" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "events": [
    {
      "eventId": "string",
      "atUnix": 0,
      "actor": "string",
      "action": "string",
      "functionId": "string",
      "functionName": "string",
      "detail": {
        "property1": {},
        "property2": {}
      }
    }
  ],
  "nextPageToken": "string"
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}