Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://wfapi.yuhe.space/api/auth/device/start \ --header 'Content-Type: application/json' \ --data ' { "clientName": "<string>", "source": "<string>", "requestedScopes": [ "<string>" ] } '
{ "errCode": 123, "errMessage": "<string>", "data": { "deviceCode": "<string>", "userCode": "<string>", "verificationUri": "<string>", "verificationUriComplete": "<string>", "expiresAt": "2023-11-07T05:31:56Z", "intervalSeconds": 123 } }
CLI / App / Web 先调用此接口获取 device code、user code 与浏览器批准地址, 之后由已登录的浏览器会话访问 /login/device 批准。
/login/device
返回本次 device flow 所需的设备码、验证码与轮询间隔。
""
Show child attributes