/v1/sites

Prev Next
Get
/v1/sites

Get sites for the current enterprise

Security
API Key: jwtAuth
Header parameter nameauthorization

Use Bearer <token>

Header parameters
Authorization
stringRequired

Bearer token. Format: Bearer <your_token_here>

Responses
200

OK

Expand All
object
pageInfo
object (commonPageInfo)
currentPage
integer (int32)

The page number we are currently on (required)

Minimum0
Example1
endCursor
string

Cursor pointing to the last record on the current page

Examplexxxxxxy
hasNextPage
boolean

An indicator whether there is a page after this one in the resultset based on current position

Exampletrue
hasPrevPage
boolean

An indicator whether there is a page before this one in the resultset based on current position

Exampletrue
startCursor
string

Cursor pointing to the first record on the current page

Examplexxxxxx
totalPages
integer (int32)

The number of pages in the complete resultset based on the current length of the page (required)

Minimum0
Example4
totalRecords
integer (int32)

Describes the total number of records in the complete resultset (required)

Minimum0
Example400
sites
Array of object (manaV2Site)
object
address
string
Exampleexample string
createdAt
object (googleProtobufTimestamp)
nanos
integer (int32)
Example123
seconds
integer (int64)
Example1234567891011
devices
Array of object (manaV2SiteDeviceStub)
object
hostname
string
Exampleexample string
id
integer (int64)
Example1234567891011
edgeCount
integer (int32)
Minimum0
Example123
id
integer (int64)
Example1234567891011
location
object (manaV2Location)
addressLine1
string
Exampleexample string
addressLine2
string
Exampleexample string
city
string
Exampleexample string
country
string
Exampleexample string
countryCode
string
Exampleexample string
latitude
number (double)
Example123.45
longitude
number (double)
Example123.45
notes
string
Exampleexample string
provinceCode
string
Exampleexample string
state
string
Exampleexample string
stateCode
string
Exampleexample string
name
string
Exampleexample string
notes
string
Exampleexample string
policyReferenceCount
integer (int32)
Minimum0
Example123
policyTag
object (manaV2SingleRouteTag)
levelOne
object (manaV2SingleRouteTagRouteTagElement)
id
integer (int64)
Example1234567891011
tag
string
Exampleexample string
tagValue
integer (int32)
Example123
levelTwo
object (manaV2SingleRouteTagRouteTagElement)
id
integer (int64)
Example1234567891011
tag
string
Exampleexample string
tagValue
integer (int32)
Example123
levelZero
object (manaV2SingleRouteTagRouteTagElement)
id
integer (int64)
Example1234567891011
tag
string
Exampleexample string
tagValue
integer (int32)
Example123
segmentCount
integer (int32)
Minimum0
Example123
siteListReferenceCount
integer (int32)
Minimum0
Example123
tags
Array of string
string
Exampleexample string
updatedAt
object (googleProtobufTimestamp)
nanos
integer (int32)
Example123
seconds
integer (int64)
Example1234567891011