Get a device by ULID
GET/management/devices/ulid/:ulid
FindByULID handles HTTP requests to retrieve a single device by its ULID. It parses the "ulid" parameter from the request URL, validates it, and calls the deviceService to fetch the device. If the ULID is invalid, it returns a 422 Unprocessable Entity response. If the device is not found, it returns a 404 Not Found response. On success, it returns the device data with a 200 OK response.
Request
Responses
- 200
- 404
OK
Not Found