• Document Up to Date

Reset Staging Publishing Target

Reset Crafter Studio’s staging publishing target with the live publishing target.

Resource Information

This service uses the tomcat application on port 8080 by default. To see a list of default ports click here

The context for this API is /studio, please prefix the API URLs with this context.

HTTP Verb
POST
URL
/api/1/services/api/1/publish/reset-staging.json
Response Formats
JSON
Required Role
Admin, site member

Parameters

Name
Type
Required
Description
site_id
String
Site to use

Example

Request

POST .../api/1/services/api/1/publish/reset-staging.json

{
  "site_id" : "mysite"
}

Response

Status 200 OK

Responses

Status
Location
Response Body
200

{ "message" : "OK" }
400

{ "message" : "Invalid parameter(s)" }
400

{ "message" : "Bad Request" }
401

{ "message" : "Unauthorized" }
404

{ "message" : "Site not found" }
500

{ "message" : "Internal server error" }