AI-generated Key Takeaways
- 
          
Lists devices under a node or customer with customizable filtering, paging, and response size.
 - 
          
Uses a GET HTTP request with the parent resource specified as a path parameter.
 - 
          
Requires authorization with the
https://www.googleapis.com/auth/sasportalscope. - 
          
The request body should be empty, and a successful response contains a ListDevicesResponse object.
 
HTTP request
GET https://sasportal.googleapis.com/v1alpha1/{parent=customers/*}/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