Site
Update an existing site.
Authorizations
authorizationstringRequired
JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'
Body
Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
post
/gateway/v1/siteUpdates the site with the given id. If any change has happened on the
object in between, this call should fail. previous_update_time must be set
to the last available site's update time. This ensures that the object
hasn't updated in between. Returns status and the modified site.
patch
Update an existing site.
Authorizations
authorizationstringRequired
JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'
Body
lastUpdatedstring · date-timeOptional
Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
patch
/gateway/v1/siteList all sites, optionally filtered by site_ids provided.
Returns all non-deleted sites for org if no arguments provided.
Pagination.Ordering.FieldName Options: "id", "created_at", "updated_at",
"name", "status", "last_alive".
get
List all configured sites.
Authorizations
authorizationstringRequired
JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'
Query parameters
siteIdsinteger · uint64[]Optional
pagination.offsetinteger · int64Optional
pagination.limitinteger · int64Optional
pagination.totalCountinteger · int64Optional
pagination.ordering.fieldNamestringOptional
pagination.ordering.descendingbooleanOptional
Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
/gateway/v1/sitesDeletes the site with the specified ID and all associated resources
Authorizations
authorizationstringRequired
JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'
Path parameters
siteIdinteger · uint64Required
ID of the site to delete
Responses
200
Site deleted successfully
application/json
404
Site not found
500
Internal server error
delete
/gateway/v1/site/{siteId}Last updated
Was this helpful?

