Acquiring App name
PS: You need to use Token to change the status, for more details, please check Token
Acquire app name via using package name
Request address
https://ss-api.mintegral.com/api/open/v1/target-apps/app-name
Request method
POST
Request example
json
POST /api/open/v1/target-apps/app-name
HTTP/1.1 Host: ss-api.mintegral.com
Content-Type: application/json
{ "package_name": "com.mtg.adv,id2019121200" }
Request Parameter
Fields | Type | Explanations | Default Value | Examples |
---|---|---|---|---|
package_name | string | Package name, Please use,to separate multiple package_name | — | "com.mtg.adv,id2019121200" |
Response
字段 | 类型 | 说明 |
---|---|---|
code | int | 200 code, is success. Others, are fail. |
msg | string | If success, return to "success". If fail, return to detailed wrong info. |
data | array<json> | If success, return package name and App name data. If fail, return detailed wrong info. |
package_name | string | package name that you request for |
app_name | string | App name that match to your package name |
Response Example
json
{
"code": 200,
"msg": "success",
"data": [
{
"package_name": "com.mtg.adv",
"app_name": "Android APP Name"
},
{
"package_name": "id2019121200",
"app_name": "iOS APP Name"
}
]
}