Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

The Things Network / The Things Stack ClientRegistry API

The ClientRegistry API from The Things Network / The Things Stack — 8 operation(s) for clientregistry.

The Things Network / The Things Stack ClientRegistry API is one of 58 APIs that The Things Network / The Things Stack publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 9 JSON Schema definitions.

Tagged areas include ClientRegistry. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 9 JSON Schemas.

This API exposes 10 operations across 8 paths, and defines 16 schemas. It is described by OpenAPI 2.0, at version v3.36.

10 operations 8 paths 16 schemas 2 DELETE4 GET3 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 2.0
API Version
v3.36
Authentication
API Key
License
Resource Areas
1

Authentication & Security 1

The Things Network / The Things Stack ClientRegistry API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — Bearer API key. Set Authorization: Bearer NNSXS.xxxxxxxxxx.

Paths & Operations 10

Across 8 paths, the API surfaces 10 operations — 2 DELETE, 4 GET, 3 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

ClientRegistry 10
GET
/clients
List OAuth clients where the given user or organization is a direct collaborator. If no user or organization is given, this returns the OAuth clients the caller has access to. Similar to Get, this se…
ClientRegistry_List 8 params → 200default
PUT
/clients/{client.ids.client_id}
Update the OAuth client, changing the fields specified by the field mask to the provided values.
ClientRegistry_Update 2 params → 200default
GET
/clients/{client_ids.client_id}
Get the OAuth client with the given identifiers, selecting the fields specified in the field mask. More or less fields may be returned, depending on the rights of the caller.
ClientRegistry_Get 2 params → 200default
DELETE
/clients/{client_id}
Delete the OAuth client. This may not release the client ID for reuse.
ClientRegistry_Delete 1 param → 200default
DELETE
/clients/{client_id}/purge
Purge the client. This will release the client ID for reuse.
ClientRegistry_Purge 1 param → 200default
POST
/clients/{client_id}/restore
Restore a recently deleted client.
ClientRegistry_Restore 1 param → 200default
GET
/organizations/{collaborator.organization_ids.organization_id}/clients
List OAuth clients where the given user or organization is a direct collaborator. If no user or organization is given, this returns the OAuth clients the caller has access to. Similar to Get, this se…
ClientRegistry_List3 8 params → 200default
POST
/organizations/{collaborator.organization_ids.organization_id}/clients
Create a new OAuth client. This also sets the given organization or user as first collaborator with all possible rights.
ClientRegistry_Create2 2 params → 200default
GET
/users/{collaborator.user_ids.user_id}/clients
List OAuth clients where the given user or organization is a direct collaborator. If no user or organization is given, this returns the OAuth clients the caller has access to. Similar to Get, this se…
ClientRegistry_List2 8 params → 200default
POST
/users/{collaborator.user_ids.user_id}/clients
Create a new OAuth client. This also sets the given organization or user as first collaborator with all possible rights.
ClientRegistry_Create 2 params → 200default

Schemas 16

The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are v3Client (19 properties), v3ContactInfo (5 properties), googlerpcStatus (3 properties), v3UserIdentifiers (2 properties). Each schema is shown below with its type and property counts.

v3Clients
object
1 property
googlerpcStatus
object
3 properties
v3ClientRegistryUpdateBody
object
2 properties
v3ContactMethod
string
v3Right
string
Right is the enum that defines all the different rights to do something in the network. - RIGHTUSERINFO: The right to view user information. - RIGHTUSERSETTING…
v3ClientRegistryCreateBody
object
2 properties
v3ContactType
string
v3Client
object
An OAuth client on the network.
19 properties
v3UserIdentifiers
object
2 properties
v3State
string
State enum defines states that an entity can be in. - STATEREQUESTED: Denotes that the entity has been requested and is pending review by an admin. - STATEAPPR…
v3GrantType
string
The OAuth2 flows an OAuth client can use to get an access token. - GRANTAUTHORIZATIONCODE: Grant type used to exchange an authorization code for an access toke…
v3ContactInfo
object
5 properties
v3ClientIdentifiers
object
1 property
protobufAny
object
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides supp…
1 property
v3OrganizationOrUserIdentifiers
object
OrganizationOrUserIdentifiers contains either organization or user identifiers.
2 properties
v3OrganizationIdentifiers
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

the-things-network-clientregistry-api-openapi.yml Raw ↑

Other APIs The Things Network / The Things Stack publishes across the network.

The Things Network / The Things Stack AppAs API
The Things Network / The Things Stack ApplicationAccess API
The Things Network / The Things Stack ApplicationActivationSettingRegistry API
The Things Network / The Things Stack ApplicationPackageRegistry API
The Things Network / The Things Stack ApplicationPubSubRegistry API
The Things Network / The Things Stack ApplicationRegistry API
The Things Network / The Things Stack ApplicationUpStorage API
The Things Network / The Things Stack ApplicationWebhookRegistry API
The Things Network / The Things Stack As API
The Things Network / The Things Stack AsEndDeviceBatchRegistry API
The Things Network / The Things Stack AsEndDeviceRegistry API
The Things Network / The Things Stack ClientAccess API