Media
Complete an MCP local-file upload
Upload raw file bytes to the short-lived target returned by the MCP upload_media tool when called without a URL. Send the returned upload token as Authorization: Bearer … and the exact returned Content-Type. This endpoint does not accept a PostLake API key and is not called until upload_media has prepared a media id and target.
put/media/upload
Request
- Base URL: https://api.postlake.dev
- URL: https://api.postlake.dev/media/upload
- Auth: bearerAuth (a scheme the document does not define)
Response
Uploaded; returns the MediaAsset whose id is ready for create_post
Changes
No recorded changes to this operation across all 1 revision of this API.