List all versions of a product
Includes the releases published to the product's options, which carry an option_id, so the listing covers every version the single version endpoint resolves.
Authorization
bearerAuth AuthorizationBearer <token>
Personal access token generated in the admin dashboard.
In: header
Path Parameters
product*integer
The product ID
Response Body
application/json
application/json
application/json
curl -X GET "http://localhost:8000/api/products/0/versions"{
"data": [
{
"id": 0,
"product_id": "string",
"option_id": 0,
"purchase_benefit_id": 0,
"benefit_name": "string",
"version_number": "string",
"title": "string",
"changelog": "string",
"download_url": "string",
"file_name": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
]
}{
"message": "string"
}{
"message": "string"
}