The Media API lets sellers to create, upload, and retrieve files, including:
- videos
- documents (for GPSR regulations)
video
Method Name | HTTP Method | Path | Summary | Samples |
---|---|---|---|---|
createVideo | POST | /video | Provides metadata for a video that will be uploaded via uploadVideo. | View createVideo - /video |
getVideo | GET | /video/{video_id} | Retrieves the details for a specified video. | View getVideo - /video/{video_id} |
uploadVideo | POST | /video/{video_id}/upload | Uploads a video based on a provided video input source file and video ID. | View uploadVideo - /video/{video_id}/upload |
document
Method Name | HTTP Method | Path | Summary | Samples |
---|---|---|---|---|
createDocument | POST | /document | Creates a document ID with metadata that is used to upload a document file. | View createDocument - /document |
getDocument | GET | /document/{document_id} | Retrieves the details and status of the specified document. | View getDocument - /document/{document_id} |
uploadDocument | POST | /document/{document_id}/upload | Uploads the document file associated with the specified document ID. | View uploadDocument - /document/{document_id}/upload |