API ReferenceMedia
Upload a part
Upload one part (raw bytes in the body) of a chunked upload
PUT
Upload one part (raw bytes in the body) of a chunked upload
apiKeyheader
AuthorizationBearer <token>API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.
id*stringFormat
uuidpart*integerRange
1 <= valueOK
application/json- response
part*numbersize_bytes*numbercurl -X PUT 'https://socmed.growpaces.com/api/v1/media/497f6eca-6276-4993-bfeb-53cbbbba6f08/parts/1'Example Response200
{ "part": 0, "size_bytes": 0}Start a chunked upload POST
Start a chunked upload: PUT each part (part_size bytes, the last one shorter) to /media/{id}/parts/{n}, then call complete. Parts can be sent again and in any order.
Complete an upload POST
Tell the server the upload finished (parts are joined first); the file is checked in the background