api_keys

Protocol buffer definition for api_keys

sift/api_keys/v2/api_keys.proto

ApiKey

FieldTypeLabelDescription
api_key_idstring
namestring
created_dategoogle.protobuf.Timestamp
created_by_user_idstring
user_idstring

CreateApiKeyRequest

The request for a call to ApiKeyService.CreateApiKey.

FieldTypeLabelDescription
namestringThe name for the new ApiKey. Required.
user_idstring

CreateApiKeyResponse

FieldTypeLabelDescription
api_keyCreatedApiKey

CreatedApiKey

CreatedApiKey includes the key, which will only be returned on creation, so having a separate type makes the "never return the key a second time" semantics clear

FieldTypeLabelDescription
api_key_idstring
namestring
keystring
created_dategoogle.protobuf.Timestamp
created_by_user_idstring
user_idstring

DeleteApiKeyRequest

The request for a call to ApiKeyService.DeleteApiKey.

FieldTypeLabelDescription
api_key_idstring

DeleteApiKeyResponse

ListApiKeysRequest

The request for a call to ApiKeyService.ListApiKeys.

FieldTypeLabelDescription
page_sizeuint32The maximum number of api keys to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000.
page_tokenstringA page token, received from a previous ListApiKeys call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListApiKeys must match the call that provided the page token. | | filter | string | | A Common Expression Language (CEL) filter string. Available fields to filter by are api_key_id, user_id, created_by_user_id, and name. For further information about how to use CELs, please refer to this guide. For more information about the fields used for filtering, please refer to this definition. Optional. | | order_by | string | | How to order the retrieved channels. Formatted as a comma-separated string i.e. "FIELD_NAME[ desc],...". Available fields to order_by are name and created_date. If left empty, items are ordered by created_date in ascending order (oldest-first). For more information about the format of this field, read this Example: "name desc,created_date" |

ListApiKeysResponse

The result of a call to ApiKeyService.ListApiKeys.

FieldTypeLabelDescription
api_keysApiKeyrepeated
next_page_tokenstring

ApiKeyService

Method NameRequest TypeResponse TypeDescription
ListApiKeysListApiKeysRequestListApiKeysResponse
CreateApiKeyCreateApiKeyRequestCreateApiKeyResponse
DeleteApiKeyDeleteApiKeyRequestDeleteApiKeyResponse

On this page