应用信息
通过蒲公英 API 1.0 获取和修改 App 信息、通过短链接查询 App、查看自己上传应用的旧版接口说明。
该接口可以获取某个 App 的某个具体版本的详细信息。
POSThttp://api.pgyer.com/apiv1/app/view
| 参数 | 类型 | 说明 |
|---|
| aKey | String | App Key 是唯一标识应用的索引 ID,可以通过短链接接口获取,或者我的应用接口获取。 |
| uKey | String | 选填, 用户 Key |
| _api_key | String | API Key |
| 应用详情返回参数 | 类型 | 说明 |
|---|
| appKey | String | App Key |
| userKey | String | User Key |
| appType | Integer | 应用类型(1:iOS;2:Android) |
| appIsFirst | Integer | 是否是第一个 App(1:是;2:否) |
| appIsLastest | Integer | 是否是最新版(1:是;2:否) |
| appFileSize | Integer | App 文件大小 |
| appName | String | 应用名称 |
| appVersion | String | 版本号 |
| appVersionNo | Integer | 适用于 Android 的版本编号,iOS 始终为 0 |
| appBuildVersion | Integer | 蒲公英生成的用于区分历史版本的 build 号 |
| appIdentifier | String | 应用程序包名,iOS 为 Bundle ID,Android 为包名 |
| appIcon | String | 应用的 Icon 图标 Key,访问地址为 https://www.pgyer.com/image/view/app_icons/[应用的 Icon 图标 Key] |
| appDescription | String | 应用介绍 |
| appUpdateDescription | String | 应用更新说明 |
| appScreenShots | String | 应用截图 Key,获取地址为 https://www.pgyer.com/image/view/app_screenshots/[应用截图 Key] |
| appShortcutUrl | String | 应用短链接 |
| appQRCodeURL | String | 应用二维码地址 |
| appCreated | String | 应用上传时间 |
| appUpdated | String | 应用更新时间 |
| 历史版本返回参数 | 类型 | 说明 |
|---|
| appKey | String | App Key |
| userKey | String | User Key |
| appName | String | 应用名称 |
| appVersion | String | 版本号 |
| appBuildVersion | Integer | 蒲公英生成的用于区分历史版本的 build 号 |
| appCreated | String | 应用上传时间 |
| appUpdated | String | 应用更新时间 |
| 应用反馈返回参数 | 类型 | 说明 |
|---|
| userKey | Integer | User Key |
| commentContent | Integer | 反馈内容 |
| commentImageKeys | Integer | 反馈中的截图 Key,访问地址为:https://www.pgyer.com/image/view/comment_screenshot/[反馈中的截图 Key] |
| appBuildVersion | Integer | 蒲公英生成的用于区分历史版本的 build 号 |
| appIdentifier | Integer | 应用程序包名,iOS 为 Bundle ID,Android 为包名 |
| appCreated | Integer | 应用上传时间 |
| appUpdated | Integer | 应用更新时间 |
POSThttp://api.pgyer.com/apiv1/app/update
| 参数 | 类型 | 说明 |
|---|
| aKey | String | App Key 是唯一标识应用的索引 ID,可以通过短链接接口获取,或者我的应用接口获取。 |
| uKey | String | 用户 Key |
| _api_key | String | API Key |
| appName | String | 选填,应用名称 |
| appShortcutUrl | String | 选填,应用短链接地址 |
| appUpdateDescription | String | 选填,传值为空则更新为空。应用更新说明 |
| appDescription | String | 选填,传值为空则更新为空。应用说明 |
| appPassword | String | 选填,传值为空则更新为空。设置应用密码 |
| appVersion | String | 选填,应用版本信息 |
| appScreenshots | String | 选填,传值为空则更新为空。应用截图 Key |
| 返回参数 | 类型 | 说明 |
|---|
| appKey | String | App Key |
| userKey | String | User Key |
| appType | Integer | 应用类型(1:iOS;2:Android) |
| appIsFirst | Integer | 是否是第一个 App(1:是;2:否) |
| appIsLastest | Integer | 是否是最新版(1:是;2:否) |
| appFileSize | Integer | App 文件大小 |
| appName | String | 应用名称 |
| appVersion | String | 版本号 |
| appVersionNo | Integer | 适用于 Android 的版本编号,iOS 始终为 0 |
| appBuildVersion | Integer | 蒲公英生成的用于区分历史版本的 build 号 |
| appIdentifier | String | 应用程序包名,iOS 为 Bundle ID,Android 为包名 |
| appIcon | String | 应用的 Icon 图标 Key,访问地址为 https://www.pgyer.com/image/view/app_icons/[应用的 Icon 图标 Key] |
| appDescription | String | 应用介绍 |
| appUpdateDescription | String | 应用更新说明 |
| appScreenShots | String | 应用截图 Key,获取地址为 https://www.pgyer.com/image/view/app_screenshots/[应用截图 Key] |
| appShortcutUrl | String | 应用短链接 |
| appQRCodeURL | String | 应用二维码地址 |
| appCreated | String | 应用上传时间 |
| appUpdated | String | 应用更新时间 |
POSThttp://api.pgyer.com/apiv1/app/getAppKeyByShortcut
| 参数 | 类型 | 说明 |
|---|
| shortcut | String | 应用短链接,例如 pgyer.com/PgY8,只需要传入 PgY8 参数即可 |
| _api_key | String | API Key |
| 应用详情返回参数 | 类型 | 说明 |
|---|
| appKey | String | 返回应用最新 build 的 App Key |
| appType | Integer | 应用类型(1:iOS;2:Android) |
| appFileName | String | 上传的应用文件名 |
| appFileSize | Integer | App 文件大小 |
| appName | String | 应用名称 |
| appVersion | String | 版本号 |
| appVersionNo | Integer | 适用于 Android 的版本编号,iOS 始终为 0 |
| appBuildVersion | Integer | 蒲公英生成的用于区分历史版本的 build 号 |
| appIdentifier | String | 应用程序包名,iOS 为 Bundle ID,Android 为包名 |
| appCreated | String | 应用上传时间 |
POSThttp://api.pgyer.com/apiv1/user/listMyPublished
| 参数 | 类型 | 说明 |
|---|
| uKey | String | 用户 Key |
| page | Integer | 选填,填写数字页数 |
| _api_key | String | API Key |
| 返回参数 | 类型 | 说明 |
|---|
| appKey | String | 返回应用最新 build 的 App Key |
| appType | Integer | 应用类型(1:iOS;2:Android) |
| appFileSize | Integer | App 文件大小 |
| appName | String | 应用名称 |
| appVersion | String | 版本号 |
| appVersionNo | Integer | 适用于 Android 的版本编号,iOS 始终为 0 |
| appBuildVersion | Integer | 蒲公英生成的用于区分历史版本的 build 号 |
| appIdentifier | String | 应用程序包名,iOS 为 Bundle ID,Android 为包名 |
| appIcon | String | 应用的 Icon 图标 Key,访问地址为 https://www.pgyer.com/image/view/app_icons/[应用的 Icon 图标 Key] |
| appCreated | String | 应用上传时间 |