HỢP ĐỒNG API THAM CHIẾU

QuantumSafe Web3 Migration Lab
Sản phẩm nghiên cứu

Đã công bố research API tham chiếu cho profile, simulation, verifier test và report.

MÔ HÌNH TÀI NGUYÊN

Endpoint có tên bám sát workflow sản phẩm.

Phương thứcEndpointMục đích
GET/v1/signature-profilesRead size and verification assumptions
POST/v1/simulations/transactionsModel transaction and block overhead
POST/v1/verifier-testsRecord runtime or contract verification result
POST/v1/reportsExport a repeatable experiment report

HEADER DÙNG CHUNG

Authorization: Bearer <token>
X-Correlation-Id: <uuid>
Idempotency-Key: <uuid>
X-Request-Timestamp: <RFC3339>
Content-Type: application/json

ENVELOPE REQUEST

{
  "profileId": "QS-W3-2026.07",
  "requestId": "5fda47cb-55c8-45a8-81a6-2dd1d1938b47",
  "mode": "controlled-evaluation",
  "evidenceRequired": true
}

MÔ HÌNH LỖI

  • 400 — Schema không hợp lệ hoặc profile chưa hỗ trợ
  • 401/403 — Từ chối authentication hoặc policy
  • 409 — Xung đột idempotency hoặc trạng thái
  • 422 — Chưa đáp ứng yêu cầu evidence hoặc compatibility
  • 503 — Dependency bảo vệ không sẵn sàng; fail-closed trừ khi được duyệt khác

QUẢN LÝ PHIÊN BẢN

  • Major version trong path khi thay đổi không tương thích.
  • Profile ID và evidence schema được version độc lập.
  • Deprecation cần thông báo, replacement path và project review.
  • Policy authentication/request signature chính xác phụ thuộc deployment.

LỘ TRÌNH TRIỂN KHAI

QuantumSafe Web3 Migration Lab

Xác minh API contract cùng test corpus và readiness passport.