Method: nodes.devices.list
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
HTTP isteği
GET https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*}/devices
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
parent |
string
Zorunlu. Ana kaynağın adı.
|
Sorgu parametreleri
Parametreler |
pageSize |
integer
Yanıtta döndürülecek maksimum cihaz sayısı. Boş veya sıfırsa tüm cihazlar listelenir. [0, 1000] aralığında olmalıdır.
|
pageToken |
string
Önceki bir çağrıdan (devices.list ) bu girişin nereden devam edeceğini belirten sayfalara ayrılmış bir jeton.
|
filter |
string
Filtre ifadesi. Filtrenin biçimi şu şekilde olmalıdır: "sn=123454" or "displayName=MyDevice". sn cihazın seri numarasına karşılık gelir. Filtre büyük/küçük harfe duyarlı değildir.
|
İstek metni
İstek metni boş olmalıdır.
Yanıt metni
Başarılıysa yanıt metni, ListDevicesResponse
öğesinin bir örneğini içerir.
Yetkilendirme Kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/sasportal
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2022-11-02 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 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"]]