Given the ID for an upstream device, will return the upstream and the downstream relationships associated with that gateway. These downstream relationships are only those associated with the direct downstream level (they don’t work recursively).
Changed onList all relationships based on device ID
get/devices/{deviceId}/relationships
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthOAuth 2Implicithttps://login.microsoftonline.com/common/oauth2/authorizeScopesuser_impersonation
Path parameters
deviceIdstring required
Unique ID of the device.
Query parameters
api-versionstring required
The version of the API being called.
maxpagesizeinteger
The maximum number of resources to return from one response.
Response
Success
Changes
- info
added the new optional
queryrequest parametermaxpagesize
- info
- breaking
api path removed without deprecation
- breaking