---
title: "Wayline Upload Completion Notification"
method: POST
path: "/openapi/v2.0/wayline/finish-upload"
tags: ["Wayline/Wayline Management/Wayline Upload", "Wayline"]
---

# Wayline Upload Completion Notification

`POST /openapi/v2.0/wayline/finish-upload`

## Request

- Base URL: `` (relative, and it does not resolve against the document’s source URL)
- URL: `/openapi/v2.0/wayline/finish-upload`
- Auth: none required

After pushing the wayline upload completion notification to FlightHub 2, the FlightHub 2 wayline management page will display the uploaded wayline information; this interface also returns the name and UUID of the uploaded wayline file

## Headers

- `X-Request-Id` string, uuid
- `X-Language` 'zh' | 'en'
- `X-Project-Uuid` string, required
- `X-User-Token` string, required

## Request body

- object
  - `name` string, required: Wayline Alias, customizable
  - `object_key` string, required: Wayline Storage Object Unique Identifier

## Response `200`

- object
  - `code` integer, required: Non-zero Indicates Exception
  - `message` string, required: Message Prompt
  - `data` object, required: Business Data
    - `name` string, required: Wayline Alias
    - `uuid` string, required: Wayline ID

## Other responses

- `400`: Invalid request parameters (incorrect format, missing required fields, etc.)
- `401`: Authentication failed (token invalid or expired)
- `403`: Insufficient permission (token does not have the corresponding permission in this project/organization)
- `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)
