Get Content Type
Get content type 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 /studio
, please prefix the API URLs with this context.
HTTP Verb
|
GET
|
URL
|
/api/1/services/api/1/content/get-content-type.json |
Response Formats
|
JSON |
Required Role
|
N/A
|
Parameters
Name
|
Type
|
Required
|
Description
|
---|---|---|---|
site_id
|
String
|
✓
|
Site to use
|
type
|
String
|
✓
|
Content type
|
Example
Request
GET .../api/1/services/api/1/content/get-content-type.json?site_id=mysite&type=/page/category-landing
Response
Status 200 OK
1{
2 "name":"/page/category-landing",
3 "label":"Page - Category Landing",
4 "form":"/page/category-landing",
5 "formPath":"simple",
6 "type":"page",
7 "contentAsFolder":true,
8 "useRoundedFolder":false,
9 "modelInstancePath":"NOT-USED-BY-SIMPLE-FORM-ENGINE",
10 "allowedRoles":[ ],
11 "lastUpdated":"2017-07-07T20:08:57+02:00",
12 "copyDepedencyPattern":[ ],
13 "imageThumbnail":"page-category-landing.png",
14 "noThumbnail":false,
15 "pathIncludes":
16 [
17 "^/site/website/(?!articles/)(.*)"
18 ],
19 "pathExcludes":[ ],
20 "nodeRef":null,
21 "deleteDependencyPattern":[ ],
22 "previewable":true
23}
Responses
Status
|
Location
|
Response Body
|
---|---|---|
200
|
See example above.
|