API
Catalog
GET Error
Request path:
https://developer.aiursoft.com/API/Error
Request example:
https://developer.aiursoft.com/API/Error
Possible Response:
{
"code": -1,
"message": "Some error."
}
Possible Response:
{
"items": [
"Some item is invalid!"
],
"code": -10,
"message": "Your input contains several errors!"
}
GET Is valid app
Request path:
https://developer.aiursoft.com/API/IsValidApp
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/AppInfo
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": "2021-04-12T11:14:39.213013Z",
"appCategory": 0,
"appPlatform": 0,
"enableOAuth": true,
"forceInputPassword": true,
"forceConfirmation": true,
"debugMode": true,
"appDomain": "an example string.",
"appFailCallbackUrl": "an example string.",
"viewOpenId": true,
"viewPhoneNumber": true,
"changePhoneNumber": true,
"confirmEmail": true,
"changeBasicInfo": true,
"changePassword": true,
"changeGrantInfo": true,
"viewAuditLog": true,
"manageSocialAccount": true,
"trustedApp": true,
"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!"
}