The video’s title, size, classification, and description are set using the createVideo method.
The video's playList contains two URLs that link to instances of the streaming video based on the supported protocol.
The status field contains the current status of the video. After a video upload is successfully completed, the video's status will show as
PROCESSING until the video reaches one of the terminal states of
If a video's processing fails, it could be because the file is corrupted, is too large, or its size doesn’t match what was provided in the metadata. Refer to the error messages to determine the cause of the video’s failure to upload.
The status message will indicate why a video was blocked from uploading.
The video’s expiration date is automatically set to 365 days (one year) after the video’s initial creation.
The video's thumbnail image is automatically generated when the video is created.
Resource URI (production)
HTTP request headers
This request requires an access token created with the authorization code grant flow, using one or more scopes from the following list (please check your Application Keys page for a list of OAuth scopes available to your application):
See OAuth access tokens for more information.
|classification||array of Classification||The intended use for this video content. The video’s classification is used to associate the video with a user or seller. Currently, the classification of all videos should be set to |
|description||string||The description of the video. The video description is an optional field that can be set using the createVideo method. |
|expirationDate||string||The expiration date of the video in Coordinated Universal Time (UTC). The video’s expiration date is automatically set to 365 days (one year) after the video’s initial upload. |
|playLists||array of Play||The playlist created for the uploaded video, which provides the streaming video URLs to play the video. The supported streaming video protocols are DASH (Dynamic Adaptive Streaming over HTTP) and HLS (HTTP Live Streaming). The playlist will only be generated if a video is successfully uploaded with a status of |
|playLists.protocol||ProtocolEnum||The protocol for the video playlist. Supported protocols are DASH (Dynamic Adaptive Streaming over HTTP) and HLS (HTTP Live Streaming). |
|playLists.playUrl||string||The playable URL for this video. |
|size||integer||The size, in bytes, of the video content. |
|status||VideoStatusEnum||The status of the current video resource. |
|statusMessage||string||The statusMessage field contains additional information on the status. For example, information on why processing might have failed or if the video was blocked. |
|thumbnail||Image||The URL of the thumbnail image of the video. The thumbnail image's URL must be an eBayPictureURL (EPS URL). |
|thumbnail.imageUrl||string||The URL to access this image. |
|title||string||The title of the video. |
|videoId||string||The unique ID of the video. |
For more on errors, plus the codes of other common errors, see Handling errors.
|190000||API_MEDIA||APPLICATION||There was a problem with an eBay internal system or process. Contact eBay developer support for assistance.|
|190001||API_MEDIA||REQUEST||The specified video_Id does not exist.|
New to making API calls? Please see Making a Call.
Note: Identifiers, such as order IDs or user IDs, and personal data in these samples might be anonymized or may no longer be active on eBay. If necessary, substitute current, relevant eBay data in your requests.