POST/openapi/v1/tasks/{id}/stop开放 API(第三方)

stop

路径参数

名称类型说明
idinteger

常见错误码

40101签名无效
40102时间戳超出允许范围
40103nonce 已被使用(重放请求)
40301License 无效
40302License 已过期或超出宽限期
40304算法包未授权
40305点位未授权
42901QPS 超限
42902日调用配额已耗尽
50001推理节点不可用
查看完整错误码表 →

调用示例

POST /openapi/v1/tasks/{id}/stop
curl -X POST 'https://your-host/openapi/v1/tasks/<id>/stop' \
  -H 'X-App-Key: AK_xxx' \
  -H 'X-Timestamp: <毫秒时间戳>' \
  -H 'X-Nonce: <随机串>' \
  -H 'X-Signature: <Base64(HMAC-SHA256(待签串, appSecret))>'

示例中的签名口径与"签名规范"页一致;生产环境请把 appSecret 放在服务端,不要下发到浏览器或 App。

同域接口