مهم: ما دیگر ثبت نام های جدید برای Play EMM API را نمی پذیریم.
بیشتر بدانید .
Webapps: insert
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک برنامه وب جدید برای شرکت ایجاد می کند.
درخواست کنید
درخواست HTTP
POST https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/webApps
پارامترها
نام پارامتر | ارزش | توضیحات |
---|
پارامترهای مسیر |
enterpriseId | string | شناسه شرکت |
مجوز
این درخواست به مجوز با محدوده زیر نیاز دارد:
دامنه |
---|
https://www.googleapis.com/auth/androidenterprise |
برای اطلاعات بیشتر، به صفحه احراز هویت و مجوز مراجعه کنید.
درخواست بدن
در بدنه درخواست، یک منبع Webapps ارائه کنید.
پاسخ
در صورت موفقیت آمیز بودن، این روش یک منبع Webapps را در بدنه پاسخ برمی گرداند.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eCreates a new web app for the enterprise using a POST request to a specific endpoint.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain a Webapps resource, and a successful response will return the same resource type.\u003c/p\u003e\n"],["\u003cp\u003eIncludes \u003ccode\u003eenterpriseId\u003c/code\u003e as a path parameter to specify the target enterprise.\u003c/p\u003e\n"]]],[],null,["# Webapps: insert\n\n| **Note:** Requires [authorization](#auth).\n\nCreates a new web app for the enterprise.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/webApps\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|---------------------------|\n| **Path parameters** |||\n| `enterpriseId` | `string` | The ID of the enterprise. |\n\n### Authorization\n\nThis request requires authorization with the following scope:\n\n| Scope |\n|-----------------------------------------------------|\n| `https://www.googleapis.com/auth/androidenterprise` |\n\nFor more information, see the [authentication and authorization](/android/work/play/emm-api/v1/how-tos/authorizing) page.\n\n### Request body\n\nIn the request body, supply a [Webapps resource](/android/work/play/emm-api/v1/webapps#resource).\n\nResponse\n--------\n\nIf successful, this method returns a [Webapps resource](/android/work/play/emm-api/v1/webapps#resource) in the response body."]]