Jira メタデータを検出する
POST /api/auth/jira/discover
正規オリジンのみです。POST には正確な Origin ヘッダーと application/json が必要です。ブラウザーセッションは HttpOnly、Secure、SameSite=Strict Cookie を使用します。設定セッションはテナント API にアクセスできません。テナントのプロビジョニングと全体監査にはプラットフォームオペレーターが必要で、メンバー管理にはテナント管理者が必要です。SSO は後日対応です。検証済みワークスペース管理者のブラウザーセッションが必要です。保存された許可で、認可されたサイト、プロジェクト、課題種別、作成フィールドメタデータを読み取ります。プロバイダーアクセス前に現在のプラットフォームアプリと認可所有者を検証し、各 await 後にローカル接続/許可/アクセスを再検査します。リフレッシュトークンのローテーションは永続的な単一更新取得を使用し、不確かな更新は再接続が必要です。プロジェクト/種別/フィールドは最大 50 件と nextStartAt オフセットを持ち、サイトは最大 100 件です。呼び出し元が選んだ cloudId は現在アクセス可能なリソースに存在する必要があります。課題は作成しません。save-target は以前の検出ページの projectProof と typeProof を受け付け、十分の有効期間とテナント/管理者/接続/許可/アプリの結合を検証し、プロバイダー由来のラベルと ID をアトミックに保存して接続リビジョンを mapping-required に進めます。異なるプロジェクトの選択を混在させたり、変更後に再利用したりできません。再認可は以前のターゲットを消去します。再接続が必要なプロバイダー失敗はブラウザーセッションを終了せず 409 を返し、クォータエラーは 429 と限定 Retry-After を返します。プロバイダートークンは返しません。start-fields は保存ターゲット用に 15 分のサーバー側カタログを作成します。load-fields は catalogId と startAt が必要で、制御ヒント、読み込み件数、完了状態付きの定義を最大 50 件返します。カタログはテナント、管理者、接続リビジョン、許可バージョン、プラットフォームアプリに結び付きます。競合や期限切れ後は再開始してください。カタログ上限は 1000 フィールド、100 ページ、8 MiB です。超過は完全性を主張せず明示的に失敗します。read-mapping は現在のブラウザー管理者に保存フィールドソースと定数を返します。save-mapping は catalogId と mappings を受け付け、完全なサーバーカタログで検証し、フィールドフィンガープリントと参照検証要件付きの設定を永続化して、接続リビジョン/状態を mapping-saved に進めます。連鎖選択定数は value.parentId と任意の value.childId を使用します。両 ID は現在のメタデータで有効で、子はその親に属する必要があります。構築された Jira フィールドは id と任意の child.id を使用します。課題を作成せず、課題準備完了を確立しません。ターゲット変更、再認可、切断は保存マッピングを削除します。check-reference は完了した現在のカタログ内のユーザー/親フィールドに catalogId、fieldId、value を受け付けます。選択された ID メタデータと実行した特定検査のみを返し、検証結果を保存せず、課題準備完了を保証しません。ユーザー検査には read:jira-user 同意が必要です。担当者はアクティブで対象プロジェクトに割り当て可能でなければならず、他ユーザーはアクティブでなければなりません。サブタスクの親は同じプロジェクトで参照可能な非サブタスクでなければなりません。標準課題の親検査は可視性のみを確立します。プロバイダーの各 await 後に権限とカタログ範囲を再検査します。prepare-task は catalogId、planId、expectedPlanVersion を受け付け、サーバータスク/現在証拠と保存マッピングから正確な課題フィールドプレビューを作成します。マッピングフィンガープリントは完全カタログと一致する必要があります。read-task-preview は previewId を受け付け、ソース/設定フィンガープリントを再検査します。接続当たり一つの五分間プレビューが前のものを置き換えます。コンテキスト、証拠、タスク、マッピング、カタログの変更は無効化します。プレビューは外部変更を行わず、現在の Jira 権限や課題準備完了を確立しません。search-parents は現在の親フィールドカタログが必要で、Jira 履歴と対象プロジェクト検索から平文の課題キー/タイトル候補を最大 50 件返します。プロバイダー HTML や URL は返しません。候補リストであり、網羅的インベントリや親互換性検査ではありません。検索を絞るか、正確なキーで check-reference を使用してください。search-users は read:jira-user と現在のユーザーフィールドカタログが必要で、メールアドレス、アバター、認証情報を除いた限定的な名前/アカウント ID 一致を返します。選択はフィールド権限を確立しません。
認証
以下の OpenAPI の選択肢は、受け付ける認証方式を示します。ブラウザーからの変更には、正規の Origin ヘッダーも必要です。
[
{
"browserSession": []
}
]
パラメーター
[]
リクエスト本文
{
"required": true,
"content": {
"application/json": {
"schema": {
"oneOf": [
{
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"operation": {
"type": "string",
"const": "sites"
}
},
"required": [
"connectionId",
"expectedRevision",
"operation"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"cloudId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"startAt": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"operation": {
"type": "string",
"const": "projects"
}
},
"required": [
"connectionId",
"expectedRevision",
"cloudId",
"operation"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"cloudId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"projectId": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"startAt": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"operation": {
"type": "string",
"const": "issue-types"
}
},
"required": [
"connectionId",
"expectedRevision",
"cloudId",
"projectId",
"operation"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"cloudId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"projectId": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"startAt": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"typeId": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"operation": {
"type": "string",
"const": "fields"
}
},
"required": [
"connectionId",
"expectedRevision",
"cloudId",
"projectId",
"typeId",
"operation"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"operation": {
"type": "string",
"const": "save-target"
},
"projectProof": {
"type": "string",
"minLength": 1,
"maxLength": 16384
},
"typeProof": {
"type": "string",
"minLength": 1,
"maxLength": 16384
}
},
"required": [
"connectionId",
"expectedRevision",
"operation",
"projectProof",
"typeProof"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"operation": {
"type": "string",
"const": "search-parents"
},
"catalogId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"fieldId": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"query": {
"type": "string",
"minLength": 2,
"maxLength": 100
}
},
"required": [
"connectionId",
"expectedRevision",
"operation",
"catalogId",
"fieldId",
"query"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"operation": {
"type": "string",
"const": "search-users"
},
"catalogId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"fieldId": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"query": {
"type": "string",
"minLength": 2,
"maxLength": 100
},
"startAt": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 950,
"multipleOf": 50
}
},
"required": [
"connectionId",
"expectedRevision",
"operation",
"catalogId",
"fieldId",
"query"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"operation": {
"type": "string",
"const": "check-reference"
},
"catalogId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"fieldId": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"connectionId",
"expectedRevision",
"operation",
"catalogId",
"fieldId",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"operation": {
"type": "string",
"const": "prepare-task"
},
"catalogId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"planId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedPlanVersion": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"connectionId",
"expectedRevision",
"operation",
"catalogId",
"planId",
"expectedPlanVersion"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"operation": {
"type": "string",
"const": "read-task-preview"
},
"previewId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"connectionId",
"expectedRevision",
"operation",
"previewId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"operation": {
"type": "string",
"const": "read-mapping"
}
},
"required": [
"connectionId",
"expectedRevision",
"operation"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"operation": {
"type": "string",
"const": "save-mapping"
},
"catalogId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"mappings": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_:.-]{0,99}$"
},
"additionalProperties": {
"oneOf": [
{
"type": "object",
"properties": {
"source": {
"type": "string",
"const": "constant"
},
"value": {}
},
"required": [
"source",
"value"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"source": {
"type": "string",
"enum": [
"plan-summary",
"plan-description",
"provider-default",
"omit"
]
}
},
"required": [
"source"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"connectionId",
"expectedRevision",
"operation",
"catalogId",
"mappings"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"operation": {
"type": "string",
"const": "start-fields"
}
},
"required": [
"connectionId",
"expectedRevision",
"operation"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"startAt": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"operation": {
"type": "string",
"const": "load-fields"
},
"catalogId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"connectionId",
"expectedRevision",
"operation",
"catalogId"
],
"additionalProperties": false
}
]
}
}
}
}
レスポンス
{
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"anyOf": [
{
"type": "object",
"properties": {
"items": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object"
}
},
"nextStartAt": {
"type": [
"integer",
"null"
],
"minimum": 0
}
},
"required": [
"items"
]
},
{
"$ref": "#/components/schemas/JiraConnection"
},
{
"type": "object",
"properties": {
"previewId": {
"type": "string",
"format": "uuid"
},
"planId": {
"type": "string",
"format": "uuid"
},
"planVersion": {
"type": "integer"
},
"fields": {
"type": "object",
"additionalProperties": true
},
"payloadHash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"unverifiedReferences": {
"type": "array",
"items": {
"type": "object"
}
},
"issueCreated": {
"const": false
}
},
"required": [
"previewId",
"planId",
"planVersion",
"fields",
"payloadHash",
"createdAt",
"expiresAt",
"unverifiedReferences",
"issueCreated"
]
},
{
"type": "object",
"properties": {
"kind": {
"enum": [
"user",
"parent"
]
},
"value": {
"type": "string"
},
"label": {
"type": "string"
},
"check": {
"enum": [
"assignable",
"active-user",
"subtask-parent",
"visible-issue"
]
},
"message": {
"type": "string"
}
},
"required": [
"kind",
"value",
"label",
"check",
"message"
]
},
{
"type": "object",
"properties": {
"mappings": {
"type": "object",
"additionalProperties": true
},
"savedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"referenceValidationPending": {
"type": "boolean"
}
},
"required": [
"mappings",
"savedAt",
"referenceValidationPending"
]
},
{
"type": "object",
"properties": {
"catalogId": {
"type": "string",
"format": "uuid"
},
"nextStartAt": {
"type": [
"integer",
"null"
],
"minimum": 0
},
"complete": {
"type": "boolean"
},
"loaded": {
"type": "integer",
"minimum": 0
},
"total": {
"type": [
"integer",
"null"
],
"minimum": 0
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"startAt": {
"type": "integer",
"minimum": 0
},
"items": {
"type": "array",
"maxItems": 50,
"items": {
"type": "object"
}
}
},
"required": [
"catalogId",
"nextStartAt",
"complete",
"loaded",
"total",
"expiresAt"
]
},
{
"type": "object",
"properties": {
"items": {
"type": "array",
"maxItems": 50,
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"summaryText": {
"type": "string"
}
},
"required": [
"key",
"summaryText"
]
}
},
"suggestionLimit": {
"const": 50
}
},
"required": [
"items",
"suggestionLimit"
]
},
{
"type": "object",
"properties": {
"items": {
"type": "array",
"maxItems": 50,
"items": {
"type": "object",
"properties": {
"accountId": {
"type": "string"
},
"displayName": {
"type": "string"
},
"active": {
"type": "boolean"
}
},
"required": [
"accountId",
"displayName",
"active"
]
}
},
"nextStartAt": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 950
},
"searchLimit": {
"const": 1000
},
"limitReached": {
"type": "boolean"
}
},
"required": [
"items",
"nextStartAt",
"searchLimit",
"limitReached"
]
}
]
}
}
}
},
"400": {
"description": "Validation error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
"description": "Missing/expired/revoked credential",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"403": {
"description": "Insufficient role",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
"description": "Not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"409": {
"description": "State or idempotency conflict",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"413": {
"description": "Body too large",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"415": {
"description": "Unsupported media type",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"429": {
"description": "Request budget exhausted; respect Retry-After",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
},
"headers": {
"Retry-After": {
"schema": {
"type": "integer",
"minimum": 1
},
"description": "Seconds until sufficient budget is expected; concurrent traffic may consume replenished capacity."
}
}
},
"500": {
"description": "Internal error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"503": {
"description": "Not configured",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
#/components/schemas/Asset などの参照は、共有スキーマで解決されます。クライアント生成には OpenAPI コントラクトをダウンロードしてください。このページは生成されたもので、計画中のエンドポイントではなく、実装済みの開発 API を説明します。