iOS — Initiate direct-to-S3 multipart upload for a new file slot
iOS — Initiate direct-to-S3 multipart upload for a new file slot
iOS-only. Step 1 of 2. Creates an S3 multipart upload session for a new file slot and returns presigned URLs (one per ~10 MB part) valid for 24 hours. After uploading every part to S3, call POST /deal-folder//files/complete with the returned session_id and per-part ETags. Accessible by athlete, brand, or agent.
POST
iOS — Initiate direct-to-S3 multipart upload for a new file slot
Authorizations
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
Path Parameters
Deal folder ID
Example:
12
Body
application/json
MilestonesAthleteRel ID this file belongs to.
Example:
88
Original file name (max 500 chars).
Example:
"reel.mp4"
File size in bytes. Max 250 MB (262144000 bytes).
Example:
8421376
MIME type of the file (max 255 chars).
Example:
"video/mp4"