Skip to main content

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​

FieldType#Notes
labelstring1
expires_timestampstring2

IdsQueryRequest​

FieldType#Notes
idsstring1

MsaInstallationTokenResponse​

FieldType#Notes
metaMsaMeta1
errorsMsaError2
resourcesInstallationToken3

MsaInstallationTokenSecretResponse​

FieldType#Notes
metaMsaMeta1
errorsMsaError2
resourcesInstallationTokenSecret3

MsaStringResponse​

FieldType#Notes
metaMsaMeta1
errorsMsaError2
resourcesstring3

QueryTokensRequest​

FieldType#Notes
filterstring1
limitint322
offsetint323
sortstring4

UpdateTokenRequest​

FieldType#Notes
idstring1
labelstring2
expires_timestampstring3