---
title: "GET /admin/medias/{id}"
method: GET
path: "/admin/medias/{id}"
tags: ["Audio"]
---

# GET /admin/medias/{id}

`GET /admin/medias/{id}`

## Request

- Base URL: `http://localhost:4550`
- URL: `http://localhost:4550/admin/medias/{id}`
- Auth: none declared

Returns a representation of a media record

## Path parameters

- `id` integer, required: med_id

## Response `200`

OK

- AdminMediaResponse
  - `id` integer: med_id
  - `start_at` string, date-time
  - `end_at` string, date-time
  - `channel` integer: Channel number of the audio recording
  - `total_channels` integer: Number of channels making up the complete audio that this recording is part of
  - `media_type` string
  - `media_format` string: Media format of the audio recording
  - `file_size_bytes` integer: The size of the file in bytes
  - `filename` string: Filename of the audio recording
  - `media_object_id` string
  - `content_object_id` string
  - `clip_id` string
  - `checksum` string
  - `media_status` string
  - `is_hidden` boolean
  - `is_deleted` boolean
  - `is_current` boolean
  - `admin_action` AdminActionResponse
    - `id` integer: The admin action id
    - `reason_id` integer: The admin action reason id
    - `hidden_by_id` integer: The user that made the entity hidden
    - `hidden_at` string, date-time: The date and time that made the entity hidden
    - `is_marked_for_manual_deletion` boolean: The entity was manually marked for deletion
    - `marked_for_manual_deletion_by_id` integer: The user that marked the entity for deletion
    - `marked_for_manual_deletion_at` string, date-time: The date and time that the entity was marked for deletion
    - `ticket_reference` string: The ticket reference for the admin action
    - `comments` string: The comments for the admin action
  - `version` string
  - `chronicle_id` string
  - `antecedent_id` string
  - `retain_until` string, date-time
  - `created_at` string, date-time
  - `created_by_id` integer
  - `last_modified_at` string, date-time
  - `last_modified_by_id` integer
  - `courthouse` AdminMediaCourthouseResponse
    - `id` integer
    - `display_name` string
  - `courtroom` AdminMediaCourtroomResponse
    - `id` integer
    - `name` string
  - `cases` AdminMediaCaseResponseItem[]
    - `id` integer, nullable: The case id
    - `case_number` string: The case number
    - `source` 'Legacy' | 'Add Audio Metadata' | 'Add Audio Event Linking' | 'Audio Linking Task': The source of the case
    - `courthouse` object
      - `id` integer
      - `display_name` string
  - `hearings` AdminMediaHearingResponseItem[]
    - `id` integer
    - `is_data_anonymised` boolean
    - `case_id` integer
    - `case_number` string
    - `hearing_date` string, date
    - `courthouse` object
      - `id` integer
      - `display_name` string
    - `courtroom` object
      - `id` integer
      - `name` string

## Changes

- **2026-07-20** `f273786fb018`: 1 info
  - added the optional property `hearings/items/is_data_anonymised` to the response with the `200` status
- **2025-04-28** `d4cf7d652234`: 1 breaking
  - for the `path` request parameter `id`, the format changed from no format to `int64`
- **2024-12-23** `f01a5be51be8`: 4 info
  - added the optional property `cases` to the response with the `200` status
  - added the optional property `hearings/items/case_number` to the response with the `200` status
  - added the optional property `hearings/items/courthouse` to the response with the `200` status
  - added the optional property `hearings/items/courtroom` to the response with the `200` status
- **2024-11-25** `2835840dca1a`: 1 info
  - added the optional property `is_current` to the response with the `200` status
- **2024-07-04** `f40c7d61c948`: 1 warning
  - removed the optional property `reference_id` from the response with the `200` status

[Operation history](https://skmtc.dev/hm-courts-and-tribunals-service/apis/modernised-darts/changes/admin/medias/:id/get.md)

---

[API](https://skmtc.dev/hm-courts-and-tribunals-service/apis/modernised-darts.md) - [All operations](https://skmtc.dev/hm-courts-and-tribunals-service/apis/modernised-darts/llms.txt) - [OpenAPI document](https://skmtc.dev/hm-courts-and-tribunals-service/apis/modernised-darts/revisions/f273786fb018?raw)
