Skip to content

Returns the user's foodsharing calendar as iCal​

GET
/api/calendar/{token}

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

token*
Type
string
Required
Pattern
"[0-9a-f]+"

Query Parameters

formatting

How to format description texts.
One of alt (default), html or text

events

What events to include in the calendar.
One of every (default), invitations, maybe, accepted or none

pickups

Whether to include pickups in the calendar.

Type
[ "boolean", "null" ]
history

Whether to include past entries (up to 2 weeks back) in the calendar.

Type
[ "boolean", "null" ]
reminders

List of reminder times in minutes. These reminders are applied to each calendar event.

Type
[ "string", "null" ]
Example"15,120"

Responses​

Success.

Playground​

Authorization
Variables
Key
Value

Samples​