OpenAPI リファレンス¶
DotID は公開 APaaS API ゲートウェイを通じて、公開 REST API を OpenAPI 3.1 仕様として提供します。本ページは、外部開発者向けスキーマと生成クライアントを参照するための出発点です。
Live reference¶
The public API reference is an aggregated, read-only Stoplight Elements page generated from DotID's real service OpenAPI documents and the public capability→route mapping:
Published reference: https://docs.flexgalaxy.ai/api/dotid/
https://api.flexgalaxy.ai redirects to the API-reference index (https://docs.flexgalaxy.ai/api/), which links to the DotID reference above.
Machine-readable spec: the same page serves its bundled OpenAPI document at https://docs.flexgalaxy.ai/api/dotid/_static/fg-stoplight/spec.yaml — fetch that to generate clients.
The reference is browsable — schemas, status codes, and examples — but does not send live requests. It is regenerated from the running services' specs on every docs deploy, so it always tracks the deployed API.
Each DotID service also publishes a service-local OpenAPI document at the
standard springdoc path /v3/api-docs (JSON) or /swagger-ui.html (interactive
UI). Those service-local paths are internal implementation details and are
not reachable through the public gateway; use the published reference above.
Identity API¶
公開 Identity API には公開 API ゲートウェイ経由でアクセスします。公開ルートではゲートウェイの機能プレフィックスのみを使用します。内部サービスのコントローラーパスは実装の詳細です。
/identity/v1/accounts/{account_id}/service-users...— non-human service users./identity/v1/accounts/{account_id}/policies...— policies./identity/v1/accounts/{account_id}/access-keys...— access keys (create, list, get, rotate, delete)./organizations/v1...— organizations, OUs, SCPs./identity/v1/organizations/{orgId}/identity-center/...— Identity Center workforce users and groups./identity/v1/organizations/{orgId}/permission-sets...— 権限セット。/identity/v1/organizations/{orgId}/account-assignments...— Identity Center のアカウント割り当て。
各エンドポイントのリクエストスキーマ、レスポンススキーマ、エラーカタログは、稼働中の仕様に完全に記載されています。
Audit サービスの仕様¶
公開 Audit API はゲートウェイの /audit/ プレフィックスを通じて公開されます:
/audit/v1/self— the caller's audit profile./audit/v1/accounts/{account_id}/events— paginated query over one account's audit log./audit/v1/events/{event_id}— single-event fetch by event ID.
DotID が何を決定し、その理由が何だったかを調査するために使用します。すべての PDP 決定と信頼ポリシーの変更によって監査イベントが生成されます。
バージョニング¶
DotID のすべての API は URL パス(/v1/、将来は /v2/ など)でバージョニングします。プラットフォームは Accept ヘッダーによるバージョニングを使用しません。バージョンは安定しており、v1 エンドポイントで任意のレスポンスフィールドが追加されることはありますが、既存フィールドの意味は変更されません。互換性のない変更は新しいメジャーバージョンとして提供されます。
OpenAPI snapshots for each release are published as the
openapi-snapshots-<tag-with-slashes-as-hyphens>.tar.gz asset on that release's
api/vX.Y.Z GitHub Release tag (plus its .sha256) — api/v1.0.0 ships
openapi-snapshots-api-v1.0.0.tar.gz; browse them at
https://github.com/SiriusVoyager/DotID/releases?q=api%2Fv. Pin your
generated clients to the snapshot version of the service you target, not "latest", to
keep CI deterministic. Every change to a committed baseline is checked against the last
release's snapshot by scripts/check-openapi-breaking.py (openapi-breaking.yml), so an
in-place breaking change fails CI instead of shipping, unless a reasoned declaration
(docs/openapi/breaking-change-declarations.json) authorises that one change.
内部 API とコンソール API¶
First-party console, admin-console, service-local, and service-to-service APIs are not part of this public API reference. Internal interactive references use Scalar behind insider docs authentication. The public developer reference is a read-only Stoplight Elements page generated from the public OpenAPI documents.