REST Resource: internalappsharingartifacts
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:InternalAppSharingArtifact
通过内部应用分享功能上传 APK 或 Android App Bundle 时创建的工件资源。
JSON 表示法 |
{
"downloadUrl": string,
"certificateFingerprint": string,
"sha256": string
} |
字段 |
downloadUrl |
string
为上传的工件生成的下载网址。经授权可下载应用的用户可以点击 Play 商店应用的链接进行安装。
|
certificateFingerprint |
string
用于对生成的工件进行签名的证书的 sha256 指纹。
|
sha256 |
string
工件的 sha256 哈希值,表示为小写十六进制数字,与 sha256sum 命令的输出一致。
|
方法 |
|
上传 APK 以进行内部应用分享。 |
|
上传 app bundle 以进行内部应用分享。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThe InternalAppSharingArtifact resource is created when an APK or Android App Bundle is uploaded for internal app sharing.\u003c/p\u003e\n"],["\u003cp\u003eThis resource provides a download URL, certificate fingerprint, and SHA256 hash for the uploaded artifact.\u003c/p\u003e\n"],["\u003cp\u003eAuthorized users can install the app via the provided download URL, which redirects to the Play Store app.\u003c/p\u003e\n"],["\u003cp\u003eYou can upload APKs or Android App Bundles for internal sharing using dedicated API methods.\u003c/p\u003e\n"]]],["InternalAppSharingArtifact resources are created when uploading APKs or Android App Bundles for internal app sharing. Key details include a `downloadUrl` for authorized users to install, a `certificateFingerprint` (sha256), and the artifact's `sha256` hash. Core actions involve uploading either an APK via the `uploadapk` method or an app bundle through the `uploadbundle` method to facilitate internal sharing.\n"],null,["# REST Resource: internalappsharingartifacts\n\n- [Resource: InternalAppSharingArtifact](#InternalAppSharingArtifact)\n - [JSON representation](#InternalAppSharingArtifact.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: InternalAppSharingArtifact\n------------------------------------\n\nAn artifact resource which gets created when uploading an APK or Android App Bundle through internal app sharing.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------|\n| ``` { \"downloadUrl\": string, \"certificateFingerprint\": string, \"sha256\": string } ``` |\n\n| Fields ||\n|--------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `downloadUrl` | `string` The download URL generated for the uploaded artifact. Users that are authorized to download can follow the link to the Play Store app to install it. |\n| `certificateFingerprint` | `string` The sha256 fingerprint of the certificate used to sign the generated artifact. |\n| `sha256` | `string` The sha256 hash of the artifact represented as a lowercase hexadecimal number, matching the output of the sha256sum command. |\n\n| Methods ------- ||\n|-------------------------------------------------------------------------------------------------|------------------------------------------------|\n| ### [uploadapk](/android-publisher/api-ref/rest/v3/internalappsharingartifacts/uploadapk) | Uploads an APK to internal app sharing. |\n| ### [uploadbundle](/android-publisher/api-ref/rest/v3/internalappsharingartifacts/uploadbundle) | Uploads an app bundle to internal app sharing. |"]]