List sites with zones and placements
Returns all non-deleted sites for the authenticated user along with their nested zones and placements as a hierarchical tree structure.
https://YOUR-NETWORK-DOMAIN/rest-api/sites-tree.do Returns all non-deleted sites for the authenticated user along with their nested zones and placements as a hierarchical tree structure. Requires ALL or SHARED level VIEW permission on INVENTORY. Results can be filtered by publishing category IDs. Each site in the response includes its child zones, and each zone includes its child placements. On a large network read it in pages with start and limit (sites ordered by id).
Query Params
basicInfo boolean
If true, includes additional site details such as URL, email, and contact info
true publishingCategories array<integer>
IDs of publishing categories to filter sites by
10 start integer
Paging: skip this many sites (ordered by id). Default 0
0 limit integer
Paging: at most this many sites, each with all its zones and placements. Omitted — every site. A page shorter than limit is the last one
20 Responses
200
Site tree returned successfully
400
Bad request — invalid or missing parameters
401
Authentication error
403
Forbidden — insufficient permissions