Skip to content

finish_upload

Finish an upload once its PUT is done: mixetape finds the file and reads its kind, width, height, orientation and duration. Answers the file. Safe to call again. Needs the storage permission. Also available as the MCP tool finish_upload.

POST
https://mixetape.com/api/v1/tools/finish_upload

Authorisation

  • apiKeyHTTPrequired

Request bodyJSONrequired

  • fileIdstringrequired

    From create_upload

Returns

200

The tool's result.

JSON
  • resultunknownrequired

    What the tool returns

400

The request is invalid; error says why.

JSON
  • errorstringrequired

    What went wrong, in plain words

401

No valid API key.

JSON
  • errorstringrequired

    What went wrong, in plain words

403

The key lacks the permission this needs.

JSON
  • errorstringrequired

    What went wrong, in plain words

404

Not found, or not yours.

JSON
  • errorstringrequired

    What went wrong, in plain words

Navigation

Type to search…

↑↓ navigate↵ selectEsc close