API 参考Client-environments
识别客户端已有注册
POST
/api/v1/client-environments/pairings/{pairing_id}/recognize路径参数
pairing_id*Pairing Id
请求体
application/json
TypeScript 类型定义
在 TypeScript 中使用 request body 类型。
响应体
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/client-environments/pairings/string/recognize" \ -H "Content-Type: application/json" \ -d '{ "device_id": "string", "environment_id": "string" }'{ "device": { "computer_use": false, "default_working_directory": "string", "device_id": "string", "environment_id": "string", "full_control": false, "name": "string" }, "environment_id": "string", "expires_at": "2019-08-24T14:15:22Z", "host_name": "string", "id": "string", "owner_id": "string", "reused": false, "service_url": "string", "state": "waiting", "verification_code": "string", "workspace_id": "string"}