API 整合導入

B2B

合作夥伴申請 → 審查 → 核發金鑰 → 沙箱測試 → 正式上線。

5 個節點 · 4 條連接platform
humansystemapi
視覺化
合作夥伴申請human

提交公司詳情、使用案例及預估流量。

sequential審查申請
審查申請human
sequential核發 API 憑證
核發 API 憑證system

產生 API 金鑰、設定速率限制及存取範圍。

sequential沙箱測試
沙箱測試cicd

合作夥伴在沙箱環境中執行整合測試。

conditional開通正式環境存取
開通正式環境存取system
uc-api-onboarding.osop.yaml
osop_version: "1.0"
id: "api-onboarding"
name:"API 整合導入"
description:"合作夥伴申請 → 審查 → 核發金鑰 → 沙箱測試 → 正式上線。"

nodes:
  - id: "partner_request"
    type: "human"
    subtype: "input"
    name: "合作夥伴申請"
    description: "提交公司詳情、使用案例及預估流量。"

  - id: "review"
    type: "human"
    subtype: "review"
    name: "審查申請"
    timeout_sec: 259200
    security:
      approval_gate: true

  - id: "issue_keys"
    type: "system"
    name: "核發 API 憑證"
    description: "產生 API 金鑰、設定速率限制及存取範圍。"

  - id: "sandbox"
    type: "cicd"
    subtype: "test"
    name: "沙箱測試"
    description: "合作夥伴在沙箱環境中執行整合測試。"
    timeout_sec: 604800

  - id: "go_live"
    type: "system"
    name: "開通正式環境存取"
    security:
      risk_level: "high"
      approval_gate: true

edges:
  - from: "partner_request"
    to: "review"
    mode: "sequential"
  - from: "review"
    to: "issue_keys"
    mode: "sequential"
  - from: "issue_keys"
    to: "sandbox"
    mode: "sequential"
  - from: "sandbox"
    to: "go_live"
    mode: "conditional"
    when: "tests.passed == true"