API参考¶
此页面是 TrustMint thingmake 服务的 工厂表面 的 HTTP 参考。它呈现生成的 OpenAPI 快照 services/thingmake/docs/openapi/thingmake-openapi.yaml — 由 cmd/openapi-snapshot-gen 生成的单一事实来源。不要从这里转录操作;如果出现问题,请修复生成器并重新生成(请参阅贡献)。
四个工厂端点组¶
工厂集成商针对四组端点进行工作:
分组 |
前缀 |
它的作用 |
|---|---|---|
factory-services |
|
注册并管理您的工厂服务后端;轮换其凭证;进行健康检查并将其排干。 |
things |
|
Drive a device through its lifecycle — provision, activate, deactivate, and DELETE (annihilation) — and read its state. |
state-changes |
|
轮询状态更改源(并管理 |
identity-blacklist |
|
黑名单身份查询和管理;拉取签名快照+增量以进行边缘执行。 |
Prefix note: the embedded OpenAPI paths below are the INTERNAL service routes (
/api/v1/...); the edge publishes them under the capability prefixes above (/provisioning/v1/...etc. — see the capability map, rule 5: the raw/api/v1export is a declared pending migration, 07.20).
things-auditis the thing's STATE-TRANSITION history.GET /provisioning/v1/things/{thing_id}/auditreads the state-transition audit only; business events such as enrollment are in the platform audit chain and do not appear here. A tenant read of the chain by target FRN is tracked in trustmint#525.
下载原始规格¶
对于工具导入(Postman、openapi-generator、您自己的客户端代码生成器),请直接下载原始生成的规范:
OpenAPI (YAML):
thingmake-openapi.yamlJSON形式:
services/thingmake/docs/openapi/thingmake-openapi.json
渲染参考¶
.. http:post:: /api/v1/admin/capability-artifacts/{capability_artifact_id}/revoke
- 概要:
Revoke ANY account's capability artifact — platform-scope operator decision (tenant revoke unchanged)
Revoke ANY account's capability artifact — platform-scope operator decision (tenant revoke unchanged)
PDP动作:
thingmake:Registrar:Reject- param string capability_artifact_id:
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "artifact_id": "string", "revoked_at": "2026-11-26T01:06:51.363630", "revoked_by": "string", "status": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/admin/deckload/delivery-diagnostics
- 概要:
Cross-tenant device-delivery diagnostics: lookup by delivery, device or tenant with live-slot conflict history (platform-operator; read-only; every read audited)
Cross-tenant device-delivery diagnostics: lookup by delivery, device or tenant with live-slot conflict history (platform-operator; read-only; every read audited)
PDP action:
thingmake:Delivery:InspectAt least one anchor (deliveryId, thingId or accountId) is REQUIRED: this is an anchored cross-tenant index, never a browse of every tenant's devices. Every read commits its access-audit row in the SAME transaction and is refused with DELIVERY_DIAGNOSTICS_AUDIT_UNAVAILABLE (503) when that row cannot be written.
请求示例:
.. 源代码:: http
GET /api/v1/admin/deckload/delivery-diagnostics HTTP/1.1 Host: example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "auditEventIds": [ "string" ], "limit": 1, "matches": [ { "accountId": "string", "artifact": {}, "authorizingPolicyId": "string", "callerCorrelationId": "string", "callerService": "string", "cancelledAt": "2026-11-26T01:06:51.363630", "createdAt": "2026-11-26T01:06:51.363630", "deliveryId": "string", "failedTargetCount": 1, "liveTargetCount": 1, "oldestLiveTargetUpdatedAt": "2026-11-26T01:06:51.363630", "slot": "string", "status": "REGISTERED", "targetCount": 1, "targetMode": "DEVICES", "thingIds": [ "string" ], "updatedAt": "2026-11-26T01:06:51.363630" } ], "thingIdsTruncated": true }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 503:
服务不可用
响应示例:
.. 源代码:: http
HTTP/1.1 503 服务不可用内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/admin/deckload/delivery-diagnostics/{delivery_id}
- 概要:
Cross-tenant recovery inspection of ONE delivery: four per-device truths, queue state, slot-conflict history and a READ-ONLY recovery summary (platform-operator; audited)
Cross-tenant recovery inspection of ONE delivery: four per-device truths, queue state, slot-conflict history and a READ-ONLY recovery summary (platform-operator; audited)
PDP action:
thingmake:Delivery:InspectThe inspection grants no mutating verb: cancel and status-reports stay on the workload door, so a recovery inspection is possible with a grant that cannot write. The response names hasInFlightWork and allTargetsTerminal; the recovery decision is taken by the caller who owns the delivery.
- param string delivery_id:
请求示例:
.. 源代码:: http
GET /api/v1/admin/deckload/delivery-diagnostics/{delivery_id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "auditEventIds": [ "string" ], "conflicts": [ {} ], "delivery": {}, "queue": {}, "recovery": {} }- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 503:
服务不可用
响应示例:
.. 源代码:: http
HTTP/1.1 503 服务不可用内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/enrollments
- 概要:
List manufacturers — the platform-operator queue, newest first (?state=&limit=&cursor; keyset paged, exact total)
List manufacturers — the platform-operator queue, newest first (?state=&limit=&cursor; keyset paged, exact total)
PDP action:
thingmake:FactoryRegistration:List请求示例:
.. 源代码:: http
GET /api/v1/enrollments HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "has_more": true, "items": [ { "account_id": "string", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "display_name": "string", "id": "string", "reason": "string", "requested_at": "2026-11-26T01:06:51.363630", "requested_by": "string", "state": "string" } ], "next_cursor": "string", "total": 1 }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/admin/deckload/models/{model_id}/conflicts
- 概要:
Read a Model's binding log — which Registrars claimed it, which binds were refused and why, newest first (operator-only; platform-scope)
Read a Model's binding log — which Registrars claimed it, which binds were refused and why, newest first (operator-only; platform-scope)
PDP动作:
thingmake:Model:Read- param string model_id:
请求示例:
.. 源代码:: http
GET /api/v1/admin/deckload/models/{model_id}/conflicts HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "bound_registrars": [ "string" ], "has_more": true, "items": [ { "actor": "string", "at": "2026-11-26T01:06:51.363630", "id": 1, "kind": "string", "model_id": "string", "refusal_type": "string", "registrar_id": "string" } ], "next_cursor": "string", "refused_count": 1 }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/access-requests
- 概要:
List qualification requests across accounts, oldest first — the operator decision queue (?state=&limit=) (operator-only; platform-scope)
List qualification requests across accounts, oldest first — the operator decision queue (?state=&limit=) (operator-only; platform-scope)
PDP动作:
thingmake:FactoryService:List请求示例:
.. 源代码:: http
GET /api/v1/access-requests HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "created_by": "string", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "decision_reason": "string", "evidence": "string", "id": 1, "model_id": "string", "qualification_id": 1, "region": "string", "registrar_id": "string", "state": "string" } ] }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/admin/manufacturer-qualification-requests/{review_id}/approve
- 概要:
Approve a qualification request — the qualification is created in the same transaction (operator-only; platform-scope; step-up)
Approve a qualification request — the qualification is created in the same transaction (operator-only; platform-scope; step-up)
PDP动作:
thingmake:FactoryService:Drain- param string review_id:
请求示例:
.. 源代码:: http
POST /api/v1/admin/manufacturer-qualification-requests/{review_id}/approve HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "qualification": { "account_id": "string", "id": 1, "model_id": "string", "qualified_at": "2026-11-26T01:06:51.363630", "qualified_by": "string", "region": "string", "registrar_id": "string", "revoked_at": "2026-11-26T01:06:51.363630", "revoked_by": "string", "state": "string" }, "request": { "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "created_by": "string", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "decision_reason": "string", "evidence": "string", "id": 1, "model_id": "string", "qualification_id": 1, "region": "string", "registrar_id": "string", "state": "string" } }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/admin/manufacturer-qualification-requests/{review_id}/reject
- 概要:
Reject a qualification request with a mandatory audited reason; no qualification is created (operator-only; platform-scope)
Reject a qualification request with a mandatory audited reason; no qualification is created (operator-only; platform-scope)
PDP动作:
thingmake:AccessRequest:Reject- param string review_id:
请求示例:
.. 源代码:: http
POST /api/v1/admin/manufacturer-qualification-requests/{review_id}/reject HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "created_by": "string", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "decision_reason": "string", "evidence": "string", "id": 1, "model_id": "string", "qualification_id": 1, "region": "string", "registrar_id": "string", "state": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/access-requests
- 概要:
List manufacturer qualifications across accounts (?account_id=&state=&limit=) — the post-deploy verification read (operator-only)
List manufacturer qualifications across accounts (?account_id=&state=&limit=) — the post-deploy verification read (operator-only)
PDP动作:
thingmake:FactoryService:List请求示例:
.. 源代码:: http
GET /api/v1/access-requests HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "account_id": "string", "id": 1, "model_id": "string", "qualified_at": "2026-11-26T01:06:51.363630", "qualified_by": "string", "region": "string", "registrar_id": "string", "revoked_at": "2026-11-26T01:06:51.363630", "revoked_by": "string", "state": "string" } ] }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /provisioning/v1/factory-services
- 概要:
Grant a manufacturer qualification directly, without a request (operator-only; platform-scope; step-up)
Grant a manufacturer qualification directly, without a request (operator-only; platform-scope; step-up)
PDP动作:
thingmake:FactoryService:Drain请求示例:
.. 源代码:: http
POST /api/v1/registrars HTTP/1.1 主机:example.com 内容类型:application/json
{ "account_id": "string", "model_id": "string", "region": "string", "registrar_id": "string" }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "account_id": "string", "id": 1, "model_id": "string", "qualified_at": "2026-11-26T01:06:51.363630", "qualified_by": "string", "region": "string", "registrar_id": "string", "revoked_at": "2026-11-26T01:06:51.363630", "revoked_by": "string", "state": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/admin/manufacturer-qualifications/{manufacturer_qualification_id}/revoke
- 概要:
Revoke an ACTIVE manufacturer qualification; the reason is mandatory and audited, and revocation is a recorded state rather than a delete (operator-only; step-up)
Revoke an ACTIVE manufacturer qualification; the reason is mandatory and audited, and revocation is a recorded state rather than a delete (operator-only; step-up)
PDP动作:
thingmake:FactoryService:Create- param string manufacturer_qualification_id:
请求示例:
.. 源代码:: http
POST /api/v1/admin/manufacturer-qualifications/{manufacturer_qualification_id}/revoke HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "id": 1, "model_id": "string", "qualified_at": "2026-11-26T01:06:51.363630", "qualified_by": "string", "region": "string", "registrar_id": "string", "revoked_at": "2026-11-26T01:06:51.363630", "revoked_by": "string", "state": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/registrars
- 概要:
List registrars in EVERY account — platform-scope operator read (tenant list unchanged)
List registrars in EVERY account — platform-scope operator read (tenant list unchanged)
PDP动作:
thingmake:Registrar:List请求示例:
.. 源代码:: http
GET /api/v1/registrars HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "account_id": "string", "approved_at": "2026-11-26T01:06:51.363630", "approved_by": "string", "config": {}, "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "model_id": "string", "name": "string", "provisioning": { "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630" }, "provisioning_override_history": [ { "actor_id": "string", "changed_at": "2026-11-26T01:06:51.363630", "correlation_id": "string", "next": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" }, "previous": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" } } ], "region_restrictions": [ { "region": "string", "since": "2026-11-26T01:06:51.363630", "state": "string" } ], "state": "string" } ], "next_cursor": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrars/{id}/approve
- 概要:
Approve a registrar in ANY account — platform-scope operator decision (existing tenant route unchanged)
Approve a registrar in ANY account — platform-scope operator decision (existing tenant route unchanged)
PDP动作:
thingmake:Registrar:Approve- 参数字符串id:
请求示例:
.. 源代码:: http
POST /api/v1/admin/registrars/{id}/approve HTTP/1.1 Host: example.com Content-Type: application/json { "note": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "approved_at": "2026-11-26T01:06:51.363630", "approved_by": "string", "config": {}, "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "model_id": "string", "name": "string", "provisioning": { "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630" }, "provisioning_override_history": [ { "actor_id": "string", "changed_at": "2026-11-26T01:06:51.363630", "correlation_id": "string", "next": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" }, "previous": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" } } ], "region_restrictions": [ { "region": "string", "since": "2026-11-26T01:06:51.363630", "state": "string" } ], "state": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrars/{id}/reject
- 概要:
Reject a registrar in ANY account — platform-scope operator decision (existing tenant route unchanged)
Reject a registrar in ANY account — platform-scope operator decision (existing tenant route unchanged)
PDP动作:
thingmake:Registrar:Reject- 参数字符串id:
请求示例:
.. 源代码:: http
POST /api/v1/admin/registrars/{id}/reject HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "approved_at": "2026-11-26T01:06:51.363630", "approved_by": "string", "config": {}, "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "model_id": "string", "name": "string", "provisioning": { "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630" }, "provisioning_override_history": [ { "actor_id": "string", "changed_at": "2026-11-26T01:06:51.363630", "correlation_id": "string", "next": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" }, "previous": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" } } ], "region_restrictions": [ { "region": "string", "since": "2026-11-26T01:06:51.363630", "state": "string" } ], "state": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/provisioning-runs
- 概要:
Search thing manufacturing provenance (operator-only; platform-scope)
Search thing manufacturing provenance (operator-only; platform-scope)
PDP动作:
thingmake:Thing:List请求示例:
.. 源代码:: http
GET /api/v1/provisioning-runs HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "current_owner_account_id": "string", "current_registrar_id": "string", "is_virtual": true, "linked_operation_ids": [ "string" ], "model_display_name": "string", "model_frn": "string", "model_id": "string", "null_reasons": {}, "origin_account_id": "string", "origin_recorded_at": "2026-11-26T01:06:51.363630", "origin_registrar_id": "string", "origin_source": "string", "provisioning_implementation": "string", "provisioning_version": "string", "region": "string", "registered_at": "2026-11-26T01:06:51.363630", "registration_principal": "string", "serial": "string", "state": "string", "thing_id": "string" } ], "next_cursor": "string", "null_reasons": {} }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/admin/thing-provenance/{thing_id}
- 概要:
Read one thing's provenance and its full correction history (operator-only)
Read one thing's provenance and its full correction history (operator-only)
PDP动作:
thingmake:Thing:Read- param string thing_id:
请求示例:
.. 源代码:: http
GET /api/v1/admin/thing-provenance/{thing_id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "corrections": [ { "applied_at": "2026-11-26T01:06:51.363630", "corrected_value": "string", "correlation_id": "string", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "decision_reason": "string", "field": "string", "id": "string", "original_value": "string", "reason": "string", "requested_at": "2026-11-26T01:06:51.363630", "requested_by": "string", "status": "string", "thing_id": "string" } ], "null_reasons": {}, "provenance": { "current_owner_account_id": "string", "current_registrar_id": "string", "is_virtual": true, "linked_operation_ids": [ "string" ], "model_display_name": "string", "model_frn": "string", "model_id": "string", "null_reasons": {}, "origin_account_id": "string", "origin_recorded_at": "2026-11-26T01:06:51.363630", "origin_registrar_id": "string", "origin_source": "string", "provisioning_implementation": "string", "provisioning_version": "string", "region": "string", "registered_at": "2026-11-26T01:06:51.363630", "registration_principal": "string", "serial": "string", "state": "string", "thing_id": "string" } }- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/admin/thing-provenance/{thing_id}/corrections
- 概要:
Raise an append-only provenance correction for review (operator-only)
Raise an append-only provenance correction for review (operator-only)
PDP动作:
thingmake:Thing:Provision- param string thing_id:
请求示例:
.. 源代码:: http
POST /api/v1/admin/thing-provenance/{thing_id}/corrections HTTP/1.1 Host: example.com Content-Type: application/json { "corrected_value": "string", "field": "string", "reason": "string" }- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json { "applied_at": "2026-11-26T01:06:51.363630", "corrected_value": "string", "correlation_id": "string", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "decision_reason": "string", "field": "string", "id": "string", "original_value": "string", "reason": "string", "requested_at": "2026-11-26T01:06:51.363630", "requested_by": "string", "status": "string", "thing_id": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/admin/thing-provenance/corrections/{correction_id}/approve
- 概要:
Approve a provenance correction and apply its value (operator-only; a decision is final)
Approve a provenance correction and apply its value (operator-only; a decision is final)
PDP动作:
thingmake:Thing:Provision- param string correction_id:
请求示例:
.. 源代码:: http
POST /api/v1/admin/thing-provenance/corrections/{correction_id}/approve HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "applied_at": "2026-11-26T01:06:51.363630", "corrected_value": "string", "correlation_id": "string", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "decision_reason": "string", "field": "string", "id": "string", "original_value": "string", "reason": "string", "requested_at": "2026-11-26T01:06:51.363630", "requested_by": "string", "status": "string", "thing_id": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/admin/thing-provenance/corrections/{correction_id}/reject
- 概要:
Reject a provenance correction, keeping the original value (operator-only; a decision is final)
Reject a provenance correction, keeping the original value (operator-only; a decision is final)
PDP动作:
thingmake:Thing:Provision- param string correction_id:
请求示例:
.. 源代码:: http
POST /api/v1/admin/thing-provenance/corrections/{correction_id}/reject HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "applied_at": "2026-11-26T01:06:51.363630", "corrected_value": "string", "correlation_id": "string", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "decision_reason": "string", "field": "string", "id": "string", "original_value": "string", "reason": "string", "requested_at": "2026-11-26T01:06:51.363630", "requested_by": "string", "status": "string", "thing_id": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/registrars
- 概要:
List a Thing's home-region crossings, newest first (operator-only; ?thing_id required)
List a Thing's home-region crossings, newest first (operator-only; ?thing_id required)
PDP动作:
thingmake:Thing:List请求示例:
.. 源代码:: http
GET /api/v1/registrars HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "actor_id": "string", "consent_ref": "string", "created_at": "2026-11-26T01:06:51.363630", "failed_at": "2026-11-26T01:06:51.363630", "from_region": "string", "id": "string", "last_error": "string", "state": "string", "target_serial": "string", "thing_id": "string", "to_region": "string", "updated_at": "2026-11-26T01:06:51.363630" } ], "thing_id": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 503:
服务不可用
响应示例:
.. 源代码:: http
HTTP/1.1 503 服务不可用内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrars
- 概要:
Request an explicit, audited home-region crossing for a Thing (operator-only; platform-scope)
Request an explicit, audited home-region crossing for a Thing (operator-only; platform-scope)
PDP动作:
thingmake:Registrar:Reject请求示例:
.. 源代码:: http
POST /api/v1/registrars HTTP/1.1 主机:example.com 内容类型:application/json
{ "thing_id": "string", "to_region": "string" }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "awaiting_ack": true, "migration": { "actor_id": "string", "consent_ref": "string", "created_at": "2026-11-26T01:06:51.363630", "failed_at": "2026-11-26T01:06:51.363630", "from_region": "string", "id": "string", "last_error": "string", "state": "string", "target_serial": "string", "thing_id": "string", "to_region": "string", "updated_at": "2026-11-26T01:06:51.363630" }, "steps": [ "string" ] }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 503:
服务不可用
响应示例:
.. 源代码:: http
HTTP/1.1 503 服务不可用内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get::/api/v1/registrars/{id}
- 概要:
Read one home-region crossing's current state (operator-only)
Read one home-region crossing's current state (operator-only)
PDP动作:
thingmake:Thing:Read- 参数字符串id:
请求示例:
.. 源代码:: http
GET /api/v1/admin/thing-region-migrations/{migration_id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "migration": { "actor_id": "string", "consent_ref": "string", "created_at": "2026-11-26T01:06:51.363630", "failed_at": "2026-11-26T01:06:51.363630", "from_region": "string", "id": "string", "last_error": "string", "state": "string", "target_serial": "string", "thing_id": "string", "to_region": "string", "updated_at": "2026-11-26T01:06:51.363630" } }- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 503:
服务不可用
响应示例:
.. 源代码:: http
HTTP/1.1 503 服务不可用内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrars/{id}/approve
- 概要:
Advance a crossing as far as its guards allow; an empty ack_serial parks it awaiting the device's ACK (operator-only)
Advance a crossing as far as its guards allow; an empty ack_serial parks it awaiting the device's ACK (operator-only)
PDP动作:
thingmake:Thing:Deactivate- 参数字符串id:
请求示例:
.. 源代码:: http
POST /api/v1/admin/thing-region-migrations/{migration_id}/advance HTTP/1.1 Host: example.com Content-Type: application/json { "ack_serial": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "awaiting_ack": true, "migration": { "actor_id": "string", "consent_ref": "string", "created_at": "2026-11-26T01:06:51.363630", "failed_at": "2026-11-26T01:06:51.363630", "from_region": "string", "id": "string", "last_error": "string", "state": "string", "target_serial": "string", "thing_id": "string", "to_region": "string", "updated_at": "2026-11-26T01:06:51.363630" }, "steps": [ "string" ] }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 503:
服务不可用
响应示例:
.. 源代码:: http
HTTP/1.1 503 服务不可用内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrars/{id}/reject
- 概要:
Roll a crossing back before its old credential is revoked; idempotent for a crossing already at home (operator-only)
Roll a crossing back before its old credential is revoked; idempotent for a crossing already at home (operator-only)
PDP动作:
thingmake:Thing:Read- 参数字符串id:
请求示例:
.. 源代码:: http
POST /api/v1/admin/thing-region-migrations/{migration_id}/rollback HTTP/1.1 Host: example.com Content-Type: application/json { "old_serial": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "awaiting_ack": true, "migration": { "actor_id": "string", "consent_ref": "string", "created_at": "2026-11-26T01:06:51.363630", "failed_at": "2026-11-26T01:06:51.363630", "from_region": "string", "id": "string", "last_error": "string", "state": "string", "target_serial": "string", "thing_id": "string", "to_region": "string", "updated_at": "2026-11-26T01:06:51.363630" }, "steps": [ "string" ] }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 503:
服务不可用
响应示例:
.. 源代码:: http
HTTP/1.1 503 服务不可用内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/registrars
- 概要:
List the caller's capability artifacts (issued by or to the caller's account), newest first, keyset-paged
List the caller's capability artifacts (issued by or to the caller's account), newest first, keyset-paged
PDP动作:
thingmake:Registrar:List请求示例:
.. 源代码:: http
GET /api/v1/registrars HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "consumed_at": "2026-11-26T01:06:51.363630", "consumed_by": "string", "created_at": "2026-11-26T01:06:51.363630", "id": "string", "issuer": "string", "provenance": "string", "purpose": "access-acquisition", "recipient": { "account_id": "string", "subject": "string" }, "state": "unused", "thing_count": 1, "valid_until": "2026-11-26T01:06:51.363630" } ], "next_cursor": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrars
- 概要:
Issue a capability artifact for an exact thing-id batch (returns the one-time token)
Issue a capability artifact for an exact thing-id batch (returns the one-time token)
PDP动作:
thingmake:Registrar:Create请求示例:
.. 源代码:: http
POST /api/v1/registrars HTTP/1.1 主机:example.com 内容类型:application/json
{ "access_exp": 1, "max_capabilities": [ "string" ], "partition": "string", "purpose": "string", "recipient": { "account_id": "string", "subject": "string" }, "region": "string", "thing_ids": [ "string" ], "ttl_seconds": 1 }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "artifact_id": "string", "batch_id": "string", "exp": 1, "purpose": "string", "token": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 503:
服务不可用
响应示例:
.. 源代码:: http
HTTP/1.1 503 服务不可用内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/capability-artifacts/{capability_artifact_id}
- 概要:
Read one capability artifact (issuer or recipient only; cross-account answers 404, never 403)
Read one capability artifact (issuer or recipient only; cross-account answers 404, never 403)
PDP动作:
thingmake:Registrar:Read- param string capability_artifact_id:
请求示例:
.. 源代码:: http
GET /api/v1/capability-artifacts/{capability_artifact_id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "consumed_at": "2026-11-26T01:06:51.363630", "consumed_by": "string", "created_at": "2026-11-26T01:06:51.363630", "id": "string", "issuer": "string", "provenance": "string", "purpose": "access-acquisition", "recipient": { "account_id": "string", "subject": "string" }, "state": "unused", "thing_count": 1, "valid_until": "2026-11-26T01:06:51.363630" }- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/capability-artifacts/{capability_artifact_id}/revoke
- 概要:
Revoke a capability artifact — settles every member that holds no result as rejected (artifact_revoked)
Revoke a capability artifact — settles every member that holds no result as rejected (artifact_revoked)
PDP动作:
thingmake:Registrar:Reject- param string capability_artifact_id:
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "artifact_id": "string", "revoked_at": "2026-11-26T01:06:51.363630", "revoked_by": "string", "status": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrars/{id}/reject
- 概要:
Redeem a capability-artifact token (bound recipient only) — materializes every unfinished member
Redeem a capability-artifact token (bound recipient only) — materializes every unfinished member
PDP动作:
thingmake:Registrar:Read请求示例:
.. 源代码:: http
POST /api/v1/enrollments HTTP/1.1 主机:example.com 内容类型:application/json
{ "token": "string" }
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "artifact_id": "string", "items": [ { "detail": "string", "outcome": "string", "thing_id": "string" } ], "job_state": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/enrollments
- 概要:
List the live issuance assignments (operator-only)
List the live issuance assignments (operator-only)
PDP动作:
thingmake:Enrollment:List请求示例:
.. 源代码:: http
GET /api/v1/enrollments HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "basis": "string", "created_at": "2026-11-26T01:06:51.363630", "created_by": "string", "id": "string", "issuer_account_id": "string", "member_scope": "string", "purpose": "string" } ], "total": 1 }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/enrollments
- 概要:
Record that an issuer may issue a purpose (operator-only; platform-scope)
Record that an issuer may issue a purpose (operator-only; platform-scope)
PDP动作:
thingmake:Enrollment:Create请求示例:
.. 源代码:: http
POST /api/v1/enrollments HTTP/1.1 主机:example.com 内容类型:application/json
{ "basis": "string", "issuer_account_id": "string", "member_scope": "string", "purpose": "string" }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "basis": "string", "created_at": "2026-11-26T01:06:51.363630", "created_by": "string", "id": "string", "issuer_account_id": "string", "member_scope": "string", "purpose": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/access-requests/{id}/reject
- 概要:
Revoke a live issuance assignment by id (operator-only)
Revoke a live issuance assignment by id (operator-only)
PDP动作:
thingmake:Enrollment:Create- 参数字符串id:
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json {}- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/device-deeplinks
- 概要:
List the account's device deeplinks
List the account's device deeplinks
PDP action:
thingmake:DeviceDeeplink:List请求示例:
.. 源代码:: http
GET /api/v1/device-deeplinks HTTP/1.1 Host: example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "created_at": "2026-11-26T01:06:51.363630", "expires_at": "2026-11-26T01:06:51.363630", "id": "string", "redeemed_at": "2026-11-26T01:06:51.363630", "redeemed_by": "string", "registrar_id": "string", "single_use": true, "thing_id": "string", "token": "string", "url": "string" } ], "next_cursor": "string" }
.. http:post:: /api/v1/device-deeplinks
- 概要:
Mint a single-thing device deeplink/QR token (returns token + encodable URL)
Mint a single-thing device deeplink/QR token (returns token + encodable URL)
PDP action:
thingmake:DeviceDeeplink:Create请求示例:
.. 源代码:: http
POST /api/v1/device-deeplinks HTTP/1.1 Host: example.com Content-Type: application/json
{ "registrar_id": "string", "single_use": true, "thing_id": "string", "ttl_seconds": 1 }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "created_at": "2026-11-26T01:06:51.363630", "expires_at": "2026-11-26T01:06:51.363630", "id": "string", "redeemed_at": "2026-11-26T01:06:51.363630", "redeemed_by": "string", "registrar_id": "string", "single_use": true, "thing_id": "string", "token": "string", "url": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/access-requests/{id}
- 概要:
Read one device deeplink (404 on cross-account)
Read one device deeplink (404 on cross-account)
PDP动作:
thingmake:Model:Read- 参数字符串id:
请求示例:
.. 源代码:: http
GET /api/v1/device-deeplinks/{id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "created_at": "2026-11-26T01:06:51.363630", "expires_at": "2026-11-26T01:06:51.363630", "id": "string", "redeemed_at": "2026-11-26T01:06:51.363630", "redeemed_by": "string", "registrar_id": "string", "single_use": true, "thing_id": "string", "token": "string", "url": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/access-requests/{id}/reject
- 概要:
删除设备型号
删除设备型号
PDP动作:
thingmake:Model:Delete- 参数字符串id:
- 状态 204:
没有内容
响应示例:
.. 源代码:: http
HTTP/1.1 204 No Content Content-Type: application/json {}- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/device-deeplinks/redeem
- 概要:
Redeem a device deeplink token → materialize one thing_reference into the caller's repo
Redeem a device deeplink token → materialize one thing_reference into the caller's repo
PDP action:
thingmake:DeviceDeeplink:Redeem请求示例:
.. 源代码:: http
POST /api/v1/device-deeplinks/redeem HTTP/1.1 Host: example.com Content-Type: application/json
{ "token": "string" }
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "reference_id": "string", "thing_id": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/device-deliveries
- 概要:
List device-deliveries for the authenticated tenant (tenant door) or by callerCorrelationId for the owning caller service (workload door)
List device-deliveries for the authenticated tenant (tenant door) or by callerCorrelationId for the owning caller service (workload door)
PDP action:
thingmake:Delivery:ReadTenant listings are scoped in SQL to the authenticated account and filtered per device visibility; they are never unfiltered. transfer, install, staging and readiness are four independent truths. 216-W5 (#700): the licence-fact projection is OPT-IN — with NO query change the read is byte-identical to before. When projection=licence-facts is requested on the WORKLOAD door, subjectKind (DEVICE|ACCOUNT|USER|SITE) becomes REQUIRED — the caller's typed licence record decides it and the projection never guesses (missing/unknown is 400). A non-DEVICE subject returns {subjectApplicability:{state:NOT_APPLICABLE,subjectKind,reason}, evidenceState:NOT_APPLICABLE} with NO delivery lookup and NO deliveries list: absence never reads as 'nothing exists'. DEVICE returns the deliveries plus subjectApplicability:APPLICABLE and evidenceState over the §14.2 enum (OBSERVED|FAILED|NOT_REPORTED|NOT_APPLICABLE|UNKNOWN).
请求示例:
.. 源代码:: http
GET /api/v1/device-deliveries HTTP/1.1 Host: example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "deliveries": [ { "accountId": "string", "artifact": { "digest": "string", "kind": "application", "reference": "string" }, "authorizingPolicyId": "string", "callerCorrelationId": "string", "callerService": "string", "cancelledAt": "2026-11-26T01:06:51.363630", "createdAt": "2026-11-26T01:06:51.363630", "deliveryId": "string", "evidence": {}, "metadata": {}, "scopeDescriptor": {}, "slot": "string", "status": "REGISTERED", "subjectApplicability": {}, "targetMode": "DEVICES", "targets": [ { "blockingReason": "string", "detail": {}, "evidence": {}, "install": "PENDING", "readiness": "PENDING", "staging": "PENDING", "thingId": "string", "transfer": "PENDING", "updatedAt": "2026-11-26T01:06:51.363630" } ], "updatedAt": "2026-11-26T01:06:51.363630" } ] }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/device-deliveries
- 概要:
Register a device-delivery for an artifact (workload; Idempotency-Key header required; DEVICES or ROLLOUT target mode)
Register a device-delivery for an artifact (workload; Idempotency-Key header required; DEVICES or ROLLOUT target mode)
PDP action:
thingmake:Delivery:RegisterBody: artifact{reference,digest,kind}, targets[{thingId}], slot, targetMode (DEVICES|ROLLOUT), scopeDescriptor (ROLLOUT only), callerCorrelationId, metadata. kind is application|applet|firmware. A ROLLOUT scopeDescriptor is {scopeId,targetFilter,policyId,slot}: policyId and slot are REQUIRED declarations, slot must equal the request slot (DELIVERY_SLOT_NOT_DECLARED / DELIVERY_SLOT_CLAIM_MISMATCH, 400), and the declared policyId is recorded on the delivery row. That declaration is NOT verified against live policy state; see bazaar#489. A replay with the same request answers 200 with the same deliveryId; a reused key with a different request is IDEMPOTENCY_KEY_REUSED (422).
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 422:
响应
响应示例:
.. 源代码:: http
HTTP/1.1 422 Unprocessable Entity Content-Type: application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/device-deliveries/{delivery_id}
- 概要:
Read one device-delivery with per-device truths (both doors; a tenant with no inspectable target receives 404)
Read one device-delivery with per-device truths (both doors; a tenant with no inspectable target receives 404)
PDP action:
thingmake:Delivery:ReadThe response never blends the four truths. A delivery whose targets are all invisible to the tenant is reported as absent, not as an empty success. 216-W5 (#700): OPT-IN on the WORKLOAD door — projection=licence-facts makes subjectKind (DEVICE|ACCOUNT|USER|SITE) required (missing/unknown is 400, never defaulted) and a non-DEVICE subject returns the NOT_APPLICABLE envelope without any lookup; without the opt-in the read is byte-identical to before; DEVICE adds subjectApplicability, a delivery evidence block (state, as-of, provenance class backend_reported + callerService) and per-relation evidence {state,value,asOf} on every target, all in the §14.2 five-state enum.
- param string delivery_id:
请求示例:
.. 源代码:: http
GET /api/v1/device-deliveries/{delivery_id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "accountId": "string", "artifact": { "digest": "string", "kind": "application", "reference": "string" }, "authorizingPolicyId": "string", "callerCorrelationId": "string", "callerService": "string", "cancelledAt": "2026-11-26T01:06:51.363630", "createdAt": "2026-11-26T01:06:51.363630", "deliveryId": "string", "evidence": {}, "metadata": {}, "scopeDescriptor": {}, "slot": "string", "status": "REGISTERED", "subjectApplicability": {}, "targetMode": "DEVICES", "targets": [ { "blockingReason": "string", "detail": {}, "evidence": {}, "install": "PENDING", "readiness": "PENDING", "staging": "PENDING", "thingId": "string", "transfer": "PENDING", "updatedAt": "2026-11-26T01:06:51.363630" } ], "updatedAt": "2026-11-26T01:06:51.363630" }- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/device-deliveries/{delivery_id}/cancel
- 概要:
Cancel a device-delivery (workload; idempotent; in-flight work is refused per device)
Cancel a device-delivery (workload; idempotent; in-flight work is refused per device)
PDP action:
thingmake:Delivery:CancelPer-device refusals are named in refused[] with DELIVERY_CANCEL_IN_FLIGHT_REFUSED; the request itself succeeds (200) and the remaining targets are cancelled.
- param string delivery_id:
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/device-deliveries/{delivery_id}/status-reports
- 概要:
Report per-device transfer/install/staging/readiness truths (workload; digest must match the accepted digest)
Report per-device transfer/install/staging/readiness truths (workload; digest must match the accepted digest)
PDP action:
thingmake:Delivery:ReportStatusA reported digest that differs from the accepted digest is DELIVERY_DIGEST_MISMATCH (409) and applies NO update. Materializing a device under a ROLLOUT delivery re-checks the caller's authority for that device.
- param string delivery_id:
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/eligibility-artifacts
- 概要:
List the account's eligibility artifacts
List the account's eligibility artifacts
PDP action:
thingmake:EligibilityArtifact:List请求示例:
.. 源代码:: http
GET /api/v1/eligibility-artifacts HTTP/1.1 Host: example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "created_at": "2026-11-26T01:06:51.363630", "expires_at": "2026-11-26T01:06:51.363630", "id": "string", "label": "string", "max_redemptions": 1, "redemptions_used": 1, "registrar_id": "string", "revoked_at": "2026-11-26T01:06:51.363630", "token": "string", "url": "string" } ], "next_cursor": "string" }
.. http:post:: /api/v1/eligibility-artifacts
- 概要:
Mint a revocable/expiring registrar-eligibility artifact (returns token + shareable URL)
Mint a revocable/expiring registrar-eligibility artifact (returns token + shareable URL)
PDP action:
thingmake:EligibilityArtifact:Create请求示例:
.. 源代码:: http
POST /api/v1/eligibility-artifacts HTTP/1.1 Host: example.com Content-Type: application/json
{ "label": "string", "max_redemptions": 1, "registrar_id": "string", "ttl_seconds": 1 }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "created_at": "2026-11-26T01:06:51.363630", "expires_at": "2026-11-26T01:06:51.363630", "id": "string", "label": "string", "max_redemptions": 1, "redemptions_used": 1, "registrar_id": "string", "revoked_at": "2026-11-26T01:06:51.363630", "token": "string", "url": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/eligibility-artifacts/{id}
- 概要:
Read an eligibility artifact (404 on cross-account)
Read an eligibility artifact (404 on cross-account)
PDP action:
thingmake:EligibilityArtifact:Read- 参数字符串id:
请求示例:
.. 源代码:: http
GET /api/v1/eligibility-artifacts/{id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "created_at": "2026-11-26T01:06:51.363630", "expires_at": "2026-11-26T01:06:51.363630", "id": "string", "label": "string", "max_redemptions": 1, "redemptions_used": 1, "registrar_id": "string", "revoked_at": "2026-11-26T01:06:51.363630", "token": "string", "url": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrars/{id}/reject
- 概要:
Revoke an eligibility artifact
Revoke an eligibility artifact
PDP action:
thingmake:EligibilityArtifact:Revoke- 参数字符串id:
- 状态 204:
没有内容
响应示例:
.. 源代码:: http
HTTP/1.1 204 No Content Content-Type: application/json {}- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/eligibility-artifacts/redeem
- 概要:
Redeem an eligibility token → pending eligibility grant (approval still required)
Redeem an eligibility token → pending eligibility grant (approval still required)
PDP action:
thingmake:EligibilityArtifact:Redeem请求示例:
.. 源代码:: http
POST /api/v1/eligibility-artifacts/redeem HTTP/1.1 Host: example.com Content-Type: application/json
{ "token": "string" }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "artifact_id": "string", "created_at": "2026-11-26T01:06:51.363630", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "id": "string", "reason": "string", "registrar_id": "string", "requester_account_id": "string", "state": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/eligibility-grants
- 概要:
List the owner's eligibility-grant inbox (?state= filter)
List the owner's eligibility-grant inbox (?state= filter)
PDP action:
thingmake:EligibilityGrant:List请求示例:
.. 源代码:: http
GET /api/v1/eligibility-grants HTTP/1.1 Host: example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "artifact_id": "string", "created_at": "2026-11-26T01:06:51.363630", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "id": "string", "reason": "string", "registrar_id": "string", "requester_account_id": "string", "state": "string" } ], "next_cursor": "string" }
.. http:post:: /api/v1/eligibility-grants/{id}/approve
- 概要:
Approve an eligibility grant → requester becomes an eligible accessor
Approve an eligibility grant → requester becomes an eligible accessor
PDP action:
thingmake:EligibilityGrant:Approve- 参数字符串id:
请求示例:
.. 源代码:: http
POST /api/v1/eligibility-grants/{id}/approve HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "artifact_id": "string", "created_at": "2026-11-26T01:06:51.363630", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "id": "string", "reason": "string", "registrar_id": "string", "requester_account_id": "string", "state": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/eligibility-grants/{id}/reject
- 概要:
Reject an eligibility grant (reason required)
Reject an eligibility grant (reason required)
PDP action:
thingmake:EligibilityGrant:Reject- 参数字符串id:
请求示例:
.. 源代码:: http
POST /api/v1/eligibility-grants/{id}/reject HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "artifact_id": "string", "created_at": "2026-11-26T01:06:51.363630", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "id": "string", "reason": "string", "registrar_id": "string", "requester_account_id": "string", "state": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/enrollments
- 概要:
List enrollments for the caller's account
List enrollments for the caller's account
PDP动作:
thingmake:Enrollment:List请求示例:
.. 源代码:: http
GET /api/v1/enrollments HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "created_at": "2026-11-26T01:06:51.363630", "id": "string", "model": "string", "registrar_id": "string", "repository_id": "string", "serial": "string", "state": "string", "thing_id": "string", "thing_uuid": "string" } ], "total": 1 }
.. http:post:: /api/v1/enrollments
- 概要:
Enroll a device — birth a Thing (ROLLEDOFF) and add it to the factory repository
Enroll a device — birth a Thing (ROLLEDOFF) and add it to the factory repository
PDP动作:
thingmake:Enrollment:Create请求示例:
.. 源代码:: http
POST /api/v1/enrollments HTTP/1.1 主机:example.com 内容类型:application/json
{ "model": "string", "registrar_id": "string", "thing_id": "string" }
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "created_at": "2026-11-26T01:06:51.363630", "id": "string", "model": "string", "registrar_id": "string", "repository_id": "string", "serial": "string", "state": "string", "thing_id": "string", "thing_uuid": "string" }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "created_at": "2026-11-26T01:06:51.363630", "id": "string", "model": "string", "registrar_id": "string", "repository_id": "string", "serial": "string", "state": "string", "thing_id": "string", "thing_uuid": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- status 500:
Internal Server Error
响应示例:
.. 源代码:: http
HTTP/1.1 500 Internal Server Error Content-Type: application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/enrollments/{enrollment_id}
- 概要:
Read an enrollment (Thing) by id
Read an enrollment (Thing) by id
PDP动作:
thingmake:Enrollment:Read- param string enrollment_id:
请求示例:
.. 源代码:: http
GET /api/v1/enrollments/{enrollment_id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "created_at": "2026-11-26T01:06:51.363630", "id": "string", "model": "string", "registrar_id": "string", "repository_id": "string", "serial": "string", "state": "string", "thing_id": "string", "thing_uuid": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/registrars
- 概要:
列出factory_services(分页,可按角色/状态/注册器/模型过滤)
列出factory_services(分页,可按角色/状态/注册器/模型过滤)
PDP动作:
thingmake:FactoryService:List请求示例:
.. 源代码:: http
GET /api/v1/registrars HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "access_key_id": "string", "created_at": "2026-11-26T01:06:51.363630", "endpoint_url": "string", "id": "string", "last_health_check_at": "2026-11-26T01:06:51.363630", "last_health_check_status": "string", "model_id": "string", "registrar_id": "string", "role": "string", "rotation_pending": true, "state": "string", "updated_at": "2026-11-26T01:06:51.363630" } ], "next_cursor": "string" }
.. http:post:: /api/v1/registrars
- 概要:
注册一个模型范围的工厂后端(identify/provision);返回一次生成的AK/SK
注册一个模型范围的工厂后端(identify/provision);返回生成的 AK/SK 一次
PDP动作:
thingmake:FactoryService:Create请求示例:
.. 源代码:: http
POST /api/v1/registrars HTTP/1.1 主机:example.com 内容类型:application/json
{ "endpoint_url": "string", "model_id": "string", "registrar_id": "string", "role": "string" }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "access_key_id": "string", "created_at": "2026-11-26T01:06:51.363630", "endpoint_url": "string", "id": "string", "model_id": "string", "registrar_id": "string", "role": "string", "secret_access_key": "string", "state": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:delete:: /api/v1/factory-integrations/{factory_integration_id}
- 概要:
软删除factory_service(第30阶段实现drain + GC)
软删除factory_service(第30阶段实现drain + GC)
PDP动作:
thingmake:FactoryService:Delete- param string factory_integration_id:
- 状态 204:
没有内容
响应示例:
.. 源代码:: http
HTTP/1.1 204 No Content Content-Type: application/json {}- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/factory-integrations/{factory_integration_id}
- 概要:
通过id获取factory_service
通过id获取factory_service
PDP动作:
thingmake:FactoryService:Read- param string factory_integration_id:
请求示例:
.. 源代码:: http
GET /api/v1/factory-integrations/{factory_integration_id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "access_key_id": "string", "created_at": "2026-11-26T01:06:51.363630", "endpoint_url": "string", "id": "string", "last_health_check_at": "2026-11-26T01:06:51.363630", "last_health_check_status": "string", "model_id": "string", "registrar_id": "string", "role": "string", "rotation_pending": true, "state": "string", "updated_at": "2026-11-26T01:06:51.363630" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:patch:: /api/v1/factory-integrations/{factory_integration_id}
- 概要:
更新端点_url(仅通过 PATCH 可变字段)
更新endpoint_url(仅通过PATCH可变字段)
PDP动作:
thingmake:FactoryService:Update- param string factory_integration_id:
请求示例:
.. 源代码:: http
PATCH /api/v1/factory-integrations/{factory_integration_id} HTTP/1.1 Host: example.com Content-Type: application/json { "endpoint_url": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "access_key_id": "string", "created_at": "2026-11-26T01:06:51.363630", "endpoint_url": "string", "id": "string", "last_health_check_at": "2026-11-26T01:06:51.363630", "last_health_check_status": "string", "model_id": "string", "registrar_id": "string", "role": "string", "rotation_pending": true, "state": "string", "updated_at": "2026-11-26T01:06:51.363630" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/factory-integrations/{factory_integration_id}/confirm-rotation
- 概要:
一旦采用新凭证,清除rotation_pending; 409 如果没有等待轮换
一旦采用新凭证,清除rotation_pending; 409 如果没有等待轮换
PDP动作:
thingmake:FactoryService:ConfirmRotation- param string factory_integration_id:
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "access_key_id": "string", "created_at": "2026-11-26T01:06:51.363630", "endpoint_url": "string", "id": "string", "last_health_check_at": "2026-11-26T01:06:51.363630", "last_health_check_status": "string", "model_id": "string", "registrar_id": "string", "role": "string", "rotation_pending": true, "state": "string", "updated_at": "2026-11-26T01:06:51.363630" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/factory-integrations/{factory_integration_id}/expedite-drain
- 概要:
加速软删除的factory_service的耗尽;如果没有活动的 saga 腿引用它,则硬删除
加速软删除factory_service的耗尽;如果没有活动的传奇腿引用它,则硬删除
PDP动作:
thingmake:FactoryService:Drain- param string factory_integration_id:
- 状态 204:
没有内容
响应示例:
.. 源代码:: http
HTTP/1.1 204 No Content Content-Type: application/json {}- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/factory-integrations/{factory_integration_id}/health-check
- 概要:
同步探测endpoint_url /healthz;更新last_health_check_* 列
同步探测endpoint_url /healthz;更新last_health_check_ 列*
PDP动作:
thingmake:FactoryService:HealthCheck- param string factory_integration_id:
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "checked_at": "2026-11-26T01:06:51.363630", "error": "string", "http_status": 1, "id": "string", "latency_ms": 1, "status": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/factory-integrations/{factory_integration_id}/rotate-credentials
- 概要:
旋转AK/SK;返回新的secret_access_key一次并设置rotation_pending=true
旋转AK/SK;返回新的secret_access_key一次并设置rotation_pending=true
PDP动作:
thingmake:FactoryService:RotateCredentials- param string factory_integration_id:
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "access_key_id": "string", "id": "string", "rotated_at": "2026-11-26T01:06:51.363630", "rotation_pending": true, "secret_access_key": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/factory-registrations/{account_id}/approve
- 概要:
Approve a factory registration (platform operator)
Approve a factory registration (platform operator)
PDP action:
thingmake:FactoryRegistration:Approve- param string account_id:
请求示例:
.. 源代码:: http
POST /api/v1/factory-registrations/{account_id}/approve HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "display_name": "string", "id": "string", "reason": "string", "requested_at": "2026-11-26T01:06:51.363630", "requested_by": "string", "state": "string" }- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrars/{id}/reject
- 概要:
Reject a factory registration (platform operator)
Reject a factory registration (platform operator)
PDP动作:
thingmake:Registrar:Reject- param string account_id:
请求示例:
.. 源代码:: http
POST /api/v1/factory-registrations/{account_id}/reject HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "display_name": "string", "id": "string", "reason": "string", "requested_at": "2026-11-26T01:06:51.363630", "requested_by": "string", "state": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/factory-registrations/{account_id}/revoke
- 概要:
Revoke a factory registration (platform operator)
Revoke a factory registration (platform operator)
PDP action:
thingmake:FactoryRegistration:Revoke- param string account_id:
请求示例:
.. 源代码:: http
POST /api/v1/factory-registrations/{account_id}/revoke HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "display_name": "string", "id": "string", "reason": "string", "requested_at": "2026-11-26T01:06:51.363630", "requested_by": "string", "state": "string" }- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/registrars
- 概要:
Get the caller account's factory capability badge
Get the caller account's factory capability badge
PDP action:
thingmake:FactoryRegistration:Read请求示例:
.. 源代码:: http
GET /api/v1/registrars HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "account_id": "string", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "display_name": "string", "id": "string", "reason": "string", "requested_at": "2026-11-26T01:06:51.363630", "requested_by": "string", "state": "string" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrars
- 概要:
Request (or refresh) the factory capability badge for the account
Request (or refresh) the factory capability badge for the account
PDP action:
thingmake:FactoryRegistration:Request请求示例:
.. 源代码:: http
POST /api/v1/registrars HTTP/1.1 主机:example.com 内容类型:application/json
{ "display_name": "string" }
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "account_id": "string", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "display_name": "string", "id": "string", "reason": "string", "requested_at": "2026-11-26T01:06:51.363630", "requested_by": "string", "state": "string" }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "account_id": "string", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "display_name": "string", "id": "string", "reason": "string", "requested_at": "2026-11-26T01:06:51.363630", "requested_by": "string", "state": "string" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /provisioning/v1/identity-blacklist
- 概要:
列出所有活动身份黑名单条目(分页;按型号、SN 排序)
列出所有活动身份黑名单条目(分页;按型号、SN 排序)
PDP动作:
thingmake:IdentityBlacklist:List请求示例:
.. 源代码:: http
GET /provisioning/v1/identity-blacklist HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "blacklisted_at": "2026-11-26T01:06:51.363630", "blacklisted_by": "string", "id": "string", "model": "string", "reason": "string", "sn": "string" } ], "limit": 1, "offset": 1, "total": 1 }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /provisioning/v1/identity-blacklist/check
- 概要:
Check if a serial is on the global identity blacklist (model retained for compatibility)
Check if a serial is on the global identity blacklist (model retained for compatibility)
PDP动作:
thingmake:IdentityBlacklist:Check请求示例:
.. 源代码:: http
GET /provisioning/v1/identity-blacklist/check HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "blacklisted_at": "2026-11-26T01:06:51.363630", "blacklisted_by": "string", "id": "string", "model": "string", "reason": "string", "sn": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /provisioning/v1/identity-blacklist/deltas
- 概要:
轮询自游标以来的身份黑名单增量提要(72h TTL → HTTP 410)
轮询自游标以来的身份黑名单增量提要 (72h TTL → HTTP 410)
PDP动作:
thingmake:IdentityBlacklist:ListDeltas请求示例:
.. 源代码:: http
GET /provisioning/v1/identity-blacklist/deltas HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "has_more": true, "items": [ { "actor": "string", "change_type": "string", "model": "string", "reason": "string", "seq": 1, "sn": "string", "ts": "2026-11-26T01:06:51.363630" } ], "next_cursor": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 410:
响应
响应示例:
.. 源代码:: http
HTTP/1.1 410 消失 内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /provisioning/v1/identity-blacklist/snapshot.signed
- 概要:
下载 JWS 签名的身份黑名单快照 (application/jose+json) 以进行故障关闭工厂缓存
下载 JWS 签名的身份黑名单快照 (application/jose+json) 以进行故障关闭工厂缓存
PDP动作:
thingmake:IdentityBlacklist:GetSnapshot请求示例:
.. 源代码:: http
GET /provisioning/v1/identity-blacklist/snapshot.signed HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 503:
服务不可用
响应示例:
.. 源代码:: http
HTTP/1.1 503 服务不可用内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /registry/v1/models
- 概要:
Register an INTERNAL device model — resolvable for provisioning, never listed (platform operator)
Register an INTERNAL device model — resolvable for provisioning, never listed (platform operator)
PDP动作:
thingmake:Model:Create请求示例:
.. 源代码:: http
POST /registry/v1/models HTTP/1.1 主机:example.com 内容类型:application/json
{ "description": "string", "device_class": "string", "display_name": "string", "hw_revision": "string", "pid": "string", "provisioning_config": {}, "provisioning_method": "string", "vendor_secret": {} }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "description": "string", "device_class": "string", "display_name": "string", "has_vendor_secret": true, "hw_revision": "string", "id": "string", "imported_from_frn": "string", "model_frn": "string", "origin_vid": "string", "pid": "string", "provisioning": { "reason": "string", "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630", "suspended_by": "string" }, "provisioning_config": {}, "provisioning_method": "string", "state": "string", "updated_at": "2026-11-26T01:06:51.363630", "vid": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/access-requests
- 概要:
List the caller account's own manufacturer-qualification requests, newest first (tenant)
List the caller account's own manufacturer-qualification requests, newest first (tenant)
PDP动作:
thingmake:FactoryService:Read请求示例:
.. 源代码:: http
GET /api/v1/access-requests HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "created_by": "string", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "decision_reason": "string", "evidence": "string", "id": 1, "model_id": "string", "qualification_id": 1, "region": "string", "registrar_id": "string", "state": "string" } ] }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/access-requests
- 概要:
Request qualification to manufacture a Model from a Registrar in a region, with evidence (tenant; the account is the caller's, never a body field)
Request qualification to manufacture a Model from a Registrar in a region, with evidence (tenant; the account is the caller's, never a body field)
PDP动作:
thingmake:FactoryService:Create请求示例:
.. 源代码:: http
POST /api/v1/registrars HTTP/1.1 主机:example.com 内容类型:application/json
{ "evidence": "string", "model_id": "string", "region": "string", "registrar_id": "string" }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "created_by": "string", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "decision_reason": "string", "evidence": "string", "id": 1, "model_id": "string", "qualification_id": 1, "region": "string", "registrar_id": "string", "state": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/manufacturer-qualification-requests/{manufacturer_qualification_request_id}
- 概要:
Read one of the caller account's qualification requests; another account's id answers the SAME 404 (tenant, no existence oracle)
Read one of the caller account's qualification requests; another account's id answers the SAME 404 (tenant, no existence oracle)
PDP动作:
thingmake:FactoryService:Read- param string manufacturer_qualification_request_id:
请求示例:
.. 源代码:: http
GET /api/v1/manufacturer-qualification-requests/{manufacturer_qualification_request_id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "created_by": "string", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "decision_reason": "string", "evidence": "string", "id": 1, "model_id": "string", "qualification_id": 1, "region": "string", "registrar_id": "string", "state": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /registry/v1/models
- 概要:
列出设备型号(按键集分页)
列出设备型号(按键集分页)
PDP动作:
thingmake:Model:List请求示例:
.. 源代码:: http
GET /registry/v1/models HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "description": "string", "device_class": "string", "display_name": "string", "has_vendor_secret": true, "hw_revision": "string", "id": "string", "imported_from_frn": "string", "model_frn": "string", "origin_vid": "string", "pid": "string", "provisioning": { "reason": "string", "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630", "suspended_by": "string" }, "provisioning_config": {}, "provisioning_method": "string", "state": "string", "updated_at": "2026-11-26T01:06:51.363630", "vid": "string" } ], "next_cursor": "string" }
.. http:post:: /registry/v1/models
- 概要:
注册设备型号(vid:pid,按型号配置)
注册设备型号(vid:pid,按型号配置)
PDP动作:
thingmake:Model:Create请求示例:
.. 源代码:: http
POST /registry/v1/models HTTP/1.1 主机:example.com 内容类型:application/json
{ "description": "string", "device_class": "string", "display_name": "string", "hw_revision": "string", "pid": "string", "provisioning_config": {}, "provisioning_method": "string", "vendor_secret": {} }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "description": "string", "device_class": "string", "display_name": "string", "has_vendor_secret": true, "hw_revision": "string", "id": "string", "imported_from_frn": "string", "model_frn": "string", "origin_vid": "string", "pid": "string", "provisioning": { "reason": "string", "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630", "suspended_by": "string" }, "provisioning_config": {}, "provisioning_method": "string", "state": "string", "updated_at": "2026-11-26T01:06:51.363630", "vid": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:delete:: /api/v1/models/{model_id}
- 概要:
删除设备型号
删除设备型号
PDP动作:
thingmake:Model:Delete- param string model_id:
- 状态 204:
没有内容
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/models/{model_id}
- 概要:
读取设备模型(公共描述符)
读取设备模型(公共描述符)
PDP动作:
thingmake:Model:Read- param string model_id:
请求示例:
.. 源代码:: http
GET /api/v1/models/{model_id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "description": "string", "device_class": "string", "display_name": "string", "has_vendor_secret": true, "hw_revision": "string", "id": "string", "imported_from_frn": "string", "model_frn": "string", "origin_vid": "string", "pid": "string", "provisioning": { "reason": "string", "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630", "suspended_by": "string" }, "provisioning_config": {}, "provisioning_method": "string", "state": "string", "updated_at": "2026-11-26T01:06:51.363630", "vid": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:patch:: /api/v1/models/{model_id}
- 概要:
更新设备型号
更新设备型号
PDP动作:
thingmake:Model:Update- param string model_id:
请求示例:
.. 源代码:: http
PATCH /api/v1/models/{model_id} HTTP/1.1 Host: example.com Content-Type: application/json { "description": "string", "device_class": "string", "display_name": "string", "hw_revision": "string", "provisioning_config": {}, "provisioning_method": "string", "state": "string", "vendor_secret": {} }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "description": "string", "device_class": "string", "display_name": "string", "has_vendor_secret": true, "hw_revision": "string", "id": "string", "imported_from_frn": "string", "model_frn": "string", "origin_vid": "string", "pid": "string", "provisioning": { "reason": "string", "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630", "suspended_by": "string" }, "provisioning_config": {}, "provisioning_method": "string", "state": "string", "updated_at": "2026-11-26T01:06:51.363630", "vid": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/models/{model_id}/resume-provisioning
- 概要:
Resume NEW provisioning for this Model — every bound Registrar accepts new enrollment again (operator-only; platform-scope)
Resume NEW provisioning for this Model — every bound Registrar accepts new enrollment again (operator-only; platform-scope)
PDP动作:
thingmake:Model:Create- param string model_id:
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "description": "string", "device_class": "string", "display_name": "string", "has_vendor_secret": true, "hw_revision": "string", "id": "string", "imported_from_frn": "string", "model_frn": "string", "origin_vid": "string", "pid": "string", "provisioning": { "reason": "string", "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630", "suspended_by": "string" }, "provisioning_config": {}, "provisioning_method": "string", "state": "string", "updated_at": "2026-11-26T01:06:51.363630", "vid": "string" }- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/models/{model_id}/share
- 概要:
为接收工厂创建共享深度链接(仅限公共描述符)
为接收工厂创建共享深度链接(仅限公共描述符)
PDP动作:
thingmake:Model:Share- param string model_id:
请求示例:
.. 源代码:: http
POST /api/v1/models/{model_id}/share HTTP/1.1 Host: example.com Content-Type: application/json { "recipient_account_id": "string", "ttl_seconds": 1 }- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json { "deeplink_token": "string", "expires_at": "2026-11-26T01:06:51.363630", "model_frn": "string", "recipient_account_id": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/models/{model_id}/software
- 概要:
解析适用于模型的 vid:pid 描述符的软件/驱动程序包
解析适用于模型的 vid:pid 描述符的软件/驱动程序包
PDP动作:
thingmake:Model:Read- param string model_id:
请求示例:
.. 源代码:: http
GET /api/v1/models/{model_id}/software HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "items": [ { "account_id": "string", "applies_to": [ {} ], "artifact_id": "string", "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "kind": "string", "software_frn": "string", "state": "string", "updated_at": "2026-11-26T01:06:51.363630", "version": "string" } ], "next_cursor": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/models/{model_id}/suspend-provisioning
- 概要:
Suspend NEW provisioning for this Model — every bound Registrar refuses new enrollment; existing Things are unaffected (operator-only; platform-scope)
Suspend NEW provisioning for this Model — every bound Registrar refuses new enrollment; existing Things are unaffected (operator-only; platform-scope)
PDP动作:
thingmake:Model:Update- param string model_id:
请求示例:
.. 源代码:: http
POST /api/v1/models/{model_id}/suspend-provisioning HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "description": "string", "device_class": "string", "display_name": "string", "has_vendor_secret": true, "hw_revision": "string", "id": "string", "imported_from_frn": "string", "model_frn": "string", "origin_vid": "string", "pid": "string", "provisioning": { "reason": "string", "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630", "suspended_by": "string" }, "provisioning_config": {}, "provisioning_method": "string", "state": "string", "updated_at": "2026-11-26T01:06:51.363630", "vid": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /registry/v1/models/import
- 概要:
通过深度链接导入共享模型的公共描述符
通过深度链接导入共享模型的公共描述符
PDP动作:
thingmake:Model:Import请求示例:
.. 源代码:: http
POST /registry/v1/models/import HTTP/1.1 主机:example.com 内容类型:application/json
{ "deeplink_token": "string" }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "description": "string", "device_class": "string", "display_name": "string", "has_vendor_secret": true, "hw_revision": "string", "id": "string", "imported_from_frn": "string", "model_frn": "string", "origin_vid": "string", "pid": "string", "provisioning": { "reason": "string", "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630", "suspended_by": "string" }, "provisioning_config": {}, "provisioning_method": "string", "state": "string", "updated_at": "2026-11-26T01:06:51.363630", "vid": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/provisioning-runs
- 概要:
列出配置运行
列出配置运行
PDP动作:
thingmake:ProvisioningRun:List请求示例:
.. 源代码:: http
GET /api/v1/provisioning-runs HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "account_id": "string", "failed": 1, "finished_at": "2026-11-26T01:06:51.363630", "id": "string", "model_id": "string", "name": "string", "provisioned": 1, "registrar_id": "string", "started_at": "2026-11-26T01:06:51.363630", "status": "string", "total": 1 } ], "next_cursor": "string", "total": 1 }
.. http:get:: /api/v1/provisioning-runs/{run_id}
- 概要:
读取配置运行
读取配置运行
PDP动作:
thingmake:ProvisioningRun:Read- param string run_id:
请求示例:
.. 源代码:: http
GET /api/v1/provisioning-runs/{run_id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "failed": 1, "finished_at": "2026-11-26T01:06:51.363630", "id": "string", "model_id": "string", "name": "string", "provisioned": 1, "registrar_id": "string", "started_at": "2026-11-26T01:06:51.363630", "status": "string", "total": 1 }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/reference-requests
- 概要:
List the requester's own reference requests (?state= filter)
List the requester's own reference requests (?state= filter)
PDP action:
thingmake:ReferenceRequest:List请求示例:
.. 源代码:: http
GET /api/v1/reference-requests HTTP/1.1 Host: example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "created_at": "2026-11-26T01:06:51.363630", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "filter": {}, "id": "string", "last_reconciled_at": "2026-11-26T01:06:51.363630", "reason": "string", "registrar_id": "string", "state": "string" } ], "next_cursor": "string" }
.. http:post:: /api/v1/reference-requests
- 概要:
Create a standing owner-approved reference-request filter (requires approved eligibility)
Create a standing owner-approved reference-request filter (requires approved eligibility)
PDP action:
thingmake:ReferenceRequest:Create请求示例:
.. 源代码:: http
POST /api/v1/reference-requests HTTP/1.1 Host: example.com Content-Type: application/json
{ "filter": {}, "registrar_id": "string" }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "created_at": "2026-11-26T01:06:51.363630", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "filter": {}, "id": "string", "last_reconciled_at": "2026-11-26T01:06:51.363630", "reason": "string", "registrar_id": "string", "state": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/reference-requests/{id}
- 概要:
Read a reference request (404 on cross-account)
Read a reference request (404 on cross-account)
PDP action:
thingmake:ReferenceRequest:Read- 参数字符串id:
请求示例:
.. 源代码:: http
GET /api/v1/reference-requests/{id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "created_at": "2026-11-26T01:06:51.363630", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "filter": {}, "id": "string", "last_reconciled_at": "2026-11-26T01:06:51.363630", "reason": "string", "registrar_id": "string", "state": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/reference-requests/{id}/approve
- 概要:
Approve a reference request + run the initial reconcile
Approve a reference request + run the initial reconcile
PDP action:
thingmake:ReferenceRequest:Approve- 参数字符串id:
请求示例:
.. 源代码:: http
POST /api/v1/reference-requests/{id}/approve HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "created_at": "2026-11-26T01:06:51.363630", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "filter": {}, "id": "string", "last_reconciled_at": "2026-11-26T01:06:51.363630", "reason": "string", "registrar_id": "string", "state": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/reference-requests/{id}/reject
- 概要:
Reject a reference request (reason required)
Reject a reference request (reason required)
PDP action:
thingmake:ReferenceRequest:Reject- 参数字符串id:
请求示例:
.. 源代码:: http
POST /api/v1/reference-requests/{id}/reject HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "created_at": "2026-11-26T01:06:51.363630", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "filter": {}, "id": "string", "last_reconciled_at": "2026-11-26T01:06:51.363630", "reason": "string", "registrar_id": "string", "state": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/access-requests/{id}/reject
- 概要:
Stop a standing reference request
Stop a standing reference request
PDP action:
thingmake:ReferenceRequest:Revoke- 参数字符串id:
- 状态 204:
没有内容
响应示例:
.. 源代码:: http
HTTP/1.1 204 No Content Content-Type: application/json {}- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/reference-requests/inbox
- 概要:
List reference requests against the owner's registrars (owner inbox)
List reference requests against the owner's registrars (owner inbox)
PDP action:
thingmake:ReferenceRequest:ListInbox请求示例:
.. 源代码:: http
GET /api/v1/reference-requests/inbox HTTP/1.1 Host: example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "created_at": "2026-11-26T01:06:51.363630", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "filter": {}, "id": "string", "last_reconciled_at": "2026-11-26T01:06:51.363630", "reason": "string", "registrar_id": "string", "state": "string" } ], "next_cursor": "string" }
.. http:get:: /api/v1/registrars
- 概要:
Read the platform region catalogue — roster, provisioning readiness, and per-region capability availability
Read the platform region catalogue — roster, provisioning readiness, and per-region capability availability
PDP动作:
thingmake:Registrar:List请求示例:
.. 源代码:: http
GET /api/v1/registrars HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "partition": "string", "regions": [ { "capabilities": {}, "display_name": "string", "endpoint": "string", "provisioning": { "implementation_version": "string", "ready": true }, "region": "string" } ], "this_deployment_region": "string" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/access-requests
- 概要:
列出访问请求
列出访问请求
PDP动作:
thingmake:AccessRequest:List请求示例:
.. 源代码:: http
GET /api/v1/access-requests HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "decision_reason": "string", "expires_at": "2026-11-26T01:06:51.363630", "id": "string", "purpose": "string", "registrar_id": "string", "requester_sub": "string", "state": "string" } ], "next_cursor": "string" }
.. http:get:: /api/v1/registrar-access-requests/{registrar_access_request_id}
- 概要:
读取访问请求
读取访问请求
PDP动作:
thingmake:AccessRequest:Read- param string registrar_access_request_id:
请求示例:
.. 源代码:: http
GET /api/v1/registrar-access-requests/{registrar_access_request_id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "decision_reason": "string", "expires_at": "2026-11-26T01:06:51.363630", "id": "string", "purpose": "string", "registrar_id": "string", "requester_sub": "string", "state": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrar-access-requests/{registrar_access_request_id}/approve
- 概要:
读取访问请求
读取访问请求
PDP动作:
thingmake:AccessRequest:Approve- param string registrar_access_request_id:
请求示例:
.. 源代码:: http
POST /api/v1/registrar-access-requests/{registrar_access_request_id}/approve HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "decision_reason": "string", "expires_at": "2026-11-26T01:06:51.363630", "id": "string", "purpose": "string", "registrar_id": "string", "requester_sub": "string", "state": "string" }- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrar-access-requests/{registrar_access_request_id}/reject
- 概要:
拒绝访问请求(决定)
拒绝访问请求(决定)
PDP动作:
thingmake:AccessRequest:Reject- param string registrar_access_request_id:
请求示例:
.. 源代码:: http
POST /api/v1/registrar-access-requests/{registrar_access_request_id}/reject HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "decided_at": "2026-11-26T01:06:51.363630", "decided_by": "string", "decision_reason": "string", "expires_at": "2026-11-26T01:06:51.363630", "id": "string", "purpose": "string", "registrar_id": "string", "requester_sub": "string", "state": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/registrars
- 概要:
列出注册器(键集分页)
列出注册器(键集分页)
PDP动作:
thingmake:Registrar:List请求示例:
.. 源代码:: http
GET /api/v1/registrars HTTP/1.1 主机:example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "account_id": "string", "approved_at": "2026-11-26T01:06:51.363630", "approved_by": "string", "config": {}, "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "model_id": "string", "name": "string", "provisioning": { "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630" }, "provisioning_override_history": [ { "actor_id": "string", "changed_at": "2026-11-26T01:06:51.363630", "correlation_id": "string", "next": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" }, "previous": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" } } ], "region_restrictions": [ { "region": "string", "since": "2026-11-26T01:06:51.363630", "state": "string" } ], "state": "string" } ], "next_cursor": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrars
- 概要:
创建注册器
创建注册器
PDP动作:
thingmake:Registrar:Create请求示例:
.. 源代码:: http
POST /api/v1/registrars HTTP/1.1 主机:example.com 内容类型:application/json
{ "config": {}, "description": "string", "display_name": "string", "name": "string" }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "account_id": "string", "approved_at": "2026-11-26T01:06:51.363630", "approved_by": "string", "config": {}, "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "model_id": "string", "name": "string", "provisioning": { "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630" }, "provisioning_override_history": [ { "actor_id": "string", "changed_at": "2026-11-26T01:06:51.363630", "correlation_id": "string", "next": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" }, "previous": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" } } ], "region_restrictions": [ { "region": "string", "since": "2026-11-26T01:06:51.363630", "state": "string" } ], "state": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:delete:: /api/v1/registrars/{registrar_id}
- 概要:
删除注册器
删除注册器
PDP动作:
thingmake:Registrar:Delete- param string registrar_id:
- 状态 204:
没有内容
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/registrars/{registrar_id}
- 概要:
通过 id 读取注册器
通过 id 读取注册器
PDP动作:
thingmake:Registrar:Read- param string registrar_id:
请求示例:
.. 源代码:: http
GET /api/v1/registrars/{registrar_id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "approved_at": "2026-11-26T01:06:51.363630", "approved_by": "string", "config": {}, "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "model_id": "string", "name": "string", "provisioning": { "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630" }, "provisioning_override_history": [ { "actor_id": "string", "changed_at": "2026-11-26T01:06:51.363630", "correlation_id": "string", "next": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" }, "previous": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" } } ], "region_restrictions": [ { "region": "string", "since": "2026-11-26T01:06:51.363630", "state": "string" } ], "state": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:patch:: /api/v1/registrars/{registrar_id}
- 概要:
更新注册器
更新注册器
PDP动作:
thingmake:Registrar:Update- param string registrar_id:
请求示例:
.. 源代码:: http
PATCH /api/v1/registrars/{registrar_id} HTTP/1.1 Host: example.com Content-Type: application/json { "config": {}, "description": "string", "display_name": "string", "name": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "approved_at": "2026-11-26T01:06:51.363630", "approved_by": "string", "config": {}, "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "model_id": "string", "name": "string", "provisioning": { "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630" }, "provisioning_override_history": [ { "actor_id": "string", "changed_at": "2026-11-26T01:06:51.363630", "correlation_id": "string", "next": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" }, "previous": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" } } ], "region_restrictions": [ { "region": "string", "since": "2026-11-26T01:06:51.363630", "state": "string" } ], "state": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/registrars/{registrar_id}/access-facts
- 概要:
Read the four access facts for a registrar: factory authorization, account access, registrar review and integration readiness (tenant)
Read the four access facts for a registrar: factory authorization, account access, registrar review and integration readiness (tenant)
PDP动作:
thingmake:Registrar:Read- param string registrar_id:
请求示例:
.. 源代码:: http
GET /api/v1/registrars/{registrar_id}/access-facts HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_access": { "state": "none" }, "integration_readiness": { "checked_at": "2026-11-26T01:06:51.363630", "ready_services": 1, "state": "none", "total_services": 1 }, "manufacturer_authorization": { "decided_at": "2026-11-26T01:06:51.363630", "decided_by_role": "string", "state": "none" }, "observed_at": "2026-11-26T01:06:51.363630", "registrar_id": "string", "registrar_review": { "decided_at": "2026-11-26T01:06:51.363630", "state": "none" } }- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- status 500:
Internal Server Error
响应示例:
.. 源代码:: http
HTTP/1.1 500 Internal Server Error Content-Type: application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/registrars/{registrar_id}/activity
- 概要:
List the registrar's audit activity, newest first, filtered by event type (tenant; cursor-paged)
List the registrar's audit activity, newest first, filtered by event type (tenant; cursor-paged)
PDP动作:
thingmake:Registrar:Read- param string registrar_id:
请求示例:
.. 源代码:: http
GET /api/v1/registrars/{registrar_id}/activity HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "items": [ { "actor": { "display": "string", "kind": "string" }, "correlation_id": "string", "event_id": "string", "occurred_at": "2026-11-26T01:06:51.363630", "outcome": "string", "subject": { "id": "string", "kind": "string" }, "type": "string" } ], "next_cursor": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- status 500:
Internal Server Error
响应示例:
.. 源代码:: http
HTTP/1.1 500 Internal Server Error Content-Type: application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrars/{registrar_id}/approve
- 概要:
批准待定注册器
批准待定注册器
PDP动作:
thingmake:Registrar:Approve- param string registrar_id:
请求示例:
.. 源代码:: http
POST /api/v1/registrars/{registrar_id}/approve HTTP/1.1 Host: example.com Content-Type: application/json { "note": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "approved_at": "2026-11-26T01:06:51.363630", "approved_by": "string", "config": {}, "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "model_id": "string", "name": "string", "provisioning": { "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630" }, "provisioning_override_history": [ { "actor_id": "string", "changed_at": "2026-11-26T01:06:51.363630", "correlation_id": "string", "next": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" }, "previous": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" } } ], "region_restrictions": [ { "region": "string", "since": "2026-11-26T01:06:51.363630", "state": "string" } ], "state": "string" }- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:put:: /api/v1/registrars/{registrar_id}/canonical-model
- 概要:
Bind the registrar's canonical Model (set-once)
Bind the registrar's canonical Model (set-once)
PDP动作:
thingmake:Registrar:Update- param string registrar_id:
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "approved_at": "2026-11-26T01:06:51.363630", "approved_by": "string", "config": {}, "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "model_id": "string", "name": "string", "provisioning": { "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630" }, "provisioning_override_history": [ { "actor_id": "string", "changed_at": "2026-11-26T01:06:51.363630", "correlation_id": "string", "next": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" }, "previous": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" } } ], "region_restrictions": [ { "region": "string", "since": "2026-11-26T01:06:51.363630", "state": "string" } ], "state": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrars/{registrar_id}/consent
- 概要:
Record the customer's provisioning-trust consent (AWAITING_CONSENT → PENDING)
Record the customer's provisioning-trust consent (AWAITING_CONSENT → PENDING)
PDP动作:
thingmake:Registrar:Create- param string registrar_id:
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "approved_at": "2026-11-26T01:06:51.363630", "approved_by": "string", "config": {}, "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "model_id": "string", "name": "string", "provisioning": { "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630" }, "provisioning_override_history": [ { "actor_id": "string", "changed_at": "2026-11-26T01:06:51.363630", "correlation_id": "string", "next": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" }, "previous": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" } } ], "region_restrictions": [ { "region": "string", "since": "2026-11-26T01:06:51.363630", "state": "string" } ], "state": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:put:: /api/v1/registrars/{registrar_id}/provisioning-override
- 概要:
Set or clear the registrar's versioned provisioning override
Set or clear the registrar's versioned provisioning override
PDP动作:
thingmake:Registrar:Approve- param string registrar_id:
请求示例:
.. 源代码:: http
PUT /api/v1/registrars/{registrar_id}/provisioning-override HTTP/1.1 Host: example.com Content-Type: application/json { "provisioning_override": {} }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "approved_at": "2026-11-26T01:06:51.363630", "approved_by": "string", "config": {}, "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "model_id": "string", "name": "string", "provisioning": { "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630" }, "provisioning_override_history": [ { "actor_id": "string", "changed_at": "2026-11-26T01:06:51.363630", "correlation_id": "string", "next": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" }, "previous": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" } } ], "region_restrictions": [ { "region": "string", "since": "2026-11-26T01:06:51.363630", "state": "string" } ], "state": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrars/{registrar_id}/reject
- 概要:
Reject a pending registrar
Reject a pending registrar
PDP动作:
thingmake:Registrar:Reject- param string registrar_id:
请求示例:
.. 源代码:: http
POST /api/v1/registrars/{registrar_id}/reject HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "approved_at": "2026-11-26T01:06:51.363630", "approved_by": "string", "config": {}, "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "model_id": "string", "name": "string", "provisioning": { "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630" }, "provisioning_override_history": [ { "actor_id": "string", "changed_at": "2026-11-26T01:06:51.363630", "correlation_id": "string", "next": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" }, "previous": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" } } ], "region_restrictions": [ { "region": "string", "since": "2026-11-26T01:06:51.363630", "state": "string" } ], "state": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrars/{registrar_id}/resume-provisioning
- 概要:
Resume NEW provisioning for this registrar (operator-only; platform-scope)
Resume NEW provisioning for this registrar (operator-only; platform-scope)
PDP action:
thingmake:Registrar:ResumeProvisioning- param string registrar_id:
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "approved_at": "2026-11-26T01:06:51.363630", "approved_by": "string", "config": {}, "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "model_id": "string", "name": "string", "provisioning": { "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630" }, "provisioning_override_history": [ { "actor_id": "string", "changed_at": "2026-11-26T01:06:51.363630", "correlation_id": "string", "next": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" }, "previous": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" } } ], "region_restrictions": [ { "region": "string", "since": "2026-11-26T01:06:51.363630", "state": "string" } ], "state": "string" }- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/registrars/{registrar_id}/suspend-provisioning
- 概要:
Suspend NEW provisioning for this registrar — existing Things are unaffected (operator-only; platform-scope)
Suspend NEW provisioning for this registrar — existing Things are unaffected (operator-only; platform-scope)
PDP action:
thingmake:Registrar:SuspendProvisioning- param string registrar_id:
请求示例:
.. 源代码:: http
POST /api/v1/registrars/{registrar_id}/suspend-provisioning HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "approved_at": "2026-11-26T01:06:51.363630", "approved_by": "string", "config": {}, "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "model_id": "string", "name": "string", "provisioning": { "suspended": true, "suspended_at": "2026-11-26T01:06:51.363630" }, "provisioning_override_history": [ { "actor_id": "string", "changed_at": "2026-11-26T01:06:51.363630", "correlation_id": "string", "next": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" }, "previous": { "contract_version": "string", "hosting": "string", "implementation": "string", "version": "string" } } ], "region_restrictions": [ { "region": "string", "since": "2026-11-26T01:06:51.363630", "state": "string" } ], "state": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/registrars/{registrar_id}/things-by-region
- 概要:
Read a registrar's Thing count per home region, plus the count carrying no region (operator-only; platform-scope)
Read a registrar's Thing count per home region, plus the count carrying no region (operator-only; platform-scope)
PDP action:
thingmake:Registrar:ReadThingsByRegion- param string registrar_id:
请求示例:
.. 源代码:: http
GET /api/v1/registrars/{registrar_id}/things-by-region HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "regions": [ { "observed_at": "2026-11-26T01:06:51.363630", "region": "string", "things": 1 } ], "registrar_id": "string", "unstamped": 1 }- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/restrictions
- 概要:
Create a region restriction — NEW provisioning into the region is refused for that registrar; existing Things are unaffected (operator-only)
Create a region restriction — NEW provisioning into the region is refused for that registrar; existing Things are unaffected (operator-only)
PDP action:
thingmake:Registrar:RestrictRegion请求示例:
.. 源代码:: http
POST /api/v1/restrictions HTTP/1.1 Host: example.com Content-Type: application/json
{ "reason": "string", "region": "string", "registrar_id": "string" }
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "actor": "string", "occurred_at": "2026-11-26T01:06:51.363630", "reason": "string", "region": "string", "registrar_id": "string", "restricted": true, "restriction_id": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 422:
响应
响应示例:
.. 源代码:: http
HTTP/1.1 422 Unprocessable Entity Content-Type: application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:delete:: /api/v1/restrictions/{restriction_id}
- 概要:
Lift a region restriction by its own id (operator-only)
Lift a region restriction by its own id (operator-only)
PDP动作:
thingmake:Registrar:Reject- param string restriction_id:
请求示例:
.. 源代码:: http
DELETE /api/v1/restrictions/{restriction_id} HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "actor": "string", "occurred_at": "2026-11-26T01:06:51.363630", "reason": "string", "region": "string", "registrar_id": "string", "restricted": true, "restriction_id": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 422:
响应
响应示例:
.. 源代码:: http
HTTP/1.1 422 Unprocessable Entity Content-Type: application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/software
- 概要:
List software/driver bundles (keyset pagination)
List software/driver bundles (keyset pagination)
PDP action:
thingmake:Software:List请求示例:
.. 源代码:: http
GET /api/v1/software HTTP/1.1 Host: example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "account_id": "string", "applies_to": [ {} ], "artifact_id": "string", "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "kind": "string", "software_frn": "string", "state": "string", "updated_at": "2026-11-26T01:06:51.363630", "version": "string" } ], "next_cursor": "string" }
.. http:post:: /api/v1/software
- 概要:
Register a software/driver bundle and the vid:pid descriptor set it loads onto
Register a software/driver bundle and the vid:pid descriptor set it loads onto
PDP action:
thingmake:Software:Create请求示例:
.. 源代码:: http
POST /api/v1/software HTTP/1.1 Host: example.com Content-Type: application/json
{ "applies_to": [ {} ], "artifact_id": "string", "description": "string", "display_name": "string", "kind": "string", "state": "string", "version": "string" }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "account_id": "string", "applies_to": [ {} ], "artifact_id": "string", "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "kind": "string", "software_frn": "string", "state": "string", "updated_at": "2026-11-26T01:06:51.363630", "version": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:delete:: /api/v1/software/{software_id}
- 概要:
Delete a software/driver bundle
Delete a software/driver bundle
PDP action:
thingmake:Software:Delete- param string software_id:
- 状态 204:
没有内容
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/software/{software_id}
- 概要:
Read a software/driver bundle + its applicability set
Read a software/driver bundle + its applicability set
PDP action:
thingmake:Software:Read- param string software_id:
请求示例:
.. 源代码:: http
GET /api/v1/software/{software_id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "applies_to": [ {} ], "artifact_id": "string", "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "kind": "string", "software_frn": "string", "state": "string", "updated_at": "2026-11-26T01:06:51.363630", "version": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:patch:: /api/v1/software/{software_id}
- 概要:
Update a software/driver bundle (applies_to replaces the descriptor set)
Update a software/driver bundle (applies_to replaces the descriptor set)
PDP action:
thingmake:Software:Update- param string software_id:
请求示例:
.. 源代码:: http
PATCH /api/v1/software/{software_id} HTTP/1.1 Host: example.com Content-Type: application/json { "applies_to": [ {} ], "description": "string", "display_name": "string", "kind": "string", "state": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "account_id": "string", "applies_to": [ {} ], "artifact_id": "string", "created_at": "2026-11-26T01:06:51.363630", "description": "string", "display_name": "string", "id": "string", "kind": "string", "software_frn": "string", "state": "string", "updated_at": "2026-11-26T01:06:51.363630", "version": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/state-change-subscriptions
- 概要:
List webhook subscriptions for the authenticated registrar (paginated)
List webhook subscriptions for the authenticated registrar (paginated)
PDP action:
thingmake:StateChangeSubscription:List请求示例:
.. 源代码:: http
GET /api/v1/state-change-subscriptions HTTP/1.1 Host: example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "consecutive_failures": 1, "created_at": "2026-11-26T01:06:51.363630", "event_filter": {}, "id": "string", "last_delivery_at": "2026-11-26T01:06:51.363630", "registrar_id": "string", "status": "string", "target_url": "string", "updated_at": "2026-11-26T01:06:51.363630" } ], "limit": 1, "offset": 1, "total": 1 }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/state-change-subscriptions
- 概要:
Subscribe a factory webhook for state-change push notifications (acknowledge_polling_still_mandatory required; secret echoed once)
Subscribe a factory webhook for state-change push notifications (acknowledge_polling_still_mandatory required; secret echoed once)
PDP action:
thingmake:StateChangeSubscription:Create请求示例:
.. 源代码:: http
POST /api/v1/state-change-subscriptions HTTP/1.1 Host: example.com Content-Type: application/json
{ "acknowledge_polling_still_mandatory": true, "event_filter": {}, "target_url": "string", "webhook_secret": "string" }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "consecutive_failures": 1, "created_at": "2026-11-26T01:06:51.363630", "event_filter": {}, "id": "string", "polling_contract_url": "string", "polling_mandatory": true, "registrar_id": "string", "status": "string", "target_url": "string", "updated_at": "2026-11-26T01:06:51.363630", "webhook_secret": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 422:
响应
响应示例:
.. 源代码:: http
HTTP/1.1 422 Unprocessable Entity Content-Type: application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:delete:: /api/v1/state-change-subscriptions/{state_change_subscription_id}
- 概要:
Soft-delete a webhook subscription
Soft-delete a webhook subscription
PDP action:
thingmake:StateChangeSubscription:Delete- param string state_change_subscription_id:
- 状态 204:
没有内容
响应示例:
.. 源代码:: http
HTTP/1.1 204 No Content Content-Type: application/json {}- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/state-change-subscriptions/{state_change_subscription_id}
- 概要:
Get a webhook subscription by id (secret elided)
Get a webhook subscription by id (secret elided)
PDP action:
thingmake:StateChangeSubscription:Read- param string state_change_subscription_id:
请求示例:
.. 源代码:: http
GET /api/v1/state-change-subscriptions/{state_change_subscription_id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "consecutive_failures": 1, "created_at": "2026-11-26T01:06:51.363630", "event_filter": {}, "id": "string", "last_delivery_at": "2026-11-26T01:06:51.363630", "registrar_id": "string", "status": "string", "target_url": "string", "updated_at": "2026-11-26T01:06:51.363630" }- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:patch:: /api/v1/state-change-subscriptions/{state_change_subscription_id}
- 概要:
Update a webhook subscription (target_url, event_filter, status ACTIVE/SUSPENDED, secret); SUSPENDED→ACTIVE resets failures
Update a webhook subscription (target_url, event_filter, status ACTIVE/SUSPENDED, secret); SUSPENDED→ACTIVE resets failures
PDP action:
thingmake:StateChangeSubscription:Update- param string state_change_subscription_id:
请求示例:
.. 源代码:: http
PATCH /api/v1/state-change-subscriptions/{state_change_subscription_id} HTTP/1.1 Host: example.com Content-Type: application/json { "event_filter": {}, "status": "string", "target_url": "string", "webhook_secret": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "consecutive_failures": 1, "created_at": "2026-11-26T01:06:51.363630", "event_filter": {}, "id": "string", "last_delivery_at": "2026-11-26T01:06:51.363630", "registrar_id": "string", "status": "string", "target_url": "string", "updated_at": "2026-11-26T01:06:51.363630" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/state-change-subscriptions/{state_change_subscription_id}/test
- 概要:
Synchronously POST a synthetic event to the subscription's target_url; always returns 200 with {delivered, delivered_status, error}
Synchronously POST a synthetic event to the subscription's target_url; always returns 200 with {delivered, delivered_status, error}
PDP action:
thingmake:StateChangeSubscription:Test- param string state_change_subscription_id:
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "delivered": true, "delivered_status": 1, "error": "string", "subscription_id": "string" }- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/state-changes
- 概要:
Poll registrar-scoped state-changes feed (?since=
; 72h TTL → HTTP 410; ?registrar_id= rejected with 400) Poll registrar-scoped state-changes feed (?since=
; 72h TTL → HTTP 410; ?registrar_id= rejected with 400) PDP action:
thingmake:StateChange:List请求示例:
.. 源代码:: http
GET /api/v1/state-changes HTTP/1.1 Host: example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "audit_ref": 1, "new_state": "string", "old_state": "string", "registrar_id": "string", "saga_id": "string", "seq": 1, "thing_id": "string", "ts": "2026-11-26T01:06:51.363630" } ], "next_cursor": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 410:
响应
响应示例:
.. 源代码:: http
HTTP/1.1 410 消失 内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/thing-acquisitions
- 概要:
Acquire ThingReferences from an fgai-thing-acquisition carrier (bound recipient only) — the file/link/QR envelope of the redeem above
Acquire ThingReferences from an fgai-thing-acquisition carrier (bound recipient only) — the file/link/QR envelope of the redeem above
PDP动作:
thingmake:Registrar:Read请求示例:
.. 源代码:: http
POST /api/v1/thing-acquisitions HTTP/1.1 Host: example.com Content-Type: application/json
{ "format": "string", "token": "string", "version": 1 }
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "artifact_id": "string", "items": [ { "detail": "string", "outcome": "string", "thing_id": "string" } ], "job_state": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/thing-ownership-claims
- 概要:
Establish first ownership from an fgai-thing-ownership-claim carrier (bound recipient only); a repeat call resumes or reports
Establish first ownership from an fgai-thing-ownership-claim carrier (bound recipient only); a repeat call resumes or reports
PDP action:
thingmake:CapabilityArtifact:ClaimOwnership请求示例:
.. 源代码:: http
POST /api/v1/thing-ownership-claims HTTP/1.1 Host: example.com Content-Type: application/json
{ "format": "string", "token": "string", "version": 1 }
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "artifact_id": "string", "items": [ { "detail": "string", "outcome": "string", "thing_id": "string" } ], "job_state": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 503:
服务不可用
响应示例:
.. 源代码:: http
HTTP/1.1 503 服务不可用内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/thing-testing-grants
- 概要:
Redeem a factory-testing grant (fgai-thing-testing-grant carrier, bound recipient only): testing references, never ownership, ending at handover; a repeat call resumes or reports
Redeem a factory-testing grant (fgai-thing-testing-grant carrier, bound recipient only): testing references, never ownership, ending at handover; a repeat call resumes or reports
PDP action:
thingmake:CapabilityArtifact:RedeemTestingGrant请求示例:
.. 源代码:: http
POST /api/v1/thing-testing-grants HTTP/1.1 Host: example.com Content-Type: application/json
{ "format": "string", "token": "string", "version": 1 }
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "artifact_id": "string", "items": [ { "detail": "string", "outcome": "string", "thing_id": "string" } ], "job_state": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 503:
服务不可用
响应示例:
.. 源代码:: http
HTTP/1.1 503 服务不可用内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/things
- 概要:
List things scoped to the authenticated registrar (paginated; ?state= filter; ?registrar_id= rejected with 400)
List things scoped to the authenticated registrar (paginated; ?state= filter; ?registrar_id= rejected with 400)
PDP action:
thingmake:Thing:List请求示例:
.. 源代码:: http
GET /api/v1/things HTTP/1.1 Host: example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "items": [ { "created_at": "2026-11-26T01:06:51.363630", "id": "string", "is_virtual": true, "model": "string", "pending_annihilation": { "expires_at": "2026-11-26T01:06:51.363630", "reason": "string", "requested_at": "2026-11-26T01:06:51.363630", "requested_by": { "display_name": "string", "id": "string" } }, "provisioning": { "absent_reason": "string", "current": { "contract_version": "string", "hosting": "platform", "implementation": "string", "implementation_version": "string", "leg_id": 1, "method": "string", "recorded_at": "2026-11-26T01:06:51.363630", "saga_id": "string", "selection_source": "registrar" }, "history": [ { "contract_version": "string", "hosting": "platform", "implementation": "string", "implementation_version": "string", "leg_id": 1, "method": "string", "recorded_at": "2026-11-26T01:06:51.363630", "saga_id": "string", "selection_source": "registrar" } ] }, "region": "string", "registrar_id": "string", "sn": "string", "state": "string", "trust": { "expires_at": "2026-11-26T01:06:51.363630", "history": [ { "at": "2026-11-26T01:06:51.363630", "event": "issued" } ], "history_total": 1, "issuing_authority_role": "string", "max_staleness_seconds": 1, "observed_at": "2026-11-26T01:06:51.363630", "revocation_reason_category": "string", "status": "pending", "valid_from": "2026-11-26T01:06:51.363630", "valid_until": "2026-11-26T01:06:51.363630" }, "updated_at": "2026-11-26T01:06:51.363630" } ], "next_cursor": "string", "total": 1 }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/things/{id}
- 概要:
Get a thing by id (404 leakage-free on cross-registrar access)
Get a thing by id (404 leakage-free on cross-registrar access)
PDP action:
thingmake:Thing:Read- 参数字符串id:
请求示例:
.. 源代码:: http
GET /api/v1/things/{id} HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "created_at": "2026-11-26T01:06:51.363630", "id": "string", "is_virtual": true, "model": "string", "pending_annihilation": { "expires_at": "2026-11-26T01:06:51.363630", "reason": "string", "requested_at": "2026-11-26T01:06:51.363630", "requested_by": { "display_name": "string", "id": "string" } }, "provisioning": { "absent_reason": "string", "current": { "contract_version": "string", "hosting": "platform", "implementation": "string", "implementation_version": "string", "leg_id": 1, "method": "string", "recorded_at": "2026-11-26T01:06:51.363630", "saga_id": "string", "selection_source": "registrar" }, "history": [ { "contract_version": "string", "hosting": "platform", "implementation": "string", "implementation_version": "string", "leg_id": 1, "method": "string", "recorded_at": "2026-11-26T01:06:51.363630", "saga_id": "string", "selection_source": "registrar" } ] }, "region": "string", "registrar_id": "string", "sn": "string", "state": "string", "trust": { "expires_at": "2026-11-26T01:06:51.363630", "history": [ { "at": "2026-11-26T01:06:51.363630", "event": "issued" } ], "history_total": 1, "issuing_authority_role": "string", "max_staleness_seconds": 1, "observed_at": "2026-11-26T01:06:51.363630", "revocation_reason_category": "string", "status": "pending", "valid_from": "2026-11-26T01:06:51.363630", "valid_until": "2026-11-26T01:06:51.363630" }, "updated_at": "2026-11-26T01:06:51.363630" }- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/things/{id}/activate
- 概要:
Start ACTIVATE saga (PROVISIONED|DEACTIVATED → ACTIVATED, unified verb)
Start ACTIVATE saga (PROVISIONED|DEACTIVATED → ACTIVATED, unified verb)
PDP action:
thingmake:Thing:Activate- 参数字符串id:
- status 202:
Accepted
响应示例:
.. 源代码:: http
HTTP/1.1 202 Accepted Content-Type: application/json { "saga_id": "string", "state": "string", "thing": {}, "verb": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/things/{id}/activation-result
- 概要:
Activation-leg result webhook
Activation-leg result webhook
PDP action:
thingmake:Thing:Activate- 参数字符串id:
请求示例:
.. 源代码:: http
POST /api/v1/things/{id}/activation-result HTTP/1.1 Host: example.com Content-Type: application/json { "error": "string", "leg_id": 1, "payload": {}, "saga_id": "string", "success": true }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "acknowledged": true, "already_complete": true, "leg_id": 1, "saga_id": "string", "saga_state": "string", "thing_state": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:delete:: /api/v1/things/{id}/annihilate
- 概要:
Start annihilation: enter ANNIHILATION-PENDING with a required reason (dual-control; a distinct second principal must confirm within 24h)
Start annihilation: enter ANNIHILATION-PENDING with a required reason (dual-control; a distinct second principal must confirm within 24h)
PDP action:
thingmake:Thing:Annihilate- 参数字符串id:
请求示例:
.. 源代码:: http
DELETE /api/v1/things/{id}/annihilate HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- status 202:
Accepted
响应示例:
.. 源代码:: http
HTTP/1.1 202 Accepted Content-Type: application/json { "expires_at": "2026-11-26T01:06:51.363630", "requested_by": "string", "thing": {} }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/things/{id}/annihilate/confirm
- 概要:
Confirm ANNIHILATE (distinct principal); starts 3-leg saga
Confirm ANNIHILATE (distinct principal); starts 3-leg saga
PDP action:
thingmake:Thing:Annihilate- 参数字符串id:
- status 202:
Accepted
响应示例:
.. 源代码:: http
HTTP/1.1 202 Accepted Content-Type: application/json { "saga_id": "string", "state": "string", "thing": {}, "verb": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/things/{id}/annihilate/recover
- 概要:
Request recovery of a Thing parked in ANNIHILATION-FAILED with a required reason (dual-control; a distinct principal must confirm)
Request recovery of a Thing parked in ANNIHILATION-FAILED with a required reason (dual-control; a distinct principal must confirm)
PDP action:
thingmake:Thing:Annihilate- 参数字符串id:
请求示例:
.. 源代码:: http
POST /api/v1/things/{id}/annihilate/recover HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- status 202:
Accepted
响应示例:
.. 源代码:: http
HTTP/1.1 202 Accepted Content-Type: application/json { "detail": "string", "expires_at": "2026-11-26T01:06:51.363630", "failed_saga_id": "string", "requested_by": "string", "state": "string", "thing_id": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/things/{id}/annihilate/recover/confirm
- 概要:
Confirm annihilation recovery (distinct principal); starts a NEW 3-leg saga and leaves the FAILED saga untouched
Confirm annihilation recovery (distinct principal); starts a NEW 3-leg saga and leaves the FAILED saga untouched
PDP action:
thingmake:Thing:Annihilate- 参数字符串id:
- status 202:
Accepted
响应示例:
.. 源代码:: http
HTTP/1.1 202 Accepted Content-Type: application/json { "saga_id": "string", "state": "string", "thing": {}, "verb": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/things/{id}/annihilation-result
- 概要:
Annihilation-leg result webhook
Annihilation-leg result webhook
PDP action:
thingmake:Thing:Annihilate- 参数字符串id:
请求示例:
.. 源代码:: http
POST /api/v1/things/{id}/annihilation-result HTTP/1.1 Host: example.com Content-Type: application/json { "error": "string", "leg_id": 1, "payload": {}, "saga_id": "string", "success": true }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "acknowledged": true, "already_complete": true, "leg_id": 1, "saga_id": "string", "saga_state": "string", "thing_state": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/things/{id}/audit
- 概要:
Get a thing's state-transition audit trail (limit-capped at 200)
Get a thing's state-transition audit trail (limit-capped at 200)
PDP action:
thingmake:Thing:ReadAuditState transitions only; business events such as enrollment are in the audit chain. A tenant read by target FRN is tracked in trustmint#525.
- 参数字符串id:
请求示例:
.. 源代码:: http
GET /api/v1/things/{id}/audit HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "items": [ { "from_state": "string", "id": 1, "saga_id": "string", "thing_id": "string", "to_state": "string", "transition_actor": "string", "transitioned_at": "2026-11-26T01:06:51.363630", "verb": "string" } ] }- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/things/{id}/deactivate
- 概要:
Start DEACTIVATE saga (ACTIVATED → DEACTIVATED, reversible kill-switch)
Start DEACTIVATE saga (ACTIVATED → DEACTIVATED, reversible kill-switch)
PDP action:
thingmake:Thing:Deactivate- 参数字符串id:
- status 202:
Accepted
响应示例:
.. 源代码:: http
HTTP/1.1 202 Accepted Content-Type: application/json { "saga_id": "string", "state": "string", "thing": {}, "verb": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/things/{id}/deactivation-result
- 概要:
Deactivation-leg result webhook
Deactivation-leg result webhook
PDP action:
thingmake:Thing:Deactivate- 参数字符串id:
请求示例:
.. 源代码:: http
POST /api/v1/things/{id}/deactivation-result HTTP/1.1 Host: example.com Content-Type: application/json { "error": "string", "leg_id": 1, "payload": {}, "saga_id": "string", "success": true }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "acknowledged": true, "already_complete": true, "leg_id": 1, "saga_id": "string", "saga_state": "string", "thing_state": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/things/{id}/factory-handover
- 概要:
Begin factory handover (IN_FACTORY → HANDOVER_PENDING; closes new factory delivery eligibility)
Begin factory handover (IN_FACTORY → HANDOVER_PENDING; closes new factory delivery eligibility)
PDP action:
thingmake:Thing:Handover- 参数字符串id:
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "actor_id": "string", "applied": true, "factory_delivery_eligible": true, "occurred_at": "2026-11-26T01:06:51.363630", "reason": "string", "revision": 1, "source": "string", "state": "string", "thing_id": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/things/{id}/factory-release
- 概要:
Release the Thing from the factory (HANDOVER_PENDING → RELEASED; terminal)
Release the Thing from the factory (HANDOVER_PENDING → RELEASED; terminal)
PDP action:
thingmake:Thing:ReleaseFromFactory- 参数字符串id:
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "actor_id": "string", "applied": true, "factory_delivery_eligible": true, "occurred_at": "2026-11-26T01:06:51.363630", "reason": "string", "revision": 1, "source": "string", "state": "string", "thing_id": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/things/{id}/factory-state
- 概要:
Read a thing's factory state and revisions
Read a thing's factory state and revisions
PDP action:
thingmake:Thing:ReadFactoryState- 参数字符串id:
请求示例:
.. 源代码:: http
GET /api/v1/things/{id}/factory-state HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "eligibility": {}, "factory_delivery_eligible": true, "is_virtual": true, "manufacturer_qualified": true, "model_id": "string", "region": "string", "registrar_id": "string", "revisions": [ {} ], "thing_id": "string", "thing_state": "string" }- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/things/{id}/provision
- 概要:
Start PROVISION saga (ROLLEDOFF → PROVISIONED)
Start PROVISION saga (ROLLEDOFF → PROVISIONED)
PDP action:
thingmake:Thing:Provision- 参数字符串id:
- status 202:
Accepted
响应示例:
.. 源代码:: http
HTTP/1.1 202 Accepted Content-Type: application/json { "saga_id": "string", "state": "string", "thing": {}, "verb": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/things/{id}/provision/recover
- 概要:
Platform operator: roll a Thing wedged in PROVISIONING behind a FAILED provisioning saga back to ROLLEDOFF, with a required reason
Platform operator: roll a Thing wedged in PROVISIONING behind a FAILED provisioning saga back to ROLLEDOFF, with a required reason
PDP action:
thingmake:Thing:RecoverProvisioning- 参数字符串id:
请求示例:
.. 源代码:: http
POST /api/v1/things/{id}/provision/recover HTTP/1.1 Host: example.com Content-Type: application/json { "reason": "string" }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "failed_saga_id": "string", "from_state": "string", "recovered_at": "2026-11-26T01:06:51.363630", "recovered_by": "string", "state": "string", "thing_id": "string" }- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 409:
冲突
响应示例:
.. 源代码:: http
HTTP/1.1 409 冲突内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/things/{id}/provisioning-result
- 概要:
Provisioning-leg result webhook (factory backend)
Provisioning-leg result webhook (factory backend)
PDP action:
thingmake:Thing:Provision- 参数字符串id:
请求示例:
.. 源代码:: http
POST /api/v1/things/{id}/provisioning-result HTTP/1.1 Host: example.com Content-Type: application/json { "error": "string", "leg_id": 1, "payload": {}, "saga_id": "string", "success": true }- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "acknowledged": true, "already_complete": true, "leg_id": 1, "saga_id": "string", "saga_state": "string", "thing_state": "string" }- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/things/{id}/state
- 概要:
Get a thing's current state + updated_at
Get a thing's current state + updated_at
PDP action:
thingmake:Thing:ReadState- 参数字符串id:
请求示例:
.. 源代码:: http
GET /api/v1/things/{id}/state HTTP/1.1 Host: example.com- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK Content-Type: application/json { "state": "string", "thing_id": "string", "updated_at": "2026-11-26T01:06:51.363630" }- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/things/export
- 概要:
Export the account's things as a file (format=csv|jsonl; capped — see X-Export-Truncated)
Export the account's things as a file (format=csv|jsonl; capped — see X-Export-Truncated)
PDP action:
thingmake:Thing:List请求示例:
.. 源代码:: http
GET /api/v1/things/export HTTP/1.1 Host: example.com
- 状态 200:
正常
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态 401:
未认证
响应示例:
.. 源代码:: http
HTTP/1.1 401 未经授权内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/things/resolve
- 概要:
Resolve a (model, serial) query to a Thing in the caller's inventory
Resolve a (model, serial) query to a Thing in the caller's inventory
PDP action:
thingmake:Thing:List请求示例:
.. 源代码:: http
GET /api/v1/things/resolve HTTP/1.1 Host: example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "created_at": "2026-11-26T01:06:51.363630", "id": "string", "is_virtual": true, "model": "string", "pending_annihilation": { "expires_at": "2026-11-26T01:06:51.363630", "reason": "string", "requested_at": "2026-11-26T01:06:51.363630", "requested_by": { "display_name": "string", "id": "string" } }, "provisioning": { "absent_reason": "string", "current": { "contract_version": "string", "hosting": "platform", "implementation": "string", "implementation_version": "string", "leg_id": 1, "method": "string", "recorded_at": "2026-11-26T01:06:51.363630", "saga_id": "string", "selection_source": "registrar" }, "history": [ { "contract_version": "string", "hosting": "platform", "implementation": "string", "implementation_version": "string", "leg_id": 1, "method": "string", "recorded_at": "2026-11-26T01:06:51.363630", "saga_id": "string", "selection_source": "registrar" } ] }, "region": "string", "registrar_id": "string", "sn": "string", "state": "string", "trust": { "expires_at": "2026-11-26T01:06:51.363630", "history": [ { "at": "2026-11-26T01:06:51.363630", "event": "issued" } ], "history_total": 1, "issuing_authority_role": "string", "max_staleness_seconds": 1, "observed_at": "2026-11-26T01:06:51.363630", "revocation_reason_category": "string", "status": "pending", "valid_from": "2026-11-26T01:06:51.363630", "valid_until": "2026-11-26T01:06:51.363630" }, "updated_at": "2026-11-26T01:06:51.363630" }
- 状态 403:
无权限
响应示例:
.. 源代码:: http
HTTP/1.1 403 禁止内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:get:: /api/v1/vendor
- 概要:
Read the account's VID namespace
Read the account's VID namespace
PDP action:
thingmake:Vendor:Read请求示例:
.. 源代码:: http
GET /api/v1/vendor HTTP/1.1 Host: example.com
- 状态 200:
正常
响应示例:
.. 源代码:: http
HTTP/1.1 200 OK 内容类型:application/json
{ "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "display_name": "string", "vid": "string" }
- 状态404:
未找到
响应示例:
.. 源代码:: http
HTTP/1.1 404 未找到内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }
.. http:post:: /api/v1/vendor
- 概要:
Assign (or fetch) the account's platform VID namespace
Assign (or fetch) the account's platform VID namespace
PDP action:
thingmake:Vendor:Assign请求示例:
.. 源代码:: http
POST /api/v1/vendor HTTP/1.1 Host: example.com Content-Type: application/json
{ "display_name": "string" }
- 状态 201:
已创建
响应示例:
.. 源代码:: http
HTTP/1.1 201 Created Content-Type: application/json
{ "account_id": "string", "created_at": "2026-11-26T01:06:51.363630", "display_name": "string", "vid": "string" }
- 状态 400:
验证失败
响应示例:
.. 源代码:: http
HTTP/1.1 400 错误请求内容类型:application/json
{ "code": "string", "detail": "string", "instance": "string", "max_age_seconds": 1, "request_id": "string", "required_action": "string", "status": 1, "title": "string", "trace_id": "string", "type": "https://example.com" }