Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 11 Next »

Gets a device registry configuration.


You can find URL, SystemKey and Token required in the call by clicking on API Keys (key icon) at the top-right of the Registry Details page. Use the Registry Keys section.

HTTP request

GET {URL}/api/v/4/webhook/execute/{SystemKey}/cloudiot

Query parameters

Parameters

name

string

The name of the device registry. For example, projects/example-project/locations/us-central1/registries/my-registry

or

my-registry

Header parameters

Parameters

ClearBlade-UserToken

See note at start of this document on where to find Token.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of DeviceRegistry.


Example curl:

curl 'https://us-central1.clearblade.com/api/v/4/webhook/execute/aae9b9b30c8aa4e49081c7eeb9bb07/cloudiot?name=test-reg' -H 'ClearBlade-UserToken: {Token}'

OR

curl 'https://us-central1.clearblade.com/api/v/4/webhook/execute/aae9b9b30c8aa4e49081c7eeb9bb07/cloudiot?name=test-reg' -X GET -H 'ClearBlade-UserToken: {Token}'

Using the instructions at the start of this document, replace:
Replace https://us-central1.clearblade.com with your URL.
Replace aae9b9b30c8aa4e49081c7eeb9bb07 with your SystemKey.
Replace {Token} with your Token.

  • No labels