# Transcripts and media

Transcripts, subtitles, transcript search, photos and media files.

Base URL: https://api.audiobly.com

### PATCH /v1/events/{event_id}/photos/{photo_id}

Update photo

Publish or hide a photo on the website feed (`published`). 404 if the photo is not part
of this event.

Scope: any key

Parameters:

- `event_id` (path, string (uuid), required)
- `photo_id` (path, string (uuid), required)

Body (JSON):

- `published` (boolean): Whether this is visible on the public pages.

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.
