1 つの Identity と Template に対する Identity Config を取得します。
GET /api/v1/forward/identities/{identity_id}/templates/{template_id}/config
保存された Forward Identity Config DSL を返します。これはオーバーライドレイヤーであり、コンパイルされたランタイム構成ではありません。
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <PAT または SAT> |
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
identity_id | string | Yes | Forward Identity ID。 |
template_id | string | Yes | Forward Template ID。 |
Example request
Example response
HTTP 200 OK
Response fields
| Field | Type | Description |
|---|---|---|
type | string | 常に config。 |
identity_id | string | Forward Identity ID。 |
template_id | string | Forward Template ID。 |
identity_config | object | 保存されたユーザーレベルのオーバーライド DSL。 |
metadata | object | カスタムメタデータ。 |
created_at | string | 作成タイムスタンプ。 |
updated_at | string | 更新タイムスタンプ。 |
Errors
| HTTP | Type | Code | 発生条件 |
|---|---|---|---|
| 401 | authentication_error | authentication_required | PAT または SAT が無効または期限切れです。 |
| 404 | not_found_error | - | Identity、Template、または Config が存在しません。 |
Notes
- コンパイルされたランタイム構成を確認するには Get Effective Config を使用してください。
- リソースマップ内の
enabled: falseは、継承された Template リソースを無効化します。 environment_variablesは保存されたset/unsetオーバーライド DSL を返します。コンパイル済みの値は Effective Config を参照してください。- GitHub リポジトリのオーバーライドでは、
url、mount_path、enabledなどの保存済みフィールドが返されますが、書き込み専用のauthorization_tokenは返されません。