v2 - Media
Request a signed URL for upload
Start the upload process by requesting a signed URL.
The frontend should:
1. Call this endpoint with filename and optional content_type
2. Use the returned signed_url to PUT the file directly to GCS
3. Call /v2/media/{media_id}/upload/complete when done
The signed URL is valid for 10 minutes.
post/v2/media/upload/request
Request
- Base URLhttps://api.jubjubapp.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Headers
Authorizationstring
X-JubJub-Service-Keystring
X-JubJub-Agent-Keystring
X-JubJub-Platform-Keystring
Originstring
Refererstring
X-JubJub-Trial-Tokenstring
Request body
Example request
{
"filename": "my_video.mp4",
"content_type": "video/mp4"
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.