GET v1/application/content-type/templates

Use this method to get the list of existing content types that can be used as templates to create new content types for your application.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Returns a list of content types that have no unique identifier, and can be used as templates for new content types.

Collection of ContentType
NameDescriptionTypeAdditional 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
  }
]