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 GatewayAccess API

The GatewayAccess API from The Things Network / The Things Stack — 9 operation(s) for gatewayaccess.

The Things Network / The Things Stack GatewayAccess 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 GatewayAccess. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 9 JSON Schemas.

This API exposes 12 operations across 9 paths, and defines 15 schemas. It is described by OpenAPI 2.0, at version v3.36.

12 operations 9 paths 15 schemas 3 DELETE6 GET1 POST2 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 GatewayAccess 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 12

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

GatewayAccess 12
GET
/gateways/{gateway_ids.gateway_id}/api-keys
List the API keys for this gateway.
GatewayAccess_ListAPIKeys 5 params → 200default
POST
/gateways/{gateway_ids.gateway_id}/api-keys
Create an API key scoped to this gateway.
GatewayAccess_CreateAPIKey 2 params → 200default
PUT
/gateways/{gateway_ids.gateway_id}/api-keys/{api_key.id}
Update the rights of an API key of the gateway. This method can also be used to delete the API key, by giving it no rights. The caller is required to have all assigned or/and removed rights.
GatewayAccess_UpdateAPIKey 3 params → 200default
GET
/gateways/{gateway_ids.gateway_id}/api-keys/{key_id}
Get a single API key of this gateway.
GatewayAccess_GetAPIKey 3 params → 200default
DELETE
/gateways/{gateway_ids.gateway_id}/api-keys/{key_id}
Delete a single API key of this gateway.
GatewayAccess_DeleteAPIKey 3 params → 200default
GET
/gateways/{gateway_ids.gateway_id}/collaborator/organization/{collaborator.organization_ids.organization_id}
Get the rights of a collaborator (member) of the gateway. Pseudo-rights in the response (such as the "ALL" right) are not expanded.
GatewayAccess_GetCollaborator2 5 params → 200default
GET
/gateways/{gateway_ids.gateway_id}/collaborator/user/{collaborator.user_ids.user_id}
Get the rights of a collaborator (member) of the gateway. Pseudo-rights in the response (such as the "ALL" right) are not expanded.
GatewayAccess_GetCollaborator 5 params → 200default
GET
/gateways/{gateway_ids.gateway_id}/collaborators
List the collaborators on this gateway.
GatewayAccess_ListCollaborators 5 params → 200default
PUT
/gateways/{gateway_ids.gateway_id}/collaborators
Set the rights of a collaborator (member) on the gateway. This method can also be used to delete the collaborator, by giving them no rights. The caller is required to have all assigned or/and removed…
GatewayAccess_SetCollaborator 2 params → 200default
DELETE
/gateways/{gateway_ids.gateway_id}/collaborators/organization/{collaborator_ids.organization_ids.organization_id}
DeleteCollaborator removes a collaborator from a gateway.
GatewayAccess_DeleteCollaborator2 5 params → 200default
DELETE
/gateways/{gateway_ids.gateway_id}/collaborators/user/{collaborator_ids.user_ids.user_id}
DeleteCollaborator removes a collaborator from a gateway.
GatewayAccess_DeleteCollaborator 5 params → 200default
GET
/gateways/{gateway_id}/rights
List the rights the caller has on this gateway.
GatewayAccess_ListRights 2 params → 200default

Schemas 15

The contract defines 15 schemas that model the data the API accepts and returns. The most detailed are v3APIKey (7 properties), v3GatewayAccessCreateAPIKeyBody (4 properties), googlerpcStatus (3 properties), v3GatewayAccessUpdateAPIKeyBody (3 properties). Each schema is shown below with its type and property counts.

v3Rights
object
1 property
v3APIKey
object
7 properties
v3Collaborator
object
2 properties
googlerpcStatus
object
3 properties
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…
v3GatewayAccessCreateAPIKeyBody
object
4 properties
v3GatewayAccessUpdateAPIKeyBody
object
3 properties
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
v3UserIdentifiers
object
2 properties
v3APIKeys
object
1 property
v3Collaborators
object
1 property
v3GatewayAccessSetCollaboratorBody
object
2 properties
v3GetCollaboratorResponse
object
2 properties
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-gatewayaccess-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