Skip to content

Save the days​

PUT
/events/{id}/days

The whole list (at most 14), each ending after it starts; sorted by start. A day keeps its id when the list names it. Removing a day a ticket type is for answers 409 day_in_use. A live event keeps at least one day; a changed date or time on it is published as event.rescheduled.

Authorizations​

BearerAuth

In the browser, authentication rides on the httpOnly session cookies set by /cognito/signin or the Google / Apple sign-in at /cognito/oauth/{provider}. For scripts and for Swagger UI testing, paste an API key (fh_live_…, created with POST /api-keys); a Cognito JWT is accepted too. Sign-in does not return a token in its body.

Type
HTTP (bearer)

Parameters​

Path Parameters

id*

The event's id.

Type
string
Required
Format
"uuid"

Request Body​

application/json
JSON
{
"days": [
{
"id": "string",
"starts_at": "string",
"ends_at": "string"
}
]
}

Responses​

The days.

application/json
JSON
{
"days": [
]
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI

Built with VitePress