Devices
Get Device
Get device information by ID.
Parameters:
- device_id (PydanticObjectId): Device ID
- current_user (User): Authenticated user making the request
Returns:
- DeviceInfo: Device details
Raises:
- 404: If device not found or not owned by the current user
get/v2/devices/{device_id}
Request
- Base URLhttps://api.loyalty.dog
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
device_idstring required
Example:5eb7cf5a86d9755df3a6c593
Headers
authorizationstring nullable
Response
Successful Response
Changes
No recorded changes to this operation across all 7 revisions of this API.