Method: partners.vendors.list
HTTP 요청
GET https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/vendors
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
parent |
string
필수 항목입니다. partners/[PARTNER_ID] 형식의 리소스 이름입니다.
|
쿼리 매개변수
매개변수 |
pageSize |
integer
반환할 결과의 최대 개수입니다.
|
pageToken |
string
서버에서 반환한 결과 페이지를 식별하는 토큰입니다.
|
응답 본문
성공할 경우 응답 본문에 다음 구조의 데이터가 포함됩니다.
파트너의 공급업체를 나열하는 응답 메시지입니다.
JSON 표현 |
{
"vendors": [
{
object (Company )
}
],
"nextPageToken": string,
"totalSize": integer
} |
필드 |
vendors[] |
object (Company )
리셀러 파트너의 공급업체 목록입니다. name , companyId , companyName 필드는 회사 객체에 채워집니다.
|
nextPageToken |
string
결과의 다음 페이지를 검색하는 토큰입니다. 추가 결과가 없으면 생략됩니다.
|
totalSize |
integer
페이지로 나누기와 상관없이 목록에 포함된 전체 항목 수입니다.
|
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/androidworkprovisioning
자세한 내용은 OAuth 2.0 개요를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-08-29(UTC)
[null,null,["최종 업데이트: 2024-08-29(UTC)"],[[["This webpage details how to retrieve a list of vendors associated with a specific partner using the Android Device Provisioning API."],["The `GET` request requires a `parent` path parameter in the format `partners/[PARTNER_ID]` to identify the partner."],["The query parameters `pageSize` and `pageToken` are used to manage the pagination of the results, while the request body should be empty."],["The response body, when successful, will include a list of `vendors`, a `nextPageToken` for additional results if needed, and the `totalSize` of all vendors."],["Authorization for this request requires the OAuth scope `https://www.googleapis.com/auth/androidworkprovisioning`."]]],["This outlines the process of retrieving a list of vendors associated with a partner. It uses a `GET` request to the specified URL, including the `parent` path parameter (partner ID). Optional `pageSize` and `pageToken` query parameters manage pagination. The request body is empty. A successful response contains a JSON structure with a list of vendor objects (`vendors`), a `nextPageToken` for pagination, and `totalSize`. This operation requires the `androidworkprovisioning` authorization scope.\n"]]