Method: internalappsharingartifacts.uploadapk
Stay organized with collections
Save and categorize content based on your preferences.
Uploads an APK to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended).
See Timeouts and Errors for an example in java.
HTTP request
- Upload URI, for media upload requests:
POST https://androidpublisher.googleapis.com/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk
- Metadata URI, for metadata-only requests:
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
packageName |
string
Package name of the app.
|
Request body
The request body contains an instance of Media
.
Response body
If successful, the response body contains an instance of InternalAppSharingArtifact
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidpublisher
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-17 UTC."],[[["Uploads an APK to internal app sharing for testing purposes within your organization."],["Requires a `packageName` to identify the application and uses a `Media` object for the APK file."],["Returns an `InternalAppSharingArtifact` object with details about the uploaded artifact upon successful completion."],["Utilizes the `androidpublisher` OAuth scope for authorization to access and manage your application."],["It's recommended to increase the HTTP request timeout when using Google API client libraries due to potential upload time."]]],[]]