---
title: "Confirm an upload finished -- flips the asset to available once the object really exists"
method: POST
path: "/uploads/{mediaId}/complete"
tags: ["Media"]
---

# Confirm an upload finished -- flips the asset to available once the object really exists

`POST /uploads/{mediaId}/complete`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/uploads/{mediaId}/complete`
- Auth: HTTP bearer

## Path parameters

- `mediaId` string, uuid, required

## Response `200`

OK

- object
  - `data` object, required
    - `mediaAssetId` string, uuid, required
    - `status` 'available', required
  - `meta` object, required
    - `requestId` string, required

## Other responses

- `422`: Storage object doesn't exist yet -- upload not actually finished

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
