get Device

get

Get a device under a registry

Authorizations
Path parameters
subscriptionIdstringRequired

Subscription ID

registryIdstringRequired

Registry ID

deviceIdstringRequired

Device ID

Responses
200
OK
application/json
get
GET /omnicore/subscriptions/{subscriptionId}/registries/{registryId}/devices/{deviceId} HTTP/1.1
Host: api.korewireless.com
Authorization: Bearer JWT
Accept: */*
{
  "id": "text",
  "name": "text",
  "numId": "text",
  "parent": "text",
  "registry": "text",
  "blocked": true,
  "capresent": true,
  "subscription": "text",
  "createdOn": "text",
  "updatedOn": "text",
  "credentials": [
    {
      "expirationTime": "text",
      "id": "text",
      "publicKey": {
        "format": "RSA_PEM",
        "key": "text"
      }
    }
  ],
  "gateway": [
    "text"
  ],
  "gatewayConfig": {
    "gatewayAuthMethod": "GATEWAY_AUTH_METHOD_UNSPECIFIED",
    "gatewayType": "NON_GATEWAY"
  },
  "isGateway": true,
  "deviceErrors": "text",
  "clientOnline": true,
  "lastConfigAckTime": "text",
  "lastConfigSendTime": "text",
  "lastErrorStatus": {
    "code": 1,
    "details": "text",
    "message": "text"
  },
  "lastErrorTime": "text",
  "lastEventTime": "text",
  "lastHeartbeatTime": "text",
  "lastStateTime": "text",
  "logLevel": "INFO",
  "metadata": {
    "ANY_ADDITIONAL_PROPERTY": "text"
  },
  "config": {
    "acknowledged": true,
    "binaryData": "text",
    "cloudUpdateTime": "text",
    "deviceAckTime": "text",
    "version": 1
  },
  "state": {
    "binaryData": "text",
    "updateTime": "text"
  },
  "policy": {
    "Connect": true,
    "PublishState": true,
    "PublishEvents": true,
    "PublishEventsRegex": "text",
    "PublishLoopback": true,
    "SubscribeCommand": true,
    "SubscribeCommandRegex": "text",
    "SubscribeBroadcast": true,
    "SubscribeBroadcastRegex": "text",
    "SubscribeConfig": true
  }
}

Authorization: apiKey

name: x-api-key
in: header
type: apiKey
curl -L -X GET 'https://api.korewireless.com/omnicore/subscriptions/:subscriptionId/registries/:registryId/devices/:deviceId' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-H 'x-api-key: <API_KEY_VALUE>'

Last updated