---
title: "PUT /api/videos/{video_id}/images/{id}"
method: PUT
path: "/api/videos/{video_id}/images/{id}"
tags: ["videos"]
---

# PUT /api/videos/{video_id}/images/{id}

`PUT /api/videos/{video_id}/images/{id}`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - API key in cookie `sessionid`

Editorial image metadata; image bytes are uploaded through tusd.

## Path parameters

- `id` integer, required
- `video_id` integer, required

## Request body

- ProgramImageRequest
  - `role` 'network_logo' | 'channel_logo' | 'show_logo' | 'show_still' | 'episode_still' | 'key_art_titled' | 'key_art_untitled' | 'behind_the_scenes' | 'location' | 'news_event' | 'portrait_headshot' | 'portrait_half_body' | 'portrait_full_body' | 'cast_ensemble', required: * `network_logo` - Network logo * `channel_logo` - Channel logo * `show_logo` - Show logo * `show_still` - Show still * `episode_still` - Episode still * `key_art_titled` - Key art with title * `key_art_untitled` - Key art without title * `behind_the_scenes` - Behind the scenes * `location` - Location * `news_event` - News event * `portrait_headshot` - Portrait, headshot * `portrait_half_body` - Portrait, half body * `portrait_full_body` - Portrait, full body * `cast_ensemble` - Cast ensemble

## Response `200`

- ProgramImage
  - `id` integer, required
  - `video` integer, required
  - `role` 'network_logo' | 'channel_logo' | 'show_logo' | 'show_still' | 'episode_still' | 'key_art_titled' | 'key_art_untitled' | 'behind_the_scenes' | 'location' | 'news_event' | 'portrait_headshot' | 'portrait_half_body' | 'portrait_full_body' | 'cast_ensemble', required: * `network_logo` - Network logo * `channel_logo` - Channel logo * `show_logo` - Show logo * `show_still` - Show still * `episode_still` - Episode still * `key_art_titled` - Key art with title * `key_art_untitled` - Key art without title * `behind_the_scenes` - Behind the scenes * `location` - Location * `news_event` - News event * `portrait_headshot` - Portrait, headshot * `portrait_half_body` - Portrait, half body * `portrait_full_body` - Portrait, full body * `cast_ensemble` - Cast ensemble
  - `filename` string, required
  - `mediaType` 'image/jpeg' | 'image/png' | 'image/webp', required: * `image/jpeg` - JPEG * `image/png` - PNG * `image/webp` - WebP
  - `width` integer, required
  - `height` integer, required
  - `url` string, required
  - `createdTime` string, date-time, required

## Other responses

- `400`
- `401`
- `403`
- `404`
- `405`
- `406`
- `415`
- `500`

## Changes

- **2026-08-27** `3761c2b166bb`: 2 breaking, 2 info
  - for the `path` request parameter `id`, the type changed from `string` to `integer`
  - for the `path` request parameter `video_id`, the type changed from `string` to `integer`
  - removed the pattern `^\d+$` from the `path` request parameter `id`
  - removed the pattern `^\d+$` from the `path` request parameter `video_id`
- **2026-08-21** `3eab16a32fda`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/changes/api/videos/:video_id/images/:id/put.md)

---

[API](https://skmtc.dev/frikanalen/apis/frikanalen-django-api.md) - [All operations](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/llms.txt) - [OpenAPI document](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/revisions/ebd4175e41fe?raw)
