Get Content
Get content stream.
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
|
GET
|
URL
|
/api/1/services/api/1/content/get-content.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
|
edit
|
Boolean
|
✓
|
True to make content locked
|
Example
Request
GET .../api/1/services/api/1/content/get-content.json?site_id=mysite&path=/site/website/health/index.xml&edit=true
Response
Status 200 OK
content
Responses
Status
|
Location
|
Response Body
|
---|---|---|
200
|
See example above.
|
|
403
|
“Access denied”
|