Retrieves thing info
GEThttps://apis.<domain>/iot/things/:thingId
Authorization: http
name: bearerTokentype: httpscheme: bearerin: headerdescription: Authorization Header: `Authorization: Bearer <user_token>`
Retrieves thing info.
Authorization Action:
core:things:get
Request
Path Parameters
thingId uuidrequired
Unique thing identifier.
Responses
- 200
- 401
- 404
- 422
- 500
Data retrieved.
- application/json
- Schema
- Example (from schema)
Schema
id uuidrequired
Unique thing identifier generated by the service.
name string
Free-form thing name.
key uuidrequired
Auto-generated access key.
metadata object
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"key": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"metadata": {}
}
Unauthorized.
Thing not found.
Unprocessable entity.
Unexpected server error.
- application/json
- Schema
Schema
- string byte
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://apis.<domain>/iot/things/:thingId' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'