Hub REST API
Calendar
The Calendar operations of the Hub REST API (4 operations).
For BuildersOpen-source podSynap CloudGenerated from Synap-core/backend@c31e261ab (main)
GET
bearerAuthheader
AuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
Feed status
application/json- response
hasToken*booleantokenPrefix*string|nullcreatedAt*string|nulllastAccessedAt*string|nullcurl -X GET 'https://pod.example.com/api/hub/calendar/feed'Example Response
{ "hasToken": true, "tokenPrefix": "string", "createdAt": "string", "lastAccessedAt": "string"}POST
bearerAuthheader
AuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
Feed URLs
application/json- response
url*stringwebcalUrl*stringcurl -X POST 'https://pod.example.com/api/hub/calendar/feed'Example Response
{ "url": "string", "webcalUrl": "string"}POST
bearerAuthheader
AuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
New feed URLs
application/json- response
url*stringwebcalUrl*stringcurl -X POST 'https://pod.example.com/api/hub/calendar/feed/rotate'Example Response
{ "url": "string", "webcalUrl": "string"}curl -X GET 'https://pod.example.com/api/hub/calendar/feed/{token}.ics'Example Response
Empty
