Reserve a file Source and receive a scoped upload URL
POST
bearerAuthheader
AuthorizationBearer <token>API key issued from /settings/api-keys in the Jellypod studio. Send as Authorization: Bearer <key>.
application/json- body
file_name*stringLength
1 <= length <= 255mime_type*stringprepare_visuals?booleanDeprecatedDeprecated compatibility field. Source preparation is automatic.
Default
falsesize_bytes*integerRange
0 < value <= 104857600title?stringLength
1 <= length <= 500Upload slot reserved. PUT raw file bytes to upload.url with the returned headers, then POST complete_path. File content is processed asynchronously.
application/json- response
data*curl -X POST 'https://api.jellypod.com/v1/sources/uploads' \ -H 'Content-Type: application/json' \ -d '{ "file_name": "string", "mime_type": "string", "size_bytes": 1}'{ "data": { "complete_path": "string", "source": { "created_at": "string", "error_message": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "metadata": null, "status": "string", "title": "string", "type": "string", "updated_at": "string" }, "upload": { "expires_at": "2019-08-24T14:15:22Z", "headers": { "content-type": "string" }, "method": "PUT", "url": "http://example.com" } }}Was this page helpful?