Identity と Template の Memory Store マウントを一覧取得します。
(identity, template) の有効な Memory Store マウントをページ単位で一覧取得します。既存のシステム管理のデフォルト Store も含みます。
デフォルト Store は常に先頭です。明示的なマウントはマウント時刻、Store ID の昇順で続き、同じ Store は一度だけ返されます。access は各マウントの現在の権限です。
ページングパラメータを省略すると先頭の 20 件を返します。has_more とカーソルでページを移動できます。
パス
GET /api/v1/forward/identities/{identity_id}/templates/{template_id}/memory_stores
ヘッダー
| ヘッダー | 必須 | 説明 |
|---|---|---|
Authorization | はい | Bearer <PAT, admin SAT, or SAT for this Identity> |
403 が返されます。
パスパラメータ
| パラメータ | 型 | 必須 | 説明 |
|---|---|---|---|
identity_id | string | はい | Identity ID(idn_...)。 |
template_id | string | はい | Template ID(tmpl_...)。 |
クエリパラメータ
| パラメータ | 型 | 必須 | 説明 |
|---|---|---|---|
limit | integer | いいえ | 1 ページの最大件数。1~100、デフォルトは 20。 |
after_id | string | いいえ | 次ページのカーソル。前ページの last_id(Store ID)を指定します。 |
before_id | string | いいえ | 前ページのカーソル。現在のページの first_id(Store ID)を指定します。after_id とは同時に指定できません。 |
リクエスト例
レスポンス例
HTTP 200 OK
空リストのレスポンス
有効なマウントがない場合は空リストを返します。
レスポンスフィールド
| フィールド | 型 | 説明 |
|---|---|---|
data | array | Memory Store マウントオブジェクトの配列。 |
first_id | string/null | 現在のページの先頭マウントの memory_store_id。 |
last_id | string/null | 現在のページの末尾マウントの memory_store_id。 |
has_more | boolean | 指定したページング方向にさらにレコードがあるかどうか。 |
エラー
| HTTP | Type | 発生条件 |
|---|---|---|
| 400 | invalid_request_error | パスまたはページングパラメータが無効、または after_id と before_id が同時に指定されています。 |
| 401 | authentication_error | 認証トークンがないか無効です。 |
| 403 | permission_error | Identity レベルの SAT が別の Identity を照会しようとしました。 |
| 404 | not_found_error | Identity または Template が存在しないか参照できない、またはカーソルが現在のスコープの有効なマウントではありません。 |
| 500/502/503 | api_error | Forward または依存サービスでエラーが発生しました。 |