Aden

Calendar

Calendar events: milestones, releases, posts, todos, and sessions

GET
/api/v1/calendar/

Authorization

sessionAuth
AuthorizationBearer <token>

Supabase access token: used by the web and mobile apps

In: header

Query Parameters

startDate*string

Start date (ISO 8601)

endDate*string

End date (ISO 8601)

teamId?string

Filter by team ID

curl -X GET "https://example.com/api/v1/calendar/?startDate=string&endDate=string"
GET
/api/v1/calendar/sync

Authorization

sessionAuth
AuthorizationBearer <token>

Supabase access token: used by the web and mobile apps

In: header

Query Parameters

teamId?string

Team ID for team-scoped sync. Omit for user-wide sync.

curl -X GET "https://example.com/api/v1/calendar/sync"
GET
/api/v1/calendar/now

Authorization

sessionAuth
AuthorizationBearer <token>

Supabase access token: used by the web and mobile apps

In: header

Query Parameters

day*string

The viewer's today, YYYY-MM-DD

Match^\d{4}-\d{2}-\d{2}$
from*string

When the viewer's today starts (ISO 8601)

Formatdate-time
to*string

When the viewer's today ends (ISO 8601)

Formatdate-time
tz?string

Time zone the times are written in, e.g. Europe/Amsterdam

Lengthlength <= 64
teamId?|

One team instead of every team the viewer is in

days?|

Days past today to read. Default 2.

lang?string

Language the moments are written in. Else Accept-Language, else English.

Lengthlength <= 35
curl -X GET "https://example.com/api/v1/calendar/now?day=string&from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z"
GET
/api/v1/calendar/people

Authorization

sessionAuth
AuthorizationBearer <token>

Supabase access token: used by the web and mobile apps

In: header

Query Parameters

kind*string

Value in

  • "track"
  • "album"
  • "session"
  • "show"
  • "milestone"
id*|string
curl -X GET "https://example.com/api/v1/calendar/people?kind=track&id=1"
POST
/api/v1/calendar/import/fetch

Authorization

sessionAuth
AuthorizationBearer <token>

Supabase access token: used by the web and mobile apps

In: header

Request Body

TypeScript Definitions

Use the request body type in TypeScript.

curl -X POST "https://example.com/api/v1/calendar/import/fetch" \  -H "Content-Type: application/json" \  -d '{    "importId": 1  }'
Was this helpful?