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 上傳到內部應用程式分享設定。 |
|
將應用程式套件上傳至內部應用程式分享設定。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]