Appearance
Brand/Device Data
Get all Brands
GET /v1/brandsHeaders
Accept: application/json
Authorization: Bearer {YOUR_ACCESS_TOKEN}Response 200
json
{
"data": [
{
"type": "brand",
"id": 1,
"attributes": {
"name": "Apple"
},
"links": {
"self": "https://appx-api.mysticky.co.uk/api/v1/brands/1"
}
},
{
"type": "brand",
"id": 5,
"attributes": {
"name": "Samsung"
},
"links": {
"self": "https://appx-api.mysticky.co.uk/api/v1/brands/5"
}
}
]
}Get a Brand
GET /v1/brands/{id}Parameters
| Name | Type | Description | Example |
|---|---|---|---|
id | number | Brand ID | 5 (Samsung) |
Headers
Accept: application/json
Authorization: Bearer {YOUR_ACCESS_TOKEN}Response 200
json
{
"data": {
"type": "brand",
"id": 5,
"attributes": {
"name": "Samsung"
},
"links": {
"self": "https://appx-api.mysticky.co.uk/api/v1/brands/5"
}
}
}Get all Brand Devices
GET /v1/brands/{id}/devicesParameters
| Name | Type | Description | Example |
|---|---|---|---|
id | number | Brand ID | 1 (Apple) |
Headers
Accept: application/json
Authorization: Bearer {YOUR_ACCESS_TOKEN}- Results are paginated.
- Max. 15 devices per page.
- Navigation meta is provided.
If you need more flexibility, for example sorting and filtering see the /devices endpoint below.
Response 200
json
{
"data": [
{
"type": "device",
"id": 2,
"attributes": {
"sku": "APPIPHONE15PROMAX1TB",
"model": "iPhone 15 Pro Max 1TB",
"brandModel": "Apple iPhone 15 Pro Max 1TB",
"brandName": "Apple",
"brandId": 1,
"deviceType": "Mobile",
"deviceTypeId": 1,
"createdAt": "2024-07-26T13:31:54.000000Z",
"updatedAt": "2024-08-22T13:19:45.000000Z"
},
"links": {
"self": "https://appx-api.mysticky.co.uk/api/v1/devices/2",
"brand": "https://appx-api.mysticky.co.uk/api/v1/brands/1",
"devices": "https://appx-api.mysticky.co.uk/api/v1/brands/1/devices"
}
},
{
"type": "device",
"id": 5,
"attributes": {
"sku": "APPWATCHS8AL41MMG",
"model": "Watch Series 8 GPS Aluminium 41mm",
"brandModel": "Apple Watch Series 8 GPS Aluminium 41mm",
"brandName": "Apple",
"brandId": 1,
"deviceType": "Watch",
"deviceTypeId": 3,
"createdAt": "2024-07-26T13:31:54.000000Z",
"updatedAt": "2024-07-26T13:31:54.000000Z"
},
"links": {
"self": "https://appx-api.mysticky.co.uk/api/v1/devices/5",
"brand": "https://appx-api.mysticky.co.uk/api/v1/brands/1",
"devices": "https://appx-api.mysticky.co.uk/api/v1/brands/1/devices"
}
}
],
"links": {
"first": "https://appx-api.mysticky.co.uk/api/v1/brands/1/devices?page=1",
"last": "https://appx-api.mysticky.co.uk/api/v1/brands/1/devices?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://appx-api.mysticky.co.uk/api/v1/brands/1/devices?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "https://appx-api.mysticky.co.uk/api/v1/brands/1/devices",
"per_page": 15,
"to": 2,
"total": 2
}
}