Get device by DevEui.
GET/v1/devices/:uuid
Returns a single device by DevEui. This operation can be accessed by the device or an admin.
Request
Path Parameters
The DevEui of the device to retrieve.
Unique identifier for the device.
Responses
- 200
- 400
- 401
- 403
- 422
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
A URL to the JSON Schema for this object.
data
object
required
Date and time the device was created.
Unique identifier for the person
Possible values: non-empty
and <= 80 characters
Name of device.
Date and time the device was updated.
{
"$schema": "string",
"data": {
"createdAt": "2024-05-28T11:44:09.273Z",
"devEui": "string",
"name": "string",
"updatedAt": "2024-05-28T11:44:09.273Z"
},
"status": 0,
"timestamp": "2024-05-28T11:44:09.273Z"
}
Bad Request
- application/problem+json
- Schema
- Example (from schema)
Schema
Array [
]
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
errors
object[]
Optional list of individual error details
Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
Default value: about:blank
A URI reference to human-readable documentation for the error.
{
"$schema": "string",
"detail": "string",
"errors": [
{
"location": "string",
"message": "string"
}
],
"instance": "string",
"status": 0,
"title": "string",
"type": "about:blank"
}
Unauthorized
- application/problem+json
- Schema
- Example (from schema)
Schema
Array [
]
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
errors
object[]
Optional list of individual error details
Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
Default value: about:blank
A URI reference to human-readable documentation for the error.
{
"$schema": "string",
"detail": "string",
"errors": [
{
"location": "string",
"message": "string"
}
],
"instance": "string",
"status": 0,
"title": "string",
"type": "about:blank"
}
Forbidden
- application/problem+json
- Schema
- Example (from schema)
Schema
Array [
]
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
errors
object[]
Optional list of individual error details
Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
Default value: about:blank
A URI reference to human-readable documentation for the error.
{
"$schema": "string",
"detail": "string",
"errors": [
{
"location": "string",
"message": "string"
}
],
"instance": "string",
"status": 0,
"title": "string",
"type": "about:blank"
}
Unprocessable Entity
- application/problem+json
- Schema
- Example (from schema)
Schema
Array [
]
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
errors
object[]
Optional list of individual error details
Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
Default value: about:blank
A URI reference to human-readable documentation for the error.
{
"$schema": "string",
"detail": "string",
"errors": [
{
"location": "string",
"message": "string"
}
],
"instance": "string",
"status": 0,
"title": "string",
"type": "about:blank"
}
Internal Server Error
- application/problem+json
- Schema
- Example (from schema)
Schema
Array [
]
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
errors
object[]
Optional list of individual error details
Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
Default value: about:blank
A URI reference to human-readable documentation for the error.
{
"$schema": "string",
"detail": "string",
"errors": [
{
"location": "string",
"message": "string"
}
],
"instance": "string",
"status": 0,
"title": "string",
"type": "about:blank"
}