REST Resource: edits.apks
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
संसाधन: Apk
किसी APK के बारे में जानकारी. ApksService के लिए संसाधन.
JSON के काेड में दिखाना |
{
"versionCode": integer,
"binary": {
object (ApkBinary )
}
} |
फ़ील्ड |
versionCode |
integer
APK का वर्शन कोड, जैसा कि मेनिफ़ेस्ट फ़ाइल में बताया गया है.
|
binary |
object (ApkBinary )
इस APK के बाइनरी पेलोड के बारे में जानकारी.
|
ApkBinary
किसी APK का बाइनरी पेलोड दिखाता है.
JSON के काेड में दिखाना |
{
"sha1": string,
"sha256": string
} |
फ़ील्ड |
sha1 |
string
APK पेलोड का sha1 हैश, जिसे हेक्स स्ट्रिंग के तौर पर एन्कोड किया जाता है. साथ ही, यह sha1sum कमांड के आउटपुट से मैच करता है.
|
sha256 |
string
APK पेलोड का sha256 हैश, जिसे हेक्स स्ट्रिंग के तौर पर एन्कोड किया जाता है. साथ ही, यह sha256sum कमांड के आउटपुट से मैच करता है.
|
तरीके |
|
APK को Google Play पर अपलोड किए बिना ही नया APK बनाता है. इसके बजाय, APK को किसी खास यूआरएल पर होस्ट करता है. |
|
यह ऐप्लिकेशन के सभी मौजूदा APK की सूची बनाता है और उनमें बदलाव करता है. |
|
इससे APK को अपलोड किया जाता है और मौजूदा बदलाव में उसे जोड़ दिया जाता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe \u003ccode\u003eApk\u003c/code\u003e resource provides information about an APK, including its version code and binary payload details.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eApkBinary\u003c/code\u003e represents the binary payload of an APK with SHA1 and SHA256 hashes for integrity verification.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can manage APKs using methods to upload, list, or add externally hosted APKs.\u003c/p\u003e\n"]]],["The provided content describes APK information and its binary payload. An APK's data includes its `versionCode` (an integer) and `binary`, which contains `sha1` and `sha256` hash strings for its payload. Key actions involve managing APKs through methods such as `addexternallyhosted` (creating an APK without direct upload), `list` (retrieving existing APKs), and `upload` (uploading an APK).\n"],null,["# REST Resource: edits.apks\n\n- [Resource: Apk](#Apk)\n - [JSON representation](#Apk.SCHEMA_REPRESENTATION)\n- [ApkBinary](#ApkBinary)\n - [JSON representation](#ApkBinary.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Apk\n-------------\n\nInformation about an APK. The resource for ApksService.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------|\n| ``` { \"versionCode\": integer, \"binary\": { object (/android-publisher/api-ref/rest/v3/edits.apks#ApkBinary) } } ``` |\n\n| Fields ||\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| `versionCode` | `integer` The version code of the APK, as specified in the manifest file. |\n| `binary` | `object (`[ApkBinary](/android-publisher/api-ref/rest/v3/edits.apks#ApkBinary)`)` Information about the binary payload of this APK. |\n\nApkBinary\n---------\n\nRepresents the binary payload of an APK.\n\n| JSON representation |\n|----------------------------------------------|\n| ``` { \"sha1\": string, \"sha256\": string } ``` |\n\n| Fields ||\n|----------|----------------------------------------------------------------------------------------------------------------------|\n| `sha1` | `string` A sha1 hash of the APK payload, encoded as a hex string and matching the output of the sha1sum command. |\n| `sha256` | `string` A sha256 hash of the APK payload, encoded as a hex string and matching the output of the sha256sum command. |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------|\n| ### [addexternallyhosted](/android-publisher/api-ref/rest/v3/edits.apks/addexternallyhosted) | Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a specified URL. |\n| ### [list](/android-publisher/api-ref/rest/v3/edits.apks/list) | Lists all current APKs of the app and edit. |\n| ### [upload](/android-publisher/api-ref/rest/v3/edits.apks/upload) | Uploads an APK and adds to the current edit. |"]]