Method: nodes.devices.list
HTTP 요청
GET https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*}/devices
URL은 gRPC 트랜스코딩 구문을 사용합니다.
경로 매개변수
매개변수 |
parent |
string
필수 항목입니다. 상위 리소스의 이름입니다.
|
쿼리 매개변수
매개변수 |
pageSize |
integer
응답에서 반환할 최대 기기 수입니다. 비어 있거나 0이면 모든 기기가 표시됩니다. [0, 1000] 범위 내에 있어야 합니다.
|
pageToken |
string
이 목록이 계속되어야 하는 위치를 나타내는 이전 devices.list 호출에서 반환된 페이지 나누기 토큰입니다.
|
filter |
string
필터 표현식입니다. 필터 형식은 "sn=123454" 또는 "displayName=MyDevice"여야 합니다. sn은 기기의 일련번호에 해당합니다. 필터는 대소문자를 구분하지 않습니다.
|
응답 본문
성공한 경우 응답 본문에 ListDevicesResponse
의 인스턴스가 포함됩니다.
승인 범위
다음과 같은 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/sasportal
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2022-11-02(UTC)
[null,null,["최종 업데이트: 2022-11-02(UTC)"],[[["Lists devices under a specific node or customer within the Spectrum Access System."],["Uses a GET request to retrieve the list of devices, allowing filtering and pagination."],["Requires authorization with the `https://www.googleapis.com/auth/sasportal` scope."],["Provides details like serial number and display name for each device listed."],["Returns a comprehensive list of devices based on the specified criteria in the request."]]],["This describes how to list devices under a specified node or customer. The `GET` request is sent to a URL using gRPC Transcoding syntax. The `parent` path parameter is required to identify the node or customer. Optional query parameters include `pageSize` (for limiting results), `pageToken` (for pagination), and `filter` (to search by serial number or display name). The request body is empty, and a successful response returns a `ListDevicesResponse` instance, with the authorization requiring the `sasportal` OAuth scope.\n"]]