Sites

List Sites

GET

Returns a paginated list of your sites.

Optional query parameters: - page (integer) — The page number of the sites returned. - size (integer) — The number of sites returned per page.

Query parameters

pageintegerOptional
sizeintegerOptional

Response

This endpoint returns an object
content
list of objectsOptional
The content of the page, consisting of a list of objects.
page
integerOptional
The current page number. The first page has value 1.
size
integerOptional
The current page size. Default 15, maximum 250.
total
integerOptional
The number of objects matching the request.
first
booleanOptional
True if this is the first page, false otherwise.
last
booleanOptional
True if this is the last page, false otherwise.
GET
1curl https://app.impiloplatform.com/api/v3/site \
2 -H "Impilo-API-Key: <apiKey>"
200
Retrieved
1{
2 "content": [
3 {
4 "id": 1,
5 "name": "name",
6 "active": true
7 }
8 ],
9 "page": 1,
10 "size": 1,
11 "total": 1,
12 "first": true,
13 "last": true
14}