Enterprises: list
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
도메인 이름으로 기업을 조회합니다.
이 기능은 Google에서 시작한
생성할 수 있습니다. 다음을 통해 생성된 기업에는 ID 조회가 필요하지 않습니다.
EMM이 시작된 흐름이
지정된 콜백에서 수신 대기합니다.
요청
HTTP 요청
GET https://www.googleapis.com/androidenterprise/v1/enterprises
매개변수
매개변수 이름 |
값 |
설명 |
필수 쿼리 매개변수 |
domain |
string |
조회할 기업의 정확한 기본 도메인 이름입니다.
|
승인
다음 범위를 사용하여 이 요청을 인증받아야 합니다.
범위 |
https://www.googleapis.com/auth/androidenterprise |
자세한 내용은 인증 및 승인 페이지를 참조하세요.
요청 본문
이 메소드를 사용할 때는 요청 본문을 제공하지 마세요.
응답
요청에 성공할 경우 이 메소드는 다음과 같은 구조의 응답 본문을 반환합니다.
{
"kind": "androidenterprise#enterprisesListResponse",
"enterprise": [
enterprises Resource
]
}
속성 이름 |
값 |
설명 |
참고 |
enterprise[] |
list |
기업 |
|
kind |
string |
리소스의 종류를 식별합니다. 값은 고정 문자열 "androidenterprise#enterprisesListResponse" 입니다. |
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-10(UTC)
[null,null,["최종 업데이트: 2024-09-10(UTC)"],[[["\u003cp\u003eLocates an enterprise using its domain name, specifically for those created through Google's process.\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 is made using an HTTP GET to the URL \u003ccode\u003ehttps://www.googleapis.com/androidenterprise/v1/enterprises\u003c/code\u003e with the domain name as a required query parameter.\u003c/p\u003e\n"],["\u003cp\u003ePrimarily used for enterprises created via the Google-initiated creation flow; enterprises created via EMM-initiated flow already possess the enterprise ID.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful execution, the response provides an \u003ccode\u003eenterprisesListResponse\u003c/code\u003e containing details of the located enterprise.\u003c/p\u003e\n"]]],[],null,["# Enterprises: list\n\n| **Note:** Requires [authorization](#auth).\n\nLooks up an enterprise by domain name.\nThis is only supported for enterprises created via the Google-initiated\ncreation flow. Lookup of the id is not needed for enterprises created via\nthe EMM-initiated flow since the EMM learns the enterprise ID in the\ncallback specified in the Enterprises.generateSignupUrl call.\n\nRequest\n-------\n\n### HTTP request\n\n```\nGET https://www.googleapis.com/androidenterprise/v1/enterprises\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|-------------------------------------------------------------|\n| **Required query parameters** |||\n| `domain` | `string` | The exact primary domain name of the enterprise to look up. |\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\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```objective-c\n{\n \"kind\": \"androidenterprise#enterprisesListResponse\",\n \"enterprise\": [\n enterprises Resource\n ]\n}\n```\n\n| Property name | Value | Description | Notes |\n|----------------|----------|------------------------------------------------------------------------------------------------------------------|-------|\n| `enterprise[]` | `list` | An enterprise. | |\n| `kind` | `string` | Identifies what kind of resource this is. Value: the fixed string `\"androidenterprise#enterprisesListResponse\"`. | |"]]