SitesResource
The following resources are part of this group:
/sites
GET
Gets the sites.
Parameters
| name | description | type | default |
|---|---|---|---|
| limit | the limit. | query | |
| offset | the offset. | query | |
| account | the account name to filter by. | query | |
| name | the site name. | query | |
| protocol | the protocol to filter by. | query | |
| siteTemplate | the site template name to filter by. | query | |
| version | (no documentation provided) | path |
Response Body
| element: | sites |
the sites.
POST
Creates the sites.
Parameters
| name | description | type | default |
|---|---|---|---|
| version | (no documentation provided) | path |
Request Body
| element: | sites |
the sites to create.
/sites/{id}
The following operations are supported on this resource:
GET
Gets a single site with a given id.
Parameters
| name | description | type | default |
|---|---|---|---|
| id | the id. | path | |
| version | (no documentation provided) | path |
Response Body
| element: | site |
the site.
POST
Updates site properties.
Parameters
| name | description | type | default |
|---|---|---|---|
| id | the site id. | path | |
| version | (no documentation provided) | path |
Request Body
| element: | site |
the site to update.
DELETE
Deletes a site.
Parameters
| name | description | type | default |
|---|---|---|---|
| id | - the site id. | path | |
| version | (no documentation provided) | path |