Light Docs

List all versions of a product

GET
/products/{product}/versions

Authorization

bearerAuth

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": 0,
      "version_number": "string",
      "title": "string",
      "changelog": "string",
      "file": "string",
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "file_name": "string"
    }
  ]
}
{
  "message": "string"
}
{
  "message": "string"
}