Method: customers.devices.list
HTTP 요청
GET https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/devices
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
parent |
string
필수 항목입니다. 기기를 관리하는 고객입니다. customers/[CUSTOMER_ID] 형식의 API 리소스 이름입니다.
|
쿼리 매개변수
매개변수 |
pageSize |
string (int64 format)
필수 항목입니다. 결과 페이지에 표시할 최대 기기 수입니다. 1~100(포함) 사이여야 합니다.
|
pageToken |
string
반환할 결과 페이지를 지정하는 토큰입니다.
|
응답 본문
성공한 경우 응답 본문은 다음과 같은 구조의 데이터를 포함합니다.
JSON 표현 |
{
"devices": [
{
object (Device )
}
],
"nextPageToken": string
} |
필드 |
devices[] |
object (Device )
고객의 기기입니다.
|
nextPageToken |
string
결과의 다음 페이지에 액세스하는 데 사용되는 토큰입니다. 더 이상 결과가 없으면 생략됩니다.
|
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/androidworkzerotouchemm
자세한 내용은 OAuth 2.0 개요를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-12-21(UTC)
[null,null,["최종 업데이트: 2024-12-21(UTC)"],[[["This webpage details how to list a customer's devices using the Android Device Provisioning API."],["The HTTP request uses a `GET` method to retrieve devices via a URL formatted with gRPC Transcoding, specifying the customer ID in the path."],["It requires the inclusion of `pageSize` and `pageToken` query parameters to manage result pagination, with `pageSize` determining the maximum number of devices per page."],["The request body must be empty and the response body contains a list of devices and a `nextPageToken` to obtain additional pages of results if available."],["Access to this API endpoint requires authorization using the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope."]]],["This API endpoint retrieves a list of a customer's devices using a `GET` request. The URL specifies the customer via the `parent` path parameter (`customers/[CUSTOMER_ID]`). Results are paginated using `pageSize` (1-100) and `pageToken` query parameters. The request body is empty. The successful response contains a list of `devices` and, if more exist, a `nextPageToken` for subsequent pages. Authentication requires the `androidworkzerotouchemm` OAuth scope.\n"]]