コンテンツにスキップ
sigiro
Esc
↑↓移動↵開く⌘Jプレビュー

List ingest keys

Every ingest key of the workspace, newest first, revoked ones included. The secret is never returned.

GET/v1/ingest-keys
認証
AuthorizationBearer トークン (prefixed-api-key) · header必須
レスポンス
200

The workspace's ingest keys

keysIngestKeyInfo[]必須
プロパティを表示
IngestKeyInfo の配列
created_atstring必須

RFC 3339.

created_bystring必須

Subject of the OAuth token that created the key.

idstring必須

Public key id: the middle part of sigiro_<id>_<secret>.

last_used_atstring | null

RFC 3339; updated at most once a minute per key.

namestring必須
revoked_atstring | null

RFC 3339; set once the key is revoked.

401

Missing or invalid bearer token

403

Not a user's own OAuth access token

リクエスト
curl -X GET '/v1/ingest-keys' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
レスポンス
{
  "keys": [
    {
      "created_at": "string",
      "created_by": "string",
      "id": "string",
      "last_used_at": "string",
      "name": "string",
      "revoked_at": "string"
    }
  ]
}

このページは役に立ちましたか?