- Home
- Models
- Device
Device
This model represents any devices that have registered by using our iOS/Android/Windows mobile application.
Device fields
Field |
Type |
Fillable |
Reference |
id
|
Integer
|
|
|
The unique ID to identify the device
|
Device relations
account,
responses,
user,
geoip,
Device endpoints
GET List all Devices /devices toggle
Paramaters
There are no parameters for this endpoint
Example response
GET Return data for a specified Device /devices/:id toggle
URL slugs
- id
-
Integer
The unique ID to identify the device
Paramaters
There are no parameters for this endpoint
Example response
POST Save, or update a Device /devices/:id? toggle
URL slugs
- id
-
Integer
The unique ID to identify the device
Paramaters
- app_version
-
String
Nullable
The current app version
- geoip_id
-
String
[No documentation available]
- label
-
String
Nullable
A label to help identify the device i.e. Matts iPad
- os_version
-
String
Nullable
The current operating system version
- type
-
String
Nullable
Type of device i.e. android, ipad, iphone, windows
- udid
-
String
Nullable
The unique identifier of the device
- user_id
-
Reference
Nullable
References user model.
DELETE Delete a Device /devices/:id toggle
URL slugs
- id
-
Integer
The unique ID to identify the device
Paramaters
There are no parameters for this endpoint