AI-generated Key Takeaways
- 
          Lists devices under a node or customer with filtering, pagination, and sorting options. 
- 
          Requires an HTTP GET request to the specified URL with path and optional query parameters. 
- 
          The request body should be empty, and the response contains a ListDevicesResponse object upon success. 
- 
          Authorization requires the https://www.googleapis.com/auth/sasportalOAuth scope.
HTTP request
GET https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/nodes/*}/devices
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The name of the parent resource. | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 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]. | 
| pageToken | 
 A pagination token returned from a previous call to  | 
| filter | 
 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. | 
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListDevicesResponse.
Authorization Scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/sasportal