Method: partners.vendors.list
Mencantumkan vendor partner.
Permintaan HTTP
GET https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/vendors
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
parent |
string
Wajib. Nama resource dalam format partners/[PARTNER_ID] .
|
Parameter kueri
Parameter |
pageSize |
integer
Jumlah maksimum hasil yang akan ditampilkan.
|
pageToken |
string
Token yang mengidentifikasi halaman hasil yang ditampilkan oleh server.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons memuat data dengan struktur berikut:
Pesan respons untuk mencantumkan vendor partner.
Representasi JSON |
{
"vendors": [
{
object (Company )
}
],
"nextPageToken": string,
"totalSize": integer
} |
Kolom |
vendors[] |
object (Company )
Daftar vendor partner reseller. Kolom name , companyId , dan companyName diisi ke objek Company.
|
nextPageToken |
string
Token untuk mengambil halaman hasil berikutnya. Dihapus jika tidak ada hasil lebih lanjut.
|
totalSize |
integer
Jumlah total item dalam daftar terlepas dari penomoran halaman.
|
Cakupan Otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/androidworkprovisioning
Untuk informasi selengkapnya, lihat Ringkasan OAuth 2.0.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-08-29 UTC.
[null,null,["Terakhir diperbarui pada 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"]]