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 یک هش sha1 از محموله APK که به صورت یک رشته هگز کدگذاری شده و با خروجی فرمان sha1sum مطابقت دارد. |
sha256 | string یک هش sha256 از محموله APK که به صورت یک رشته هگز کدگذاری شده و با خروجی فرمان sha256sum مطابقت دارد. |
روش ها |
---|
| یک APK جدید بدون آپلود خود APK در Google Play ایجاد میکند، در عوض APK را در یک URL مشخص میزبانی میکند. |
| همه فایلهای APK فعلی برنامه را فهرست کرده و ویرایش میکند. |
| یک APK آپلود می کند و به ویرایش فعلی اضافه می کند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]