Show, hide or make the cover
PATCH
/events/{id}/photos/{photoId}
The cover is one shown photo (cover_must_show); only a hidden photo has a reason (reason_for_hidden_only).
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
Requiredstring
Format
"uuid"photoId*
The photo.
Type
Requiredstring
Format
"uuid"Request Body
application/json
JSON
{
"status": "string",
"hidden_reason": "string",
"is_cover": true,
"focal_x": 0,
"focal_y": 0
}
Responses
The photo.
application/json
JSON
"string"