• Document Up to Date

Change Template

Change template for the content.

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/content/change-content-type.json
Response Formats
JSON
Required Role
N/A

Parameters

Name
Type
Required
Description
site_id
String
Site to use
path
String
Path of the content
contentType
String
Content type to change to

Example

Request

POST .../api/1/services/api/1/content/change-content-type.json?site_id=mysite&path=/site/website/health/index.xml&contentType=/page/generic

Response

Status 200 OK

N/A

Responses

Status
Location
Response Body
200

See example above.