Method: nodes.deployments.devices.list
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
एचटीटीपी अनुरोध
GET https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/deployments/*}/devices
यह यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. पैरंट रिसोर्स का नाम.
|
क्वेरी पैरामीटर
पैरामीटर |
pageSize |
integer
जवाब में ज़्यादा से ज़्यादा कितने डिवाइसों की जानकारी दिखानी है. अगर यह फ़ील्ड खाली है या इसकी वैल्यू शून्य है, तो सभी डिवाइसों को सूची में शामिल किया जाएगा. यह [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 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eLists devices under a specific node or customer within the Spectrum Access System.\u003c/p\u003e\n"],["\u003cp\u003eUses an HTTP GET request with path and query parameters for filtering and pagination.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/sasportal\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eReturns a list of devices matching the specified criteria in the response.\u003c/p\u003e\n"],["\u003cp\u003eRequest body should be empty for this operation.\u003c/p\u003e\n"]]],["This describes how to list devices under a specified node or customer. The `GET` request uses a URL with path parameter `parent` to identify the parent resource. Optional query parameters `pageSize` and `pageToken` control the number of devices returned and pagination. A `filter` parameter allows searching by serial number or display name. The request body must be empty and the response body will include a `ListDevicesResponse`. This process requires the `https://www.googleapis.com/auth/sasportal` OAuth scope.\n"],null,["# Method: nodes.deployments.devices.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nLists [devices](/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device) under a [node](/spectrum-access-system/reference/rest/v1alpha1/customers.nodes#Node) or [customer](/spectrum-access-system/reference/rest/v1alpha1/customers#Customer).\n\n### HTTP request\n\n`GET https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/deployments/*}/devices`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-----------------------------------------------------|\n| `parent` | `string` Required. The name of the parent resource. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range \\[0, 1000\\]. |\n| `pageToken` | `string` A pagination token returned from a previous call to [devices.list](/spectrum-access-system/reference/rest/v1alpha1/nodes.devices/list#spectrum.sas.portal.v1alpha1.DeviceManager.ListDevices) that indicates where this listing should continue from. |\n| `filter` | `string` The filter expression. The filter should have one of the following formats: \"sn=123454\" or \"displayName=MyDevice\". sn corresponds to serial number of the device. The filter is case insensitive. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [ListDevicesResponse](/spectrum-access-system/reference/rest/v1alpha1/ListDevicesResponse).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/sasportal`"]]