InstallationTokensService
platform.v1.InstallationTokensService
InstallationTokensService is CID installation-token CRUD (secret once at create).
RPCs
QueryTokens
- Request:
QueryTokensRequest
- Response:
MsaStringResponse
- REST mapping:
GET /installation-tokens/queries/tokens/v1
GetTokens
- Request:
IdsQueryRequest
- Response:
MsaInstallationTokenResponse
- REST mapping:
GET /installation-tokens/entities/tokens/v1
CreateToken
- Request:
CreateTokenRequest
- Response:
MsaInstallationTokenSecretResponse
- REST mapping:
POST /installation-tokens/entities/tokens/v1
UpdateToken
- Request:
UpdateTokenRequest
- Response:
MsaInstallationTokenResponse
- REST mapping:
PATCH /installation-tokens/entities/tokens/v1
DeleteTokens
- Request:
IdsQueryRequest
- Response:
MsaStringResponse
- REST mapping:
DELETE /installation-tokens/entities/tokens/v1
Messages
CreateTokenRequest
| Field | Type | # | Notes |
|---|
label | string | 1 | |
expires_timestamp | string | 2 | |
IdsQueryRequest
| Field | Type | # | Notes |
|---|
ids | string | 1 | |
MsaInstallationTokenResponse
| Field | Type | # | Notes |
|---|
meta | MsaMeta | 1 | |
errors | MsaError | 2 | |
resources | InstallationToken | 3 | |
MsaInstallationTokenSecretResponse
| Field | Type | # | Notes |
|---|
meta | MsaMeta | 1 | |
errors | MsaError | 2 | |
resources | InstallationTokenSecret | 3 | |
MsaStringResponse
| Field | Type | # | Notes |
|---|
meta | MsaMeta | 1 | |
errors | MsaError | 2 | |
resources | string | 3 | |
QueryTokensRequest
| Field | Type | # | Notes |
|---|
filter | string | 1 | |
limit | int32 | 2 | |
offset | int32 | 3 | |
sort | string | 4 | |
UpdateTokenRequest
| Field | Type | # | Notes |
|---|
id | string | 1 | |
label | string | 2 | |
expires_timestamp | string | 3 | |