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. Java הוא סימן מסחרי רשום של חברת 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"]]