OPPO开放平台API传包能力接入 查询普通包详情

OPPO开放平台API传包能力接入 查询普通包详情

更新说明

更新时间更新说明
2022-06-08
请求参数新增age_level、adaptive_equipment、adaptive_type、customer_contact,删除player_customer_email、player_customer_phone、player_customer_qq

接口功能

此接口用于通过包名查询普通包应用的详细信息。

接口原型

-请求路由:/resource/v1/app/info
-请求方法:GET
-请求类型:Content-Type: x-www-form-urlencoded

请求参数

参数类型必传说明
pkg_namestring必传应用包名
version_codestring非必传版本号,默认取最新版本

请求响应

响应说明

字段类型说明
errnoint错误码,为0表示成功
dataDetailBody应用详情,响应结构参考DetailBody

DetailBody

字段类型说明备注
app_idstring应用ID
pkg_namestring应用包名
typeint应用类型,7-普通应用;8-合作游戏;10-合作应用
signstring包签名
dev_idstring应用所属开发者ID
app_secretstring游戏支付 (私钥)
server_secretstring
app_keystring游戏支付key (公钥)
update_timedatetime应用更新时间
app_create_timedatetime应用创建时间
app_namestring应用名称
is_freezestring应用是否被冻结, 0-否;1-是
freeze_reasonstring被冻结原因
refuse_reasonstring审核拒绝原因
tag_liststring游戏标签
is_businessstring是否合作,0-否;1-是
game_typestring应用类型,1 单机;2 网游;3 棋牌;5 超休闲
second_category_idstring二级分类ID
third_category_idstring三级分类ID
copyright_urlstring软件版权证明
special_urlstring特殊类证书
special_file_urlstring特殊类证书压缩包
freeze_filestring冻结附件
business_usernamestring商务联系人姓名
business_emailemail商务联系人邮箱
business_mobilestring商务联系人电话
business_qqstring商务联系人QQ
business_positionstring商务联系人职务
business_addressstring商务联系人地址
freeze_advicestring冻结建议
app_typestringapp类型,0-未设置;1-合作应用
app_real_typestringapp类型,0-非合作状态;1-合作状态
ad_typestring买量游戏类型,1-买量游戏;2-联运买量游戏
dev_namestring
electronic_cert_urlstring电子版权证书
icp_urlstringICP备案网址或备案号
relation_app_idstring关联合作游戏
ascription_typestring游戏归属权,1-自研;2-代理合作游戏返回
authorize_typestring软件著作权登记类型;1-著作权证书合作游戏返回
proxy_contract_urlstring授权合同或协议/代理授权合同或协议合作游戏返回
authorize_urlstring软件著作权登记证合作游戏返回
authorize_descstring软件著作权登记号合作游戏返回
operation_license_urlstring网络文化经营许可证合作游戏返回
approval_doc_urlstring游戏版号证书合作游戏返回
culture_record_urlstring文化部备案文件合作游戏返回
approval_doc_numberstring游戏版号编号合作游戏返回
culture_record_numberstring文化部备案文件编号合作游戏返回
approval_doc_typestring版号有效期类型,1-永久有效;2-固定游戏期合作游戏返回
approval_doc_start_timedatetime版号有效期开始时间合作游戏返回
approval_doc_end_timedatetime版号有效期结束时间合作游戏返回
other_cetificate_urlstring其他补充资质合作游戏返回
absolve_declare_urlstring免责声明合作游戏返回
record_identification_codestring备案识别码合作游戏返回
record_identification_imagestring渠道绑定截图合作游戏返回
version_idstring版本ID
version_codestring版本号
version_namestring版本名称
apk_urlstringapk文件地址
apk_sizestringapk文件大小
apk_md5stringapk文件md5
header_md5string包头部md5
channelstring
package_permissionstring[]应用权限
resolutionstring分辨率
version_typestring版本类型,1-新增;2-更新;3更新资料
create_timedatetime创建时间
min_sdk_versionstring
target_sdk_versionstring
ver_second_category_idstring对应版本二级分类
ver_third_category_idstring对应版本三级分类
release_typestring版本发布类型,1-全量发布;2-分阶段发布;3-内部分阶段发布包
release_over_typestring分阶段结束发布类型,1-分阶段结束全量发布;2-分阶段结束下架
phone_supportstring是否要手机端支持,0-否;1-是
phone_support_versionstring手机端版本要求
ios_linkstring是否支持IOS设备,1-否;2-是
apk_full_urlstringapk文件完整地址
online_typestring发布类型,1-审核立即发布;2-定时发布
sche_online_timedatetime定时发布时间
test_typestring测试类型
test_start_timedatetime游戏内测开始时间
test_end_timedatetime游戏内测结束时间
is_signaturestring是否签名,0-否;1-是
is_pre_downloadstring是否开启预下载,1-否;2-是
langstring语言
icon_urlstring图标url
icon_md5string图标md5
summarystring一句话简介
detail_descstring软件介绍
update_descstring版本说明
app_subnamestring应用副标题
test_descstring测试附加说明
video_urlstring视频地址
pic_urlstring竖屏截图地址
package_permission_descstring包权限描述
video_pic_urlstring视频封面地址
cover_urlstring游戏空间封面图
landscape_pic_urlstring横屏截图地址
privacy_source_urlstring隐私政策网址
release_descstring分阶段发布说明描述
test_urlstring测试文件
english_namestring英文名
regionstring地区
levelstring等级,-1-D;0-C;1-B;2-A
online_timedatetime上架时间
offline_timedatetime下架时间
is_first_publishstring是否首发
business_refuse_reasonstring商务审核打回理由
old_audit_statusstring
release_statusstring分阶段发布状态,0-未设置;1-分阶段发布中;2-暂停分阶段发布;3-取消分阶段发布;4-分布发布阶段结束
refuse_advicestring修改建议
statestring上架状态,1-上架;2-下架
change_statestring是否变更状态,-1-未请求变更;0-业务开启对外更新;1-取消预下载
online_info_offline_applyOfflineApplyInfo[]上架信息,结构参考OfflineApplyInfo
sizestringapk包大小
audit_statusstring审核状态
audit_status_namestring审核状态描述
offline_infostring下架申请信息
transfer_stateint转让状态,-1-无;1-审核通过;2-审核不通过;3-同意接受;4-不同意接受
update_info_checkint更新资料审核状态,1-审核中;0-不在审核中
level_tagstring应用等级标签
refuse_filestring打回附件链接
landscape_pic_url_materialPicMaterialInfo[]横屏截图扩展信息,结构参考PicMaterialinfo
pic_url_materialPicMaterialinfo[]竖屏截图扩展信息,结构参考PicMaterialinfo
video_url_materialVideoInfo[]视频扩展信息,接口参考VideoInfo
age_levelstringAPP年龄分级,示例:3
adaptive_equipmentstring平板适配,4-手机,5-平板,6-手机和平板
adaptive_typestring适配方式,1-平行视窗,2-横竖屏自适应适配
customer_contactstring,json字符串客服联系方式,示例:[{“contact_method”:“7”,“contact_info”:“点击客服头像Kate”,“working_hours”:“00:01-00:07”,“weekend_hours”:“00:23-01:14”}],

contact_method:联系方式,1-客服电话,2-客服邮箱,3-客服QQ号,4-客服QQ公众号,5-客服微信号,6-客服微信公众号,7-游戏内联系客服路径

contact_info:客服联系信息
working_hours:工作服务时间
weekend_hours:周末&节假日服务时间

OfflineApplyInfo

字段类型说明
app_idstring应用ID
version_idstring版本ID
online_statestring上架状态
online_timedatetime上架时间
offline_timedatetime下架时间

PicMaterialinfo

字段类型说明
urlstring图片地址
widthstring图片宽
heightstring图片高
md5string图片md5
sizestring图片大小

VideoInfo

字段类型说明
urlstring视频地址
md5string视频MD5值
sizeint视频文件大小
widthint视频尺寸:宽
heightint视频尺寸:高
fpsint视频帧率
durationint视频时长
definitionint视频码率

响应示例

成功示例

{
    "errno": 0,
    "data": {
        "app_id": "111",
        "pkg_name": "com.foo.bar",
        "type": 7,
        "sign": "38ee****057c",
        "dev_id": "1111",
        "app_key": "f429****efc6",
        "update_time": "2020年09月23日 19:31:05",
        "app_create_time": "2020-03-13 10:16:40",
        "app_name": "测试应用",
        "is_freeze": "0",
        "freeze_reason": null,
        "refuse_reason": "a:1:{i:0;s:24:\"资源下架理由外部\";}",
        "tag_list": null,
        "is_business": "0",
        "game_type": "0",
        "second_category_id": "74",
        "third_category_id": "6685",
        "copyright_url": "http://******2d877341.jpg,,",
        "special_url": "http://******520eabc9.jpg,,",
        "special_file_url": "",
        "freeze_file": null,
        "business_username": "",
        "business_email": "",
        "business_mobile": "",
        "business_qq": "",
        "business_position": "",
        "business_address": "",
        "freeze_advice": null,
        "app_type": "0",
        "app_real_type": "0",
        "electronic_cert_url": "",
        "icp_url": "",
        "relation_app_id": "0",
        "version_id": "111111",
        "version_code": "6091000",
        "version_name": "6.9.1",
        "apk_url": "/apk/202009/23/****eda24.apk",
        "apk_size": "70999067",
        "apk_md5": "0df6****0b53",
        "header_md5": "c3ab****e3ff",
        "package_permission": "android.permission.ACCESS_NETWORK_STATE",
        "resolution": null,
        "version_type": "2",
        "create_time": "2020-09-23 19:36:40",
        "ver_second_category_id": "74",
        "ver_third_category_id": "6685",
        "apk_full_url": "http://******/apk/202009/23/******eda24.apk",
        "online_type": "1",
        "sche_online_time": "2020-03-13 02:32:00",
        "test_type": "0",
        "test_start_time": "0000-00-00 00:00:00",
        "test_end_time": "0000-00-00 00:00:00",
        "player_customer_email": null,
        "player_customer_phone": null,
        "player_customer_qq": "",
        "is_signature": "0",
        "is_pre_download": "1",
        "icon_url": "http://******45cac481.png",
        "icon_md5": "",
        "summary": "xxxxxxxxxxxxxxxxxxxx",
        "detail_desc": "xxxxxxxxxxxxxxxxxxxxxxxx",
        "update_desc": "xxxxxxxxxxxxxxxxxxxxxxxx",
        "app_subname": "AppSubName",
        "test_desc": null,
        "video_url": "",
        "pic_url": "http://******edd338c7.jpg,http://******9dd7b7.jpg,http://******f00521.jpg",
        "package_permission_desc": null,
        "video_pic_url": null,
        "cover_url": null,
        "landscape_pic_url": "http://******10cb6c.jpg,http://******b6a908.jpg,http://******d720a9.jpg",
        "privacy_source_url": "http://foo.bar.com",
        "level": "1",
        "state": "1",
        "online_time": "2020-09-29 19:15:38",
        "offline_time": "2020-09-29 19:12:59",
        "business_refuse_reason": "a:1:{i:0;s:24:\"资源下架理由外部\";}",
        "online_info_offline_apply": [
            {
                "app_id": "111",
                "version_id": "111110",
                "online_state": "1",
                "online_time": "2020-09-29 19:13:07",
                "offline_time": "2020-09-29 17:00:19"
            },
            {
                "app_id": "111",
                "version_id": "111111",
                "online_state": "1",
                "online_time": "2020-09-29 19:15:38",
                "offline_time": "2020-09-29 19:12:59"
            }
        ],
        "size": "67.71 MB",
        "audit_status_name": "上线",
        "offline_info": null,
        "transfer_state": -1,
        "update_info_check": 0,
        "level_tag": "B",
        "refuse_advice": "a:1:{i:0;s:18:\"资源下架理由\";}",
        "refuse_file": "",
        "landscape_pic_url_material": [
            {
                "url": "http://******10cb6c.jpg",
                "width": "1915",
                "height": "1080",
                "md5": "06b9****6d1d",
                "size": "227502"
            },
            {
                "url": "http://******b6a908.jpg",
                "width": "1915",
                "height": "1080",
                "md5": "8fa1****c9e5",
                "size": "558801"
            },
            {
                "url": "http://******d720a9.jpg",
                "width": "1915",
                "height": "1080",
                "md5": "ee9e****ec32",
                "size": "350314"
            }
        ],
        "pic_url_material": [
            {
                "url": "http://******d338c7.jpg",
                "width": "1080",
                "height": "1920",
                "md5": "6c57****6148",
                "size": "396069"
            },
            {
                "url": "http://******9dd7b7.jpg",
                "width": "1080",
                "height": "1920",
                "md5": "f641****5f85",
                "size": "568491"
            },
            {
                "url": "http://******f00521.jpg",
                "width": "1080",
                "height": "1920",
                "md5": "f075****dffa",
                "size": "289818"
            }
        ],
        "video_url_material": [],
        "age_level": "3",
        "adaptive_equipment": "4",
        "adaptive_type": "1",
        "customer_contact": "[{\"weekend_hours\":\"09:30-18:00\",\"contact_method\":\"1\",\"working_hours\":\"08:30-18:30\",\"contact_info\":\"13928452035;95533\"},{\"weekend_hours\":\"00:00-23:59\",\"contact_method\":\"2\",\"working_hours\":\"08:30-18:30\",\"contact_info\":\"support@cat-studio.net;496228536@163.com\"},{\"weekend_hours\":\"09:30-18:00\",\"contact_method\":\"3\",\"working_hours\":\"08:30-18:30\",\"contact_info\":\"496228536;921440223\"},{\"weekend_hours\":\"09:30-18:00\",\"contact_method\":\"4\",\"working_hours\":\"08:30-18:30\",\"contact_info\":\"王者荣耀公众号123_honor\"},{\"weekend_hours\":\"09:30-18:00\",\"contact_method\":\"5\",\"working_hours\":\"08:30-18:30\",\"contact_info\":\"1bbb_235\"},{\"weekend_hours\":\"09:30-18:00\",\"contact_method\":\"6\",\"working_hours\":\"08:30-18:30\",\"contact_info\":\"吃鸡公众号_123child\"},{\"weekend_hours\":\"09:30-18:00\",\"contact_method\":\"7\",\"working_hours\":\"08:30-08:00\",\"contact_info\":\"13928452035字汉字汉字汉字汉字汉字汉字汉字汉字汉字汉字汉字汉字\"}]"
    }
}

失败示例

{
    "errno": 911045,
    "data": {
        "message": "开发者ID和包名不匹配",
        "logid": 2204318265
    }
}