List the agendas you are a member of
Changed onReturns a cursor-paginated list of the agendas the authenticated user is a member of, with their role on each. Private agendas the user belongs to ARE included (each item carries a private flag), and so are agendas not indexed in public search.
Request
- Base URL: https://api.openagenda.com/v3
- URL: https://api.openagenda.com/v3/me/agendas
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://openagenda.com/api/auth/oauth2/authorize, token URL https://openagenda.com/api/auth/oauth2/token, scopes: me:read)
Query parameters
Opaque pagination cursor returned in pagination.after of the previous page. Omit it to fetch the first page.
Maximum number of items to return per page. An out-of-range or non-integer value is rejected with 400, never clamped; use the after cursor to page further.
When true, each item in data is returned in its detailed representation, including the detailed-only fields. When false (the default), items are the lighter summary representation.
Comma-separated list of fields to keep on each data item, to shrink the payload of large pages. When set, it selects the response shape directly over the resource's full field set, so detailed does not apply (it only governs the default shape when fields is omitted) and fields wins if both are given. uid is always returned. Each resource takes the names its own data item declares, and a dotted path descends one segment per level: on an event, location.name or timings.begin. An unknown top-level field is rejected with 400, and so is an unknown sub-field under a closed object (location.zzz); under an open container - an additionalFields custom-field bag, on the resources that carry one, or a localized text map - any sub-key is accepted and yields nothing when absent (additionalFields.myField). Response schemas stay complete, so a generated client still types the omitted fields as present — read them as optional on this path.
[ "uid", "slug" ]
Restrict to the agendas carrying these slugs. A slug matching none of your memberships yields an empty page. Repeat the parameter for multiple values.
Restrict to the memberships holding one of these roles. Repeat the parameter for multiple values.
Response
A page of the caller's agenda memberships.
Example response
{
"data": [
{
"uid": 12345,
"slug": "festival-des-lumieres",
"title": "Festival des Lumières",
"description": "La programmation du festival.",
"image": {
"width": 1400,
"height": 900,
"src": "https://img.openagenda.com/u/1080x0/main/12345.full.image.jpg",
"srcTemplate": "https://img.openagenda.com/u/{geo}/main/12345.full.image.jpg",
"srcset": [
{
"width": 640,
"url": "https://img.openagenda.com/u/640x0/main/12345.full.image.jpg"
},
{
"width": 1080,
"url": "https://img.openagenda.com/u/1080x0/main/12345.full.image.jpg"
}
]
},
"official": false,
"private": false,
"role": "administrator"
}
],
"pagination": {
"after": "eyJ1aWQiOjIzNDU2fQ",
"limit": 20,
"total": 342,
"totalRelation": "exact"
}
}Changes
- info
added the new optional
queryrequest parameterrole - info
added the new optional
queryrequest parameterslug - info
added the optional property
///////to the response with the status
- info
- breaking
the response's body type changed from no type to
objectfor status - warning
deleted the
queryrequest parameterrole - warning
deleted the
queryrequest parameterslug - info
removed from the response body
oneOflist for the response status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
removed the
bad_requestenum value from the/response property for the response status - info
removed the
bad_requestenum value from the/response property for the response status - info
removed the
forbiddenenum value from the/response property for the response status - info
removed the
forbiddenenum value from the/response property for the response status - info
removed the
insufficient_scopeenum value from the/response property for the response status - info
removed the
insufficient_scopeenum value from the/response property for the response status - info
removed the
not_foundenum value from the/response property for the response status - info
removed the
not_foundenum value from the/response property for the response status - info
removed the
read_only_credentialenum value from the/response property for the response status - info
removed the
read_only_credentialenum value from the/response property for the response status - info
removed the
service_unavailableenum value from the/response property for the response status - info
removed the
service_unavailableenum value from the/response property for the response status - info
removed the
unauthorizedenum value from the/response property for the response status - info
removed the
unauthorizedenum value from the/response property for the response status - info
added the required property
to the response with the status
- breaking