VoidTrack Docs
API Reference

Views

GET
/views
AuthorizationBearer <token>

Workspace scoped API key, printed once by pnpm seed or POST /api-keys.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/views"
{  "views": [    {      "id": "string",      "name": "string",      "kind": "issues",      "team": "string",      "display": "list",      "filters": {        "property1": null,        "property2": null      },      "sort": "string",      "favorite": true    }  ]}
POST
/views
AuthorizationBearer <token>

Workspace scoped API key, printed once by pnpm seed or POST /api-keys.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/views" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "view": {    "id": "string",    "name": "string"  }}
PATCH
/views/{id}
AuthorizationBearer <token>

Workspace scoped API key, printed once by pnpm seed or POST /api-keys.

In: header

Path Parameters

id*string

View id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/views/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "ok": true}
DELETE
/views/{id}
AuthorizationBearer <token>

Workspace scoped API key, printed once by pnpm seed or POST /api-keys.

In: header

Path Parameters

id*string

View id

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/views/string"
{  "ok": true}