Organisations
Read a tab's history
The changes to a tab, newest first, fifty a page: the version each made, who made it, what kind of change, and how many things were added, removed or changed.
GET
/orgs/{org}/boards/{board}/tabs/{tab}/historyTL;DR
| Question | Answer |
|---|---|
| What does it do? | Read a tab's history. |
| What does it take? | org, board, tab in the path, and before in the query string. |
| What does it return? | Status 200 with a body of type BoardHistory. |
| What can go wrong? | 401 not signed in; 403 boards are not turned on for this organisation (boards.not_enabled), the caller may look but not change it (boards.forbidden), or the request came from an origin that may not make changes; 404 no such organisation, board or tab, or the board is not open to the caller: the cases look alike; 429 too many requests; 503 organisations or boards are not set up on this server. Every failure uses the one error envelope. |
What it does
The changes to a tab, newest first, fifty a page: the version each made, who made it, what kind of change, and how many things were added, removed or changed. restorable says whether a version can still be restored.
Path parameters
| Field | Type | Required | Description |
|---|---|---|---|
org | string | yes | The organisation's id or its slug. |
board | string | yes | The board's id: 22 letters and digits. |
tab | string | yes | The tab's id: 12 letters and digits. |
Query parameters
| Field | Type | Required | Description |
|---|---|---|---|
before | integer | no |
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | The history. | BoardHistory |
| 401 | Not signed in. | ErrorResponse |
| 403 | Boards are not turned on for this organisation (boards.not_enabled), the caller may look but not change it (boards.forbidden), or the request came from an origin that may not make changes. | ErrorResponse |
| 404 | No such organisation, board or tab, or the board is not open to the caller: the cases look alike. | ErrorResponse |
| 429 | Too many requests. | ErrorResponse |
| 503 | Organisations or boards are not set up on this server. | ErrorResponse |
Response body
A 200 answer has the type BoardHistory.
| Field | Type | Required | Description |
|---|---|---|---|
entries | BoardHistoryEntry[] | yes | |
entries[].version | integer | yes | |
entries[].type | string | yes | |
entries[].actor | BoardActor | yes | |
entries[].actor.kind | "person" | "agent" | "key" | yes | |
entries[].actor.label | string | yes | |
entries[].counts | object | yes | |
entries[].counts.added | integer | yes | |
entries[].counts.removed | integer | yes | |
entries[].counts.renamed | integer | yes | |
entries[].counts.moved | integer | yes | |
entries[].counts.changed | integer | yes | |
entries[].at | integer | yes | |
entries[].restorable | boolean | yes |
See also
| Doc | Why |
|---|---|
| API reference | Every endpoint, and the error envelope |
| Schemas | Every request and response type |
| Tool reference | The operations as callable tools |