v4

latestOpenAPI 3.0.1Apache 2.02026-08-036821,1001.5 MB
Location

Get devices on the location hierarchy.

Get devices on the location hierarchy with pagination.

get/locations/tree/devices

Query parameters

pageinteger

Page number, min = 1

limitinteger

Page Size, min = 1, max = 100

locationIdinteger

The location ID, or null for all locations.

expandChildrenboolean

Whether to return the child locations recursively, default is true. Set it to false to improve performance when there are a lot of child locations.

Response

OK

pageinteger required

The current page number

countinteger required

The element count of the current page

total_pagesinteger required

The total page number based on request page size

total_countinteger required

The total element count