Retrieve a product video
Returns a single product video by its identifier.
get/product_video/{id}/
Authorizations
AuthorizationstringRequired
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
Path parameters
idintegerRequired
The unique identifier of the product video.
Responses
200
The requested product video.
application/json
A product video record.
pkintegerRead-onlyRequired
Unique identifier of the product video.
productintegerRequired
Identifier of the product the video belongs to.
videostringRequired
Reference to the stored video file.
orderintegerRequiredDefault:
Sort order used when listing a product's videos. Lower values appear first.
0401
Authentication credentials were not provided or are invalid.
application/json
403
The authenticated user does not have administrator privileges.
application/json
404
The requested product video does not exist.
application/json
get/product_video/{id}/
GET /api/v1/remote/1/product_video/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 7,
"product": 340,
"video": "product_videos/abc123.mp4",
"order": 0
}Last updated
Was this helpful?

