Transform
Transforms a URL, based on the current site’s configuration.
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 /
.
HTTP Verb
|
GET
|
URL
|
/api/1/site/url/transform |
Response Formats
|
JSON , XML |
Parameters
Name
|
Type
|
Required
|
Description
|
---|---|---|---|
url
|
String
|
✓
|
The URL to be transformed
|
transformerName
|
String
|
✓
|
The name of the transformer to apply
|
Example
Request
GET .../api/1/site/url/transform.json?url=/site/website/style/index.xml&transformerName=storeUrlToRenderUrl
Response
Status 200 OK
1"/style"
Responses
Status
|
Location
|
Response Body
|
---|---|---|
200
|
See example above.
|
|
500
|
"Internal server error" |