Get connection-tokens

Prev Next
Get
/inventory/thingConnectionTokens

Retrieves the connection-tokens, or the details of a single one when the token parameter is provided.
A connection-token authorizes a device or a gateway to establish the connection with the cloud and publish data without using the credentials of a user.

Required permissions: READ_THING_CONNECTION_TOKENS.

Security
HTTP
Type bearer
Header parameters
X-Servitly-Tenant
stringRequired

The name of the tenant (e.g. acme).

Query parameters
token
string

The connection-token whose details must be retrieved. If omitted, all connection-tokens are retrieved.

Minimum1
Responses
200

Successful operation.

Array of object
object
id
string

The connection-token object identifier.

token
string

The token value.

description
string

The description associated with the connection-token at registration time.

timestamp
integer (int64)

The timestamp associated with the connection-token during the registration.

username
string

The username required to establish the connection with the cloud.

password
string

The password required to establish the connection with the cloud.

type
string
Valid values[ "SEMIOTY_THING_CONNECTOR", "EDC", "LEMONBEAT", "AZURE_SERVICE_BUS", "ALLEANTIA" ]
payloadFormat
string

The payload format of the messages exchanged with the cloud (default JSON).

Valid values[ "JSON" ]
assetId
string

The asset-id (e.g. MAC address).

path
string

The optional mapping path.

401

User not authenticated.

object
message
string

The error response.

ExampleUser not authenticated
403

User not authorized.

object
message
string

The error response.

ExampleUser not authorized
404

Resource was not found.

object
message
string

The error response.

ExampleResource not found
429

API call rate limit exceeded.

object
message
string

The error response.

ExampleAPI call rate limit exceeded
500

Internal server error.

object
message
string

The error response.

ExampleInternal Server Error