SiteSpect Admin API Methods

The response headers of any API call include an Allow header that shows the available methods for any resource and can be used and checked with the OPTIONS request. SiteSpect does not recommend but allows you to overwrite any HTTP method with a “method” URL query parameter. For example, a GET request with a method=POST query parameter performs a POST operation. This ensures maximum compatibility for clients who might not be capable of using certain HTTP verbs.

All collection calls allow only the GET method. The following table provides HTTP methods listed by API resource. Keep in mind that the methods available to you depend on your user privilege level.

SiteSpect REST API uses the HTTP protocol for communication and supports the following methods (HTTP verbs) to perform actions on resources:

# Read one campaign

GET campaign/1632

# Read all variation groups under one campaign

GET campaign/1632/variation-groups

# Create a new set

POST site/1/set

# Update a set

PUT site/1/set

# Delete a campaign

DELETE campaign/1632

Individual Resource Allowed Methods
Assignment Criteria GET
Assignment Criterion GET, DELETE, POST
Bandwidth GET
Cache Purge POST (results in a job you can then GET)
Campaign GET, DELETE, POST, PUT
Campaign Data GET, DELETE
Campaigns GET
Data Set GET, DELETE, POST, PUT
Data Sets GET
Event GET, POST
Events GET
Factor GET, DELETE, POST, PUT
Factors GET
File GET, POST
Files GET
Geo Location GET
Log File POST (results in a log you can then GET)
Log Files GET
Message GET, POST
Messages GET
Page Categories GET
Page Category GET, DELETE, POST, PUT
Performance Summary GET
Response Point GET, DELETE, POST, PUT
Response Points GET
Segment GET, DELETE, POST, PUT
Segments GET
Set GET, DELETE, POST, PUT
Sets GET
Site GET
Site Identities GET
Site Identity GET, DELETE
Site Metrics GET
Site Variation GET, DELETE, POST, PUT
Site Variations GET
Tag GET, DELETE, POST
Tags GET
Top Segments Configuration GET, PUT
Traffic Trends GET
User GET, DELETE, POST, PUT
Variation GET, DELETE, POST, PUT
Variation Group GET, DELETE, POST, PUT
Variation Groups GET
Variations GET