V1.0

Agreement

Access instructions

  • use POST request,application/json
  • App ID(appId)and application key(appSecret)Please contact customer service for configuration and acquisition

Interface request address

https://open.youyiyun.tech/api

example:https://open.youyiyun.tech/api?action=request.token

Common request headers

  • Content-Type

    application/json;
  • X-Request-AppId

    X-Request-AppId Unique app identifier in the platform
  • X-Request-Token

    X-Request-Token Interface authorization verification ID,get by request.token,token Validity period is 2 hours,within the validity period,new and old tokens can be used at the same time.

API interface

Return value description

  • code is 0, the interface call is successful
  • code is 400, interface call failed,view details in Error code list

Error code list

Error code description solution

lack_params

Missing parameters

token_invalid

token error

Reacquire token

not_supported

Interface request type not supported

Check if it is post+json

params_error

Parameter error