Browse the help center

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.

Reference
GET 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

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.