API

Catalog


GET Is valid app

Request path:

https://developer.aiursoft.com/API/IsValidAppTry

Request example:

https://developer.aiursoft.com/API/IsValidApp?AppId=yourAppId&AppSecret=yourAppSecret

Request arguments:

Name Required Type
AppId Required Text
AppSecret Required Text

Possible Response:

{
  "Code": -1,
  "Message": "Some error."
}

Possible Response:

{
  "Items": [
    "Some item is invalid!"
  ],
  "Code": -10,
  "Message": "Your input contains several errors!"
}

GET App info

Request path:

https://developer.aiursoft.com/API/AppInfoTry

Request example:

https://developer.aiursoft.com/API/AppInfo?AppId=yourAppId

Request arguments:

Name Required Type
AppId Required Text

Possible Response:

{
  "App": {
    "AppId": "an example string.",
    "AppName": "an example string.",
    "IconPath": "an example string.",
    "AppDescription": "an example string.",
    "AppCreateTime": "2019-11-18T21:00:42.8335629Z",
    "AppCategory": 0,
    "AppPlatform": 0,
    "EnableOAuth": true,
    "ForceInputPassword": true,
    "ForceConfirmation": true,
    "DebugMode": true,
    "AppDomain": "an example string.",
    "ViewOpenId": true,
    "ViewPhoneNumber": true,
    "ChangePhoneNumber": true,
    "ConfirmEmail": true,
    "ChangeBasicInfo": true,
    "ChangePassword": true,
    "ChangeGrantInfo": true,
    "ViewAuditLog": true,
    "ManageSocialAccount": true,
    "CreatorId": "an example string.",
    "PrivacyStatementUrl": "an example string.",
    "LicenseUrl": "an example string."
  },
  "Code": 0,
  "Message": "an example string."
}

Possible Response:

{
  "Code": -1,
  "Message": "Some error."
}

Possible Response:

{
  "Items": [
    "Some item is invalid!"
  ],
  "Code": -10,
  "Message": "Your input contains several errors!"
}