Start a chunked upload
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.
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.
apiKeyheader
AuthorizationBearer <token>API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.
application/json- body
file_name*stringLength
1 <= length <= 255mime_type*stringsize_bytes*integerRange
0 < valueCreated
application/json- response
media*part_size*numberpart_count*numbercurl -X POST 'https://socmed.growpaces.com/api/v1/media/uploads' \ -H 'Content-Type: application/json' \ -d '{ "file_name": "string", "mime_type": "string", "size_bytes": 1}'Example Response201
{ "media": { "id": "string", "type": "image", "page_count": 0, "status": "pending", "original_name": "string", "mime_type": "string", "size_bytes": 0, "width": 0, "height": 0, "duration_ms": 0, "frame_rate": 0, "fail_reason": "string", "alt_text": "string", "keep": true, "used_in_posts": 0, "expires_at": "string", "url": "string", "created_at": "string" }, "part_size": 0, "part_count": 0}