Gamma API
ProjectsActivity

List project activity

GET
/api/projects/{projectId}/activity

Every change to the project's issues, forms, views, search sets, markers, tracked elements and members, and what was done to its jobs; newest first, a page at a time. Only the kinds the caller's profile may read.

Who may call it: Whoever manages the project: an owner, security admin or admin of its organization, or an admin of the project. API keys: yes.

Authorization

cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Path Parameters

projectId*string

The project's id.

Query Parameters

page?integer
Range1 <= value <= 9007199254740991
Default1
pageSize?integer
Range1 <= value <= 100
Default50
type?string
Value in"issue""form""view""marker""member""job""object""searchSet""model"
action?string
Value in"created""updated""deleted""submitted""approved""rejected""withdrawn""reopened""archived""restored""canceled""retried"
actorId?string

Whose changes: a user id.

Length1 <= length
from?string

The first day, UTC, inclusive.

Match^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
Formatdate
to?string

The last day, UTC, inclusive.

Match^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
Formatdate

Response Body

OK.

application/json
  1. response
activity*array<>

Newest first.

actors*array<>

Everyone in the history the caller may read, whatever the other filters say: the options of a by-whom filter. By name.

total*integer
Range-9007199254740991 <= value <= 9007199254740991
page*integer
Range-9007199254740991 <= value <= 9007199254740991
pageSize*integer
Range-9007199254740991 <= value <= 9007199254740991
Example Request
curl -X GET 'http://localhost:3000/api/projects/string/activity'
Example Response
{  "activity": [    {      "id": "string",      "action": "created",      "actorId": "string",      "changes": [        {          "key": "string",          "from": null,          "to": null        }      ],      "note": "string",      "createdAt": "2019-08-24T14:15:22Z",      "actor": {        "id": "string",        "name": "string",        "image": "string"      },      "viaApiKey": {        "id": "string",        "name": "string"      },      "ownerType": "issue",      "ownerId": "string",      "owner": {        "label": "string",        "number": -9007199254740991,        "schemaId": "string",        "templateId": "string",        "version": -9007199254740991,        "subject": {          "kind": "model",          "id": "string",          "label": "string"        }      }    }  ],  "actors": [    {      "id": "string",      "name": "string",      "image": "string"    }  ],  "total": -9007199254740991,  "page": -9007199254740991,  "pageSize": -9007199254740991}