مهم: ما دیگر ثبت نام های جدید برای Play EMM API را نمی پذیریم.
بیشتر بدانید .
Storelayoutpages
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
منبع Storelayoutpages یک صفحه از فروشگاه Google Play for Work شرکت را نشان می دهد. هر صفحه می تواند تا 30 کلاستر فروشگاهی (گروه محصولات مرتبط) داشته باشد و فروشگاه می تواند تا 100 صفحه داشته باشد.
اطلاعات نمایش داده شده برای هر صفحه شامل نام بومی سازی شده صفحه و پیوندهایی به صفحات دیگر در فروشگاه است که به صورت لینک های سریع در بالای صفحه نمایش داده می شوند. هر فروشگاه باید یک صفحه اصلی مشخص داشته باشد که با استفاده از روش Enterprises.setStoreLayout منبع Enterprises تنظیم می کنید. صفحه اصلی باید شامل پیوندهایی به تمام صفحات دیگر در فروشگاه باشد.
راهنمای طراحی چیدمان فروشگاه اطلاعاتی در مورد نحوه طراحی چیدمان فروشگاه از جمله نحوه ایجاد صفحه فروشگاه دارد.
برای لیست روش های این منبع، انتهای این صفحه را ببینید.
بازنمایی منابع
تعریف صفحه فروشگاه Google Play مدیریت شده، ساخته شده از نام محلی و پیوندهایی به صفحات دیگر. یک صفحه همچنین شامل خوشه هایی است که به عنوان یک مجموعه فرعی تعریف شده اند.
{
"kind": "androidenterprise#storePage",
"id": string,
"name": [
{
"locale": string,
"text": string
}
],
"link": [
string
]
}
نام ملک | ارزش | توضیحات | یادداشت ها |
---|
id | string | شناسه منحصر به فرد این صفحه توسط سرور اختصاص داده شده است. غیر قابل تغییر یک بار اختصاص داده شده است. | |
kind | string | | |
link[] | list | لیست مرتب صفحاتی که کاربر باید بتواند از این صفحه به آن دسترسی داشته باشد. لیست نمی تواند شامل این صفحه باشد. توصیه می شود قبل از افزودن لینک بین صفحات ابتدا صفحات اصلی ایجاد شوند.
API وجود صفحات یا قابل دسترسی بودن صفحات را تایید نمی کند. | |
name[] | list | فهرست مرتب شده از رشته های محلی شده که نام این صفحه را می دهد. متن نمایش داده شده متنی است که به بهترین وجه با زبان کاربر مطابقت دارد، یا اگر مطابقت خوبی وجود نداشته باشد، اولین ورودی است. حداقل باید یک ورودی وجود داشته باشد. | |
name[]. locale | string | برچسب BCP47 برای یک منطقه. (به عنوان مثال "en-US"، "de"). | |
name[]. text | string | متن در محلی مرتبط بومی شده است. | |
روش ها
- حذف کنید
- صفحه فروشگاه را حذف می کند.
- دریافت کنید
- جزئیات یک صفحه فروشگاه را بازیابی می کند.
- درج کنید
- یک صفحه فروشگاه جدید درج می کند.
- فهرست
- جزئیات تمام صفحات فروشگاه را بازیابی می کند.
- به روز رسانی کنید
- محتوای صفحه فروشگاه را به روز می کند.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-11-13 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-11-13 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eA Storelayoutpages resource represents a single page within a Google Play for Work store, which can contain up to 30 store clusters and link to other pages.\u003c/p\u003e\n"],["\u003cp\u003eEach store must have a designated homepage, accessible via the Enterprises.setStoreLayout method, that links to all other store pages for navigation.\u003c/p\u003e\n"],["\u003cp\u003ePages are identified by unique IDs, display localized names, and include links to other relevant pages within the store structure.\u003c/p\u003e\n"],["\u003cp\u003eStorelayoutpages resources can be managed using methods like insert, delete, get, list, and update to control their content and organization.\u003c/p\u003e\n"]]],[],null,["# Storelayoutpages\n\n\u003cbr /\u003e\n\nA Storelayoutpages resource represents a single page of the enterprise's Google Play for Work store. Each page can have up to 30 [store clusters](/android/work/play/emm-api/v1/storelayoutclusters) (groups of related products), and the store can have up to 100 pages.\n\nThe display information provided for each page includes the page's localized name and links to other pages in the store, which are displayed as quick links at the top of the page. Each store must have one designated homepage, which you set using the [Enterprises.setStoreLayout](/android/work/play/emm-api/v1/enterprises/setStoreLayout) method of the Enterprises resource. The homepage should include links to all the other pages in the store.\n\nThe [Store Layout Design](/android/work/play/emm-api/store-layout) guide has information on how to design a store layout, including how to create a store page.\n\n\u003cbr /\u003e\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n------------------------\n\nDefinition of a managed Google Play store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection.\n\n```text\n{\n \"kind\": \"androidenterprise#storePage\",\n \"id\": string,\n \"name\": [\n {\n \"locale\": string,\n \"text\": string\n }\n ],\n \"link\": [\n string\n ]\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `id` | `string` | Unique ID of this page. Assigned by the server. Immutable once assigned. | |\n| `kind` | `string` | | |\n| `link[]` | `list` | Ordered list of pages a user should be able to reach from this page. The list can't include this page. It is recommended that the basic pages are created first, before adding the links between pages. The API doesn't verify that the pages exist or the pages are reachable. | |\n| `name[]` | `list` | Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry. | |\n| name[].`locale` | `string` | The BCP47 tag for a locale. (e.g. \"en-US\", \"de\"). | |\n| name[].`text` | `string` | The text localized in the associated locale. | |\n\nMethods\n-------\n\n[delete](/android/work/play/emm-api/v1/storelayoutpages/delete)\n: Deletes a store page.\n\n[get](/android/work/play/emm-api/v1/storelayoutpages/get)\n: Retrieves details of a store page.\n\n[insert](/android/work/play/emm-api/v1/storelayoutpages/insert)\n: Inserts a new store page.\n\n[list](/android/work/play/emm-api/v1/storelayoutpages/list)\n: Retrieves the details of all pages in the store.\n\n[update](/android/work/play/emm-api/v1/storelayoutpages/update)\n: Updates the content of a store page."]]