Skip to content

Get site list

GET
/sites

List authorized sites.

Authorizations

AccessToken
Type
HTTP (bearer)

Parameters

Query Parameters

page

Page number

Type
integer
Default
1
Minimum
1
size

Items per page

Type
integer
Default
20
Minimum
1
Maximum
500
online

Filter online/offline sites

Type
boolean
faultStatus

Filter by fault status: Normal, Fault

Type
string
Valid values
"normal""fault"
includeDevices

Whether to include device details, default true

Type
boolean
Default
true

Responses

Site list returned successfully

application/json
object

Total count

object[]

Playground

Authorization
Variables
Key
Value