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 GET \ --url https://wfapi.yuhe.space/api/auth/session
{ "errCode": 123, "errMessage": "<string>", "data": { "authenticated": true, "principal": { "userId": "<string>", "displayName": "<string>", "email": "jsmith@example.com", "permissions": [], "apiKeyId": "<string>", "roleNames": [ "<string>" ] } } }
未登录时返回 authenticated: false;已登录时带上 principal 摘要。
authenticated: false
""
Show child attributes