GET v1/application/{environment}/{orgId}/{appId}/content-type
Use this method to get a list of all content types for the provided application id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
environment |
Environment where the org originated from. |
string |
Required |
orgId |
Organization Id |
integer |
Required |
appId |
Application Id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns a list of content type associated to an application.
Collection of ContentTypeName | Description | Type | Additional information |
---|---|---|---|
id |
Unique identifier. There is always a different id per application. |
string |
None. |
name |
Display Name |
string |
None. |
type |
Internal humanly readable identifier. |
string |
None. |
properties |
This field contains the default properties or settings any content element created will inherit. |
Collection of SettingBase |
None. |
showWysiwyg |
This field is used by any WYSIWYG Editor and specifies if a user can by himself create instances of this content type or only underneath logic should handle creation or this elements. |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": "sample string 1", "name": "sample string 2", "type": "sample string 3", "properties": [ { "id": "sample string 1", "name": "sample string 2", "value": "sample string 3" }, { "id": "sample string 1", "name": "sample string 2", "value": "sample string 3" } ], "showWysiwyg": true }, { "id": "sample string 1", "name": "sample string 2", "type": "sample string 3", "properties": [ { "id": "sample string 1", "name": "sample string 2", "value": "sample string 3" }, { "id": "sample string 1", "name": "sample string 2", "value": "sample string 3" } ], "showWysiwyg": true } ]