# Transcripts and media

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

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

### PATCH /v1/events/{event_id}/sessions/{session_id}/translations/{language}

Update session translation

Correct lines and/or mark the translation Reviewed (or back to Draft).

Scope: content_edit

Parameters:

- `event_id` (path, string (uuid), required)
- `session_id` (path, string (uuid), required)
- `language` (path, string, required)

Body (JSON):

- `lines` (array of LineEdit): The edited lines of the translation, each with its line number and new text.
- `reviewed` (boolean): true marks the translation Reviewed, false back to Draft

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.
