テストされた機能と観測された使用の証拠を比較する
GET /api/v1/services/{id}/comparison
現在の不変の証拠を、アクティブまたはパッシブの役割ごとに独立してページ送りします。ソース、タイムスタンプ、証拠 ID を含みます。限定的なアクティブ TLS プローブの提示は、そのネゴシエーション済み/結論不能/ローカル利用不可の結果とは別で、検証済みのピア固定プロファイルの場合のみ含まれます。欠落値は null です。パッシブデータはアクティブの信頼を継承しません。失敗から未対応アルゴリズムを推測せず、異なる暗号名を正規化せず、通信量を推定せず、網羅的な機能を主張しません。
許可されるロール: admin, analyst, viewer.
認証
以下の OpenAPI の選択肢は、受け付ける認証方式を示します。ブラウザーからの変更には、正規の Origin ヘッダーも必要です。
[
{
"organizationCredential": []
},
{
"browserSession": []
}
]
パラメーター
[
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "role",
"in": "query",
"schema": {
"enum": [
"active",
"passive"
]
}
},
{
"name": "after",
"in": "query",
"schema": {
"type": "string",
"maxLength": 200
}
},
{
"name": "limit",
"in": "query",
"schema": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 25
}
}
]
リクエスト本文
リクエスト本文は定義されていません。
レスポンス
{
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"service": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"address": {
"type": "string"
},
"port": {
"type": "integer"
},
"transport": {
"enum": [
"TCP",
"QUIC"
]
},
"networkScope": {
"type": "string",
"format": "uuid"
}
},
"required": [
"id",
"name",
"address",
"port",
"transport",
"networkScope"
]
},
{
"type": "null"
}
]
},
"items": {
"type": "array",
"maxItems": 50,
"items": {
"$ref": "#/components/schemas/ServiceComparison"
}
},
"total": {
"type": "integer"
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"interpretation": {
"type": "string"
}
},
"required": [
"items",
"total",
"nextCursor",
"interpretation"
]
}
}
}
},
"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 を説明します。