---
title: "Get Media Resources from Flight Task"
method: GET
path: "/openapi/v2.0/flight-task/{task_uuid}/media"
tags: ["Flight Task/Task Query"]
---

# Get Media Resources from Flight Task

`GET /openapi/v2.0/flight-task/{task_uuid}/media`

## Request

- Base URL: `` (relative, and it does not resolve against the document’s source URL)
- URL: `/openapi/v2.0/flight-task/{task_uuid}/media`
- Auth: none required

Get the media resources produced by a flight task.

:::tip[]
- Currently supports image, video, and ppk resource types.
- Returns up to the first 10,000 resources.
:::

## Path parameters

- `task_uuid` string, required

## Headers

- `X-User-Token` string, required
- `X-Project-Uuid` string, required
- `X-Request-Id` string
- `X-Language` string

## Response `200`

Success

- object
  - `code` integer: Non-zero Indicates Exception
  - `message` string: Message Prompt
  - `data` object: Media Resource Data
    - `list` object[]: Media resource list (max 10000 items returned)
      - `uuid` string: Media File UUID
      - `name` string: Media File Name
      - `file_type` 'image' | 'video' | 'ppk' | 'model_2d' | 'model_3d' | 'unsupported': Media File Suffix
      - `suffix` string: Media File Suffix
      - `size` integer: Media File Size
      - `preview_url` string: - image: 200x200 thumbnail; - video: 200x200 thumbnail; - ppk: empty;
      - `original_url` string: Original File Download URL
      - `create_at` string, date-time: Media File Created At
      - `update_at` string, date-time: Media File Updated At

## Other responses

- `401`: Login Expired
- `404`: Flight Task Not Found
- `500`: Server Internal Error

---

[API](https://skmtc.dev/dji/apis/flighthub-2-openapi-v2-0-public-cloud.md) - [All operations](https://skmtc.dev/dji/apis/flighthub-2-openapi-v2-0-public-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/dji/apis/flighthub-2-openapi-v2-0-public-cloud/revisions/aeef0010be34?raw)
