List an Activity's Instances
/public/v1/activities/{activity}/instancesReturns the activity's individual occurrences, oldest first. A support belongs to one instance rather than to the activity itself, so an instance id is what identifies the occurrence it was scheduled against.
activitystringrequiredThe activity UUID
sortstringSort the results. Prefix with '-' for descending. One of: start_time. Defaults to start_time ascending.
Example:-start_timepage[size]integerNumber of results per page. Minimum 1, maximum 100.
Default:25page[number]integerThe page number to retrieve. Use the
last_pagevalue from themetaresponse to determine the total number of pages available.Default:1
Response
200application/jsonPaginated set of ActivityInstanceResource
dataobject[]required▶Show 4 child attributesHide child attributes
idstringrequiredExample:i1n2s3t4-a5n6-47c8-9e0a-1b2c3d4e5f6astart_timestringrequiredExample:2024-01-15T10:30:00+00:00end_timestringrequiredExample:2024-01-15T12:30:00+00:00activityobject | null▶Show 6 child attributesHide child attributes
idstringrequiredExample:a1c2t3i4-v5i6-47t8-9y0a-1b2c3d4e5f6anamestringrequiredExample:Tuesday Art GrouptimezonestringrequiredExample:Australia/Sydneydetailsstring | nullrequiredExample:Painting and drawing in the community room.capacityinteger | nullrequiredExample:12cancelledbooleanrequiredTrue once the activity is cancelled. Cancelled activities are still returned, so filter on this before attaching a support to one of their instances.
Example:false
metaobjectrequired▶Show 5 child attributesHide child attributes
current_pageintegerrequired≥ 1last_pageintegerrequired≥ 1per_pageintegerrequired≥ 0Number of items shown per page.
totalintegerrequired≥ 0Total number of items being paginated.
allowed_sortsstring[]requiredThe list of allowed sorts for this endpoint.
401Unauthenticated403Authorization error404Not found