获取授权状态
Changed on接口说明:轮询平台授权 Session 状态。sessionId 必须使用发起平台授权成功响应中的 data.sessionId,不能自行生成或跨授权会话复用。
Request
- Base URLhttps://aitoearn.cn
- AuthAPI key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
授权平台。必须与发起授权时使用的 platform 一致。可选值:douyin、xhs、wxSph、KWAI、wxGzh、bilibili。
发起平台授权接口成功响应中的 data.sessionId
Response
请求已被服务处理。业务是否成功以响应体 code === 0 为准。
Changes
- breaking
the
pathrequest parameterplatformwas restricted to a list of enum values - breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status - breaking
the
/response's property format changed fromdate-timeto no format for status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added the new enum value
KWAIto thepathrequest parameterplatform - info
added the new enum value
bilibilito thepathrequest parameterplatform - info
added the new enum value
douyinto thepathrequest parameterplatform - info
added the new enum value
wxGzhto thepathrequest parameterplatform - info
added the new enum value
wxSphto thepathrequest parameterplatform - info
added the new enum value
xhsto thepathrequest parameterplatform - info
removed the
completedenum value from the/response property for the response status - info
removed the
failedenum value from the/response property for the response status - info
removed the
pendingenum value from the/response property for the response status
- breaking