Media
Finish an upload
POST
Marks the media ready so a post may use it. Send the dimensions if you know them: several platforms reject media whose aspect ratio they cannot check ahead of time.
header
AuthorizationBearer <token>Send your key as Authorization: Bearer eksis_sk_....
mediaId*stringapplication/json- body
width?integerRange
1 <= valueheight?integerRange
1 <= valuedurationMs?integerVideo only.
Range
0 <= valueThe media is ready.
application/json- response
data?curl -X POST 'https://api.eksis.io/v1/media/string/complete' \ -H 'Authorization: Bearer eksis_sk_...' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "id": "string", "filename": "string", "url": "http://example.com", "kind": "image", "mime": "string", "size": 0, "width": 0, "height": 0, "durationMs": 0, "status": "uploading", "createdAt": "2019-08-24T14:15:22Z" }}