Light Services

List all versions of one benefit

GET
/products/{product}/benefits/{benefit}/versions

Authorization

bearerAuth
AuthorizationBearer <token>

Personal access token generated in the admin dashboard.

In: header

Path Parameters

product*integer

The product ID

benefit*integer

The benefit ID

Response Body

application/json

application/json

application/json

curl -X GET "http://localhost:8000/api/products/0/benefits/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"
}