Webapps
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이 리소스에 대한 메소드 목록은 이 페이지의 하단에 나와 있습니다.
리소스 표현
WebApps 리소스는 기업을 위해 만든 웹 앱을 나타냅니다. 웹 앱은 관리 Google Play에 게시되며 다른 Android 앱처럼 배포할 수 있습니다. 사용자 기기에서 웹 앱이 지정된 URL을 엽니다.
{
"webAppId": string,
"title": string,
"startUrl": string,
"icons": [
{
"imageData": string
}
],
"displayMode": string,
"versionCode": long,
"isPublished": boolean
}
속성 이름 |
값 |
설명 |
참고 |
displayMode |
string |
웹 앱의 표시 모드
가능한 값은 다음과 같습니다. - 앱을 열면 '
minimalUi ', 기기의 상태 표시줄, 탐색 메뉴, 앱의 URL, 새로고침 버튼이 표시됩니다. HTTP URL의 경우에는 이 옵션만 선택할 수 있습니다. - "
standalone ", 앱을 열면 기기의 상태 표시줄과 탐색 메뉴가 표시됩니다. - '
fullScreen ', 기기의 상태 표시줄 및 탐색 메뉴가 숨겨지고 앱이 전체 화면 모드에서 열립니다. 모든 브라우저 UI 요소, 페이지 URL, 시스템 상태 표시줄, 뒤로 버튼이 표시되지 않으며 웹 앱이 사용 가능한 디스플레이 영역 전체를 차지합니다.
사용 가능한 값은 다음과 같습니다.
- "
fullScreen "
- "
minimalUi "
- "
standalone "
|
|
icons[] |
list |
이 웹사이트를 나타내는 아이콘 목록입니다. 없는 경우 기본 아이콘 (만들기용) 또는 현재 아이콘 (업데이트용)이 사용됩니다. |
|
icons[].imageData |
string |
base64url로 인코딩된 문자열의 이미지 실제 바이트입니다(참고: RFC4648, 섹션 5 'URL 및 파일 이름 안전 알파벳을 사용한 Base 64 인코딩'). - 이미지 유형은 png 또는 jpg일 수 있습니다.
- 이미지는 정사각형이어야 합니다.
- 이미지 크기는 512x512인 것이 가장 좋습니다.
|
|
isPublished |
boolean |
앱이 Play 스토어에 아직 게시되었는지 여부를 나타내는 플래그. |
|
startUrl |
string |
시작 URL, 즉 사용자가 애플리케이션을 열 때 로드되어야 하는 URL입니다. |
|
title |
string |
사용자에게 표시되는 웹 앱의 제목입니다 (예: 다른 애플리케이션 목록 중에서 또는 아이콘의 라벨). |
|
versionCode |
long |
앱의 현재 버전입니다.
Google은 웹 앱을 최신 상태로 유지하기 위해 내부 관리를 수행하는 반면, 웹 앱의 전체 기간 동안 버전은 자동으로 증가할 수 있습니다. |
|
webAppId |
string |
앱의 ID입니다. 패키지 이름이 항상 접두사 "com.google.enterprise.webapp." 로 시작하고 그 뒤에 임의의 ID가 오는 "app:<package name>" 형식의 문자열입니다. |
|
메서드
- 삭제
- 기존 웹 앱을 삭제합니다.
- get
- 기존 웹 앱을 가져옵니다.
- insert
- 새로운 기업용 웹 앱을 만듭니다.
- list
- 지정된 기업의 모든 웹 앱 세부정보를 검색합니다.
- 업데이트
- 기존 웹 앱을 업데이트합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-10(UTC)
[null,null,["최종 업데이트: 2024-09-10(UTC)"],[[["\u003cp\u003eWebApps resources represent web apps published to managed Google Play and distributed like other Android apps, opening a specified URL on the user's device.\u003c/p\u003e\n"],["\u003cp\u003eWeb apps have properties like \u003ccode\u003etitle\u003c/code\u003e, \u003ccode\u003estartUrl\u003c/code\u003e, \u003ccode\u003edisplayMode\u003c/code\u003e, and \u003ccode\u003eicons\u003c/code\u003e that define their behavior and appearance.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage web apps using methods like \u003ccode\u003einsert\u003c/code\u003e, \u003ccode\u003eget\u003c/code\u003e, \u003ccode\u003eupdate\u003c/code\u003e, \u003ccode\u003edelete\u003c/code\u003e, and \u003ccode\u003elist\u003c/code\u003e to create, retrieve, modify, and remove them.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ewebAppId\u003c/code\u003e is a unique identifier for each web app, following the format \u003ccode\u003e"app:<package name>"\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eversionCode\u003c/code\u003e represents the current version of the app and may increase automatically for internal updates.\u003c/p\u003e\n"]]],[],null,["\u003cbr /\u003e\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n\nA WebApps resource represents a web app created for an enterprise. Web apps are published to managed Google Play and can be distributed like other Android apps. On a user's device, a web app opens its specified URL.\n\n```text\n{\n \"webAppId\": string,\n \"title\": string,\n \"startUrl\": string,\n \"icons\": [\n {\n \"imageData\": string\n }\n ],\n \"displayMode\": string,\n \"versionCode\": long,\n \"isPublished\": boolean\n}\n```\n\n| Property name | Value | Description | Notes |\n|---------------------|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `displayMode` | `string` | The display mode of the web app. Possible values include: - \"`minimalUi`\", the device's status bar, navigation bar, the app's URL, and a refresh button are visible when the app is open. For HTTP URLs, you can only select this option. - \"`standalone`\", the device's status bar and navigation bar are visible when the app is open. - \"`fullScreen`\", the app opens in full screen mode, hiding the device's status and navigation bars. All browser UI elements, page URL, system status bar and back button are not visible, and the web app takes up the entirety of the available display area. \u003cbr /\u003e \u003cbr /\u003e Acceptable values are: - \"`fullScreen`\" - \"`minimalUi`\" - \"`standalone`\" | |\n| `icons[]` | `list` | A list of icons representing this website. If absent, a default icon (for create) or the current icon (for update) will be used. | |\n| icons[].`imageData` | `string` | The actual bytes of the image in a base64url encoded string (c.f. RFC4648, section 5 \"Base 64 Encoding with URL and Filename Safe Alphabet\"). - The image type can be png or jpg. - The image should ideally be square. - The image should ideally have a size of 512x512. | |\n| `isPublished` | `boolean` | A flag whether the app has been published to the Play store yet. | |\n| `startUrl` | `string` | The start URL, i.e. the URL that should load when the user opens the application. | |\n| `title` | `string` | The title of the web app as displayed to the user (e.g., amongst a list of other applications, or as a label for an icon). | |\n| `versionCode` | `long` | The current version of the app. Note that the version can automatically increase during the lifetime of the web app, while Google does internal housekeeping to keep the web app up-to-date. | |\n| `webAppId` | `string` | The ID of the application. A string of the form `\"app:\u003cpackage name\u003e\"` where the package name always starts with the prefix `\"com.google.enterprise.webapp.\"` followed by a random id. | |\n\nMethods\n\n[delete](/android/work/play/emm-api/v1/webapps/delete)\n: Deletes an existing web app.\n\n[get](/android/work/play/emm-api/v1/webapps/get)\n: Gets an existing web app.\n\n[insert](/android/work/play/emm-api/v1/webapps/insert)\n: Creates a new web app for the enterprise.\n\n[list](/android/work/play/emm-api/v1/webapps/list)\n: Retrieves the details of all web apps for a given enterprise.\n\n[update](/android/work/play/emm-api/v1/webapps/update)\n: Updates an existing web app."]]