List All Types

get

/content/management/api/v1.1/types

List all the types.

Request

Query Parameters
  • This parameter is used to control the returned fields in each type in the list. All the field names are case-sensitive. Each type has both standard fields (id, name, displayName, description, typeCategory, createdBy, createdDate, updatedBy, updatedDate, roleName, allowedActions) and additional fields (fields, properties, connectorInfos). When fields is specified as all (case-insensitive), all the standard and additional fields are returned. The standard fields are always returned in the response and cannot be filtered out. The user can filter out only the additional fields. This parameter is optional in the query, and by default the result shows all standard and additional fields in the response. Any incorrect or invalid field name given in the query will throw an error.

    Example: ?fields=fields,connectorInfos
    This returns all standard fields along with the fields and connectorInfos additional fields for each type.
    Example: ?fields=all
    This will return all standard fields and all additional fields for each type.
    Default Value: all
  • This parameter accepts a non negative integer and is used to control the size of the result.
    Default Value: 100
  • This parameter accepts a non negative integer and is used to control the start index of the result.
    Default Value: 0
  • This parameter is used to control the order of results. The value of this query parameter follows the format of fieldName:[asc/desc]. asc stands for ascending order desc stands for descending order, default order is asc.The only fields allowed in the field name are name and updatedDate.
    Default Value: name:asc
  • This parameter accepts a query expression condition that matches the field values. The value of query condition follows the format of {fieldName} {operator} "{fieldValue}". The only fieldNames allowed for now are roleName, repositoryId, typeCategory, name and displayName and only allowed operators for now are mt on name, displayName and eq on the others. This query param is optional and defaults to roleName eq "viewer" which filters the resources with at least given role.
    Example:
    ?q=(roleName eq "manager")
    Default Value: roleName eq "viewer"
  • This parameter is used to filter the returned types with the given role name. This parameter is optional in the query and by default all the types are returned.
    Allowed Values: [ "viewer", "contributor", "manager" ]
  • This parameter accepts a boolean flag. If specified as true, then the returned result must include the total result count.
    Default Value: false
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Root Schema : AggregatedTypes
Type: object
AggregatedTypes
Show Source
Nested Schema : aggregationResults
Type: array
Aggregation results.
Show Source
Nested Schema : items
Type: array
Singular resources contained in the collection.
Show Source
Nested Schema : pinned
Type: array
Pinned items. Shows items pinned at the top of search list
Show Source
Nested Schema : AggregationResult
Type: object
Show Source
Nested Schema : Type
Type: object
AggregatedType
Show Source
Nested Schema : allowedActions
Type: array
allowedActions on Type.
Show Source
  • Allowed Values: [ "preview", "read", "write", "update", "delete" ]
Nested Schema : allowedFileTypes
Type: array
Allowed list of file extensions supported by the type. It is a required property in the get response. It is optional in post/put request and defaults to [ContentItem] if the typeCategory is ContentType and defaults to empty if the typeCategory is DigitalAssetType .
Show Source
Nested Schema : ItemSubResourceListTypeField
Type: object
Item SubResource.
Show Source
Nested Schema : connectorInfos
Type: array
connectorInfos on Type.
Show Source
Nested Schema : date
Type: object
date
Show Source
Nested Schema : fields
Type: array
Fields used in the type.
Show Source
Nested Schema : ItemSubResourceListInplacePreview
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListLayoutMapping
Type: object
Item SubResource.
Show Source
Nested Schema : properties
Type: object
Additional Properties Allowed
Show Source
Type specific properties.
Nested Schema : ItemSubResourceTypeRelationships
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListRequiredTaxonomy
Type: object
Item SubResource.
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : TypeField
Type: object
FieldInAggrType.
Show Source
Nested Schema : defaultValue
Type: object
defaultValue for field.
Nested Schema : properties
Type: object
Additional Properties Allowed
Show Source
Field specific properties. The field publishingDependency is specific for media and reference.
Example:
{caas-translation: {inheritFromMaster: false}, publishingDependency: optional}
Nested Schema : settings
Type: object
Additional Properties Allowed
Show Source
Field specific settings.
Nested Schema : additionalProperties
Type: object
Nested Schema : additionalProperties
Type: object
Nested Schema : ConnectorInfo
Type: object
ConnectorInfo
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : InplacePreview
Type: object
InplacePreview
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : LayoutMapping
Type: object
LayoutMapping
Show Source
Nested Schema : formats
Type: object
Additional Properties Allowed
Show Source
layout formats.
Nested Schema : additionalProperties
Type: object
Nested Schema : TypeRelationships
Type: object
Type Relationships
Show Source
Nested Schema : references
Type: array
Unique Items Required: true
Reference type names/ids
Show Source
Nested Schema : TypeReferences
Type: object
Type References bean
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : RequiredTaxonomy
Type: object
Show Source
Nested Schema : defaultCategories
Type: array
Show Source
Nested Schema : Category
Type: object
Show Source

304 Response

Not modified.

400 Response

Bad request.

403 Response

Forbidden.

404 Response

Not found.

500 Response

Internal server error.
Back to Top

Examples

The following example shows how to list of all Types by submission of a GET request using cURL.

curl -X GET -H 'Accept: application/json' 'https://host:port/content/management/api/v1.1/types'

Example 1

This lists all types.

/content/management/api/v1.1/types

Response Body

{
        "hasMore": false,
        "offset": 0,
        "count": 3,
        "limit": 3,
        "items": [
          {
            "id": "1482247306768",
            "name": "AppImage",
            "description": "AppImage",
            "typeCategory": "DigitalAssetType",
            "fields": [
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DA1",
                "name": "copyRights",
                "description": "copyRights",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE2",
                "name": "size",
                "description": "size",
                "datatype": "number",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE3",
                "name": "fileType",
                "description": "fileType",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE9",
                "name": "fileGroup",
                "description": "fileGroup",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE5",
                "name": "mimeType",
                "description": "mimeType",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE6",
                "name": "renditions",
                "description": "renditions",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE7",
                "name": "metadata",
                "description": "metadata",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE8",
                "name": "native",
                "description": "native",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DA8",
                "name": "advancedVideoInfo",
                "description": "advancedVideoInfo",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              }
            ],
            "properties": {},
            "roleName": "manager",
            "links": null
          },
          {
            "id": "D103EEB2A5CC42619D7688A62A169092",
            "name": "TypeSample",
            "description": "",
            "typeCategory": "ContentType",
            "createdBy": "cecusername",
            "createdDate": {
              "value": "2018-11-23T10:33:17.270Z",
              "timezone": "UTC"
            },
            "updatedBy": "cecusername",
            "updatedDate": {
              "value": "2018-11-23T10:33:17.270Z",
              "timezone": "UTC"
            },
            "fields": [
              {
                "id": "66EA1FD6AE634B1290968AB1C8F606C4",
                "name": "fieldASample",
                "description": "Content",
                "datatype": "largetext",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE2",
                "name": "fieldBSample",
                "description": "Content",
                "datatype": "largetext",
                "required": true,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              }
            ],
            "properties": {},
            "roleName": "manager",
            "links": null
          },
          {
            "id": "A5A8C813AB80480C99551A2C62A0B518",
            "name": "typeName",
            "description": "",
            "typeCategory": "ContentType",
            "createdBy": "cecusername",
            "createdDate": {
              "value": "2018-11-30T06:56:08.822Z",
              "timezone": "UTC"
            },
            "updatedBy": "cecusername",
            "updatedDate": {
              "value": "2018-11-30T09:23:07.608Z",
              "timezone": "UTC"
            },
            "fields": [
              {
                "id": "9B00BE1343BB4AD59706191544A84709",
                "name": "fieldB",
                "description": "Number Field",
                "datatype": "number",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              }
            ],
            "properties": {},
            "roleName": "viewer",
            "links": null
          }
        ],
        "links": [
          {
            "href": "https://<hostname>/content/management/api/v1.1/types",
            "rel": "self",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types",
            "rel": "canonical",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/types",
            "rel": "describedby",
            "method": "GET",
            "mediaType": "application/schema+json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?offset=0",
            "rel": "first",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?offset=0",
            "rel": "last",
            "method": "GET",
            "mediaType": "application/json"
          }
        ]
      }    

Example 2:

This lists all the types starts from index 1.

/content/management/api/v1.1/types?offset=1

Response Body

{
        "hasMore": false,
        "offset": 1,
        "count": 2,
        "limit": 3,
        "items": [
          {
            "id": "3669DC6FA9FB417C81B5EFA4D620E6FA",
            "name": "Type1",
            "description": "Type1 description.",
            "typeCategory": "ContentType",
            "createdBy": "cecusername",
            "createdDate": {
              "value": "2018-12-05T13:55:40.726Z",
              "timezone": "UTC"
            },
            "updatedBy": "cecusername",
            "updatedDate": {
              "value": "2018-12-05T13:55:40.726Z",
              "timezone": "UTC"
            },
            "fields": [
              {
                "id": "D1120F0D990E455B83E2E44C06B21916",
                "name": "field_type1",
                "description": "field_type1 description.",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              }
            ],
            "properties": {},
            "roleName": "manager",
            "links": null
          },
          {
            "id": "4112D51813BE4842A0F1C463E8786B78",
            "name": "Type2",
            "description": "Type2 description.",
            "typeCategory": "ContentType",
            "createdBy": "cecusername",
            "createdDate": {
              "value": "2018-12-05T15:41:59.129Z",
              "timezone": "UTC"
            },
            "updatedBy": "cecusername",
            "updatedDate": {
              "value": "2018-12-05T15:41:59.129Z",
              "timezone": "UTC"
            },
            "fields": [
              {
                "id": "7F311179684E4E909DC08E83E91749BC",
                "name": "fieldName",
                "description": "fieldName description.",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              }
            ],
            "properties": {},
            "roleName": "viewer",
            "links": null
          }
        ],
        "links": [
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?offset=1",
            "rel": "self",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?offset=1",
            "rel": "canonical",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/types",
            "rel": "describedby",
            "method": "GET",
            "mediaType": "application/schema+json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?offset=0",
            "rel": "prev",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?offset=0",
            "rel": "first",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?offset=1",
            "rel": "last",
            "method": "GET",
            "mediaType": "application/json"
          }
        ]
      }

Example 3:

This lists first 2 types from the list of available types.

/content/management/api/v1.1/types?limit=2

Response Body

{
        "hasMore": true,
        "offset": 0,
        "count": 2,
        "limit": 3,
        "items": [
          {
            "id": "1482247306768",
            "name": "AppImage",
            "description": "AppImage",
            "typeCategory": "DigitalAssetType",
            "fields": [
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DA1",
                "name": "copyRights",
                "description": "copyRights",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE2",
                "name": "size",
                "description": "size",
                "datatype": "number",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE3",
                "name": "fileType",
                "description": "fileType",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE9",
                "name": "fileGroup",
                "description": "fileGroup",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE5",
                "name": "mimeType",
                "description": "mimeType",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE6",
                "name": "renditions",
                "description": "renditions",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE7",
                "name": "metadata",
                "description": "metadata",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE8",
                "name": "native",
                "description": "native",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DA8",
                "name": "advancedVideoInfo",
                "description": "advancedVideoInfo",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              }
            ],
            "properties": {},
            "roleName": "manager",
            "links": null
          },
          {
            "id": "3669DC6FA9FB417C81B5EFA4D620E6FA",
            "name": "Type1",
            "description": "Type1 description.",
            "typeCategory": "ContentType",
            "createdBy": "cecusername",
            "createdDate": {
              "value": "2018-12-05T13:55:40.726Z",
              "timezone": "UTC"
            },
            "updatedBy": "cecusername",
            "updatedDate": {
              "value": "2018-12-05T13:55:40.726Z",
              "timezone": "UTC"
            },
            "fields": [
              {
                "id": "D1120F0D990E455B83E2E44C06B21916",
                "name": "field_type1",
                "description": "field_type1 description.",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              }
            ],
            "properties": {},
            "roleName": "contributor",
            "links": null
          }
        ],
        "links": [
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?limit=2",
            "rel": "self",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?limit=2",
            "rel": "canonical",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/types",
            "rel": "describedby",
            "method": "GET",
            "mediaType": "application/schema+json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?limit=2&offset=2",
            "rel": "next",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?limit=2&offset=0",
            "rel": "first",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?limit=2&offset=2",
            "rel": "last",
            "method": "GET",
            "mediaType": "application/json"
          }
        ]
      }

Example 4:

This lists all the types including totalResults value in the response.

/content/management/api/v1.1/types?totalResults=true

Response Body

{
        "hasMore": false,
        "offset": 0,
        "count": 3,
        "limit": 3,
        "totalResults": 3,
        "items": [
          {
            "id": "1482247306768",
            "name": "AppImage",
            "description": "AppImage",
            "typeCategory": "DigitalAssetType",
            "fields": [
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DA1",
                "name": "copyRights",
                "description": "copyRights",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE2",
                "name": "size",
                "description": "size",
                "datatype": "number",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE3",
                "name": "fileType",
                "description": "fileType",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE9",
                "name": "fileGroup",
                "description": "fileGroup",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE5",
                "name": "mimeType",
                "description": "mimeType",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE6",
                "name": "renditions",
                "description": "renditions",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE7",
                "name": "metadata",
                "description": "metadata",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE8",
                "name": "native",
                "description": "native",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DA8",
                "name": "advancedVideoInfo",
                "description": "advancedVideoInfo",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              }
            ],
            "properties": {},
            "roleName": "manager",
            "links": null
          },
          {
            "id": "3669DC6FA9FB417C81B5EFA4D620E6FA",
            "name": "Type1",
            "description": "Type1 description.",
            "typeCategory": "ContentType",
            "createdBy": "cecusername",
            "createdDate": {
              "value": "2018-12-05T13:55:40.726Z",
              "timezone": "UTC"
            },
            "updatedBy": "cecusername",
            "updatedDate": {
              "value": "2018-12-05T13:55:40.726Z",
              "timezone": "UTC"
            },
            "fields": [
              {
                "id": "D1120F0D990E455B83E2E44C06B21916",
                "name": "field_type1",
                "description": "field_type1 description.",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              }
            ],
            "properties": {},
            "roleName": "manager",
            "links": null
          },
          {
            "id": "4112D51813BE4842A0F1C463E8786B78",
            "name": "Type2",
            "description": "Type2 description.",
            "createdBy": "cecusername",
            "createdDate": {
              "value": "2018-12-05T15:41:59.129Z",
              "timezone": "UTC"
            },
            "updatedBy": "cecusername",
            "updatedDate": {
              "value": "2018-12-05T15:41:59.129Z",
              "timezone": "UTC"
            },
            "fields": [
              {
                "id": "7F311179684E4E909DC08E83E91749BC",
                "name": "fieldName",
                "description": "fieldName description.",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              }
            ],
            "properties": {},
            "roleName": "viewer",
            "links": null
          }
        ],
        "links": [
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?totalResults=true",
            "rel": "self",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?totalResults=true",
            "rel": "canonical",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/types",
            "rel": "describedby",
            "method": "GET",
            "mediaType": "application/schema+json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?offset=0&totalResults=true",
            "rel": "first",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?offset=0&totalResults=true",
            "rel": "last",
            "method": "GET",
            "mediaType": "application/json"
          }
        ]
      }

Example 5:

This lists all types order by field-name name in descending order.

/content/management/api/v1.1/types?orderBy=name:desc

Response Body

{
        "hasMore": false,
        "offset": 0,
        "count": 3,
        "limit": 3,
        "items": [
          {
            "id": "3669DC6FA9FB417C81B5EFA4D620E6FA",
            "name": "Type2",
            "description": "Type2 description.",
            "typeCategory": "ContentType",
            "createdBy": "cecusername",
            "createdDate": {
              "value": "2018-12-05T13:55:40.726Z",
              "timezone": "UTC"
            },
            "updatedBy": "cecusername",
            "updatedDate": {
              "value": "2018-12-05T13:55:40.726Z",
              "timezone": "UTC"
            },
            "fields": [
              {
                "id": "D1120F0D990E455B83E2E44C06B21916",
                "name": "fieldName",
                "description": "fieldName description.",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              }
            ],
            "properties": {},
            "roleName": "viewer",
            "links": null
          },
          {
            "id": "4112D51813BE4842A0F1C463E8786B78",
            "name": "Type1",
            "description": "Type1 description.",
            "typeCategory": "ContentType",
            "createdBy": "cecusername",
            "createdDate": {
              "value": "2018-12-05T15:41:59.129Z",
              "timezone": "UTC"
            },
            "updatedBy": "cecusername",
            "updatedDate": {
              "value": "2018-12-05T15:41:59.129Z",
              "timezone": "UTC"
            },
            "fields": [
              {
                "id": "7F311179684E4E909DC08E83E91749BC",
                "name": "field_type1",
                "description": "field_type1 description.",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              }
            ],
            "properties": {},
            "roleName": "manager",
            "links": null
          },
          {
            "id": "1482247306768",
            "name": "AppImage",
            "description": "AppImage",
            "typeCategory": "DigitalAssetType",
            "fields": [
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DA1",
                "name": "copyRights",
                "description": "copyRights",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE2",
                "name": "size",
                "description": "size",
                "datatype": "number",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE3",
                "name": "fileType",
                "description": "fileType",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE9",
                "name": "fileGroup",
                "description": "fileGroup",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE5",
                "name": "mimeType",
                "description": "mimeType",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE6",
                "name": "renditions",
                "description": "renditions",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE7",
                "name": "metadata",
                "description": "metadata",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE8",
                "name": "native",
                "description": "native",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DA8",
                "name": "advancedVideoInfo",
                "description": "advancedVideoInfo",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              }
            ],
            "properties": {},
            "roleName": "manager",
            "links": null
          }
        ],
        "links": [
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?totalResults=true",
            "rel": "self",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?totalResults=true",
            "rel": "canonical",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/types",
            "rel": "describedby",
            "method": "GET",
            "mediaType": "application/schema+json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?offset=0&totalResults=true",
            "rel": "first",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?offset=0&totalResults=true",
            "rel": "last",
            "method": "GET",
            "mediaType": "application/json"
          }
        ]
      }

Example 6:

This lists first 2 types starts from index 1 including totalResults value and in descending order by field-name name in the response.

/content/management/api/v1.1/types?limit=2&offset=1&totalResults=true&orderBy=name:desc

Response Body

{
        "hasMore": false,
        "offset": 1,
        "count": 2,
        "limit": 3,
        "totalResults":3,
        "items": [
          {
            "id": "4112D51813BE4842A0F1C463E8786B78",
            "name": "Type2",
            "description": "Type2 description.",
            "typeCategory": "ContentType",
            "createdBy": "cecusername",
            "createdDate": {
              "value": "2018-12-05T15:41:59.129Z",
              "timezone": "UTC"
            },
            "updatedBy": "cecusername",
            "updatedDate": {
              "value": "2018-12-05T15:41:59.129Z",
              "timezone": "UTC"
            },
            "fields": [
              {
                "id": "7F311179684E4E909DC08E83E91749BC",
                "name": "fieldName",
                "description": "fieldName description.",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              }
            ],
            "properties": {},
            "links": null
          },
          {
            "id": "1482247306768",
            "name": "AppImage",
            "description": "AppImage",
            "typeCategory": "DigitalAssetType",
            "fields": [
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DA1",
                "name": "copyRights",
                "description": "copyRights",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE2",
                "name": "size",
                "description": "size",
                "datatype": "number",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE3",
                "name": "fileType",
                "description": "fileType",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE9",
                "name": "fileGroup",
                "description": "fileGroup",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE5",
                "name": "mimeType",
                "description": "mimeType",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE6",
                "name": "renditions",
                "description": "renditions",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE7",
                "name": "metadata",
                "description": "metadata",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DE8",
                "name": "native",
                "description": "native",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              },
              {
                "id": "B4E2EA0BBD5E4DD38BA721BEA7E02DA8",
                "name": "advancedVideoInfo",
                "description": "advancedVideoInfo",
                "datatype": "json",
                "jsonSchema" : null,
                "required": false,
                "valuecount": "single",
                "isSystemField":true,
                "properties": {},
                "settings": {}
              }
            ],
            "properties": {},
            "roleName": "manager",
            "links": null
          }
        ],
        "links": [
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?totalResults=true",
            "rel": "self",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?totalResults=true",
            "rel": "canonical",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/types",
            "rel": "describedby",
            "method": "GET",
            "mediaType": "application/schema+json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?offset=0&totalResults=true",
            "rel": "first",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/types?offset=0&totalResults=true",
            "rel": "last",
            "method": "GET",
            "mediaType": "application/json"
          }
        ]
      }

Example 7:

This lists 2 types and there will be only standard fields in response.

/content/management/api/v1.1/types?limit=2&fields=name

Response Body

{
        "hasMore": true,
        "offset": 0,
        "count": 2,
        "limit": 137,
        "items": [
          {
            "id": "64C505716FBA499EAE93D12777AA0280",
            "name": "0002Test1094770152343003",
            "description": "Test1094770152438004 description",
            "typeCategory": "ContentType",
            "createdBy": "marketing.cecsadmina",
            "createdDate": {
              "value": "2019-11-08T13:45:46.486Z",
              "timezone": "UTC"
            },
            "updatedBy": "marketing.cecsadmina",
            "updatedDate": {
              "value": "2019-11-08T13:45:46.486Z",
              "timezone": "UTC"
            },
            "roleName": "manager",
            "links": [
              {
                "href": "http://<hostname>/content/management/api/v1.1/types/0002Test1094770152343003",
                "rel": "self",
                "method": "GET",
                "mediaType": "application/json"
              }
            ],
            "allowedActions": [
              "preview",
              "read",
              "write",
              "update",
              "delete"
            ]
          },
          {
            "id": "145BFDB1D8FA4B7F86D18724C20EA162",
            "name": "0001Test1094751307482001",
            "description": "Test1094751309924002 description",
            "typeCategory": "ContentType",
            "createdBy": "marketing.cecsadmina",
            "createdDate": {
              "value": "2019-11-08T13:45:45.940Z",
              "timezone": "UTC"
            },
            "updatedBy": "marketing.cecsadmina",
            "updatedDate": {
              "value": "2019-11-08T13:45:45.940Z",
              "timezone": "UTC"
            },
            "roleName": "manager",
            "links": [
              {
                "href": "http://<hostname>/content/management/api/v1.1/types/0001Test1094751307482001",
                "rel": "self",
                "method": "GET",
                "mediaType": "application/json"
              }
            ],
            "allowedActions": [
              "preview",
              "read",
              "write",
              "update",
              "delete"
            ]
          }
        ],
        "links": [
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=name",
            "rel": "self",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=name",
            "rel": "canonical",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/metadata-catalog/types",
            "rel": "describedby",
            "method": "GET",
            "mediaType": "application/schema+json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=name&offset=2",
            "rel": "next",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=name&offset=0",
            "rel": "first",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=name&offset=136",
            "rel": "last",
            "method": "GET",
            "mediaType": "application/json"
          }
        ]
      }

Example 8:

This lists 2 types and there will be both standard and additional fields in response.

/content/management/api/v1.1/types?limit=2&fields=all

Response Body

{
        "hasMore": true,
        "offset": 0,
        "count": 2,
        "limit": 137,
        "items": [
          {
            "id": "64C505716FBA499EAE93D12777AA0280",
            "name": "0002Test1094770152343003",
            "description": "Test1094770152438004 description",
            "typeCategory": "ContentType",
            "createdBy": "marketing.cecsadmina",
            "createdDate": {
              "value": "2019-11-08T13:45:46.486Z",
              "timezone": "UTC"
            },
            "updatedBy": "marketing.cecsadmina",
            "updatedDate": {
              "value": "2019-11-08T13:45:46.486Z",
              "timezone": "UTC"
            },
            "fields": [
              {
                "id": "941021DD8CB04D3EB21BDB0F0C51D650",
                "name": "0002Test1094770152343003_string_single",
                "description": "0002Test1094770152343003_string_single",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              },
              {
                "id": "2B02826033484DDA8BFC5DA254C60EE1",
                "name": "0002Test1094770152343003_int_list",
                "description": "0002Test1094770152343003_int_list",
                "datatype": "number",
                "required": true,
                "valuecount": "list",
                "properties": {},
                "settings": {}
              },
              {
                "id": "B7A0C0FAC37B4DD38F0BD4BD66B4618A",
                "name": "0002Test1094770152343003_reference_single",
                "description": "0002Test1094770152343003_reference_single",
                "datatype": "reference",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {},
                "referenceType": {
                  "type": null,
                  "types": [],
                  "typeCategory": "ContentType"
                }
              }
            ],
            "properties": {
              "foo": "bar"
            },
            "roleName": "manager",
            "links": [
              {
                "href": "http://<hostname>/content/management/api/v1.1/types/0002Test1094770152343003",
                "rel": "self",
                "method": "GET",
                "mediaType": "application/json"
              }
            ],
            "allowedActions": [
              "preview",
              "read",
              "write",
              "update",
              "delete"
            ]
          },
          {
            "id": "145BFDB1D8FA4B7F86D18724C20EA162",
            "name": "0001Test1094751307482001",
            "description": "Test1094751309924002 description",
            "typeCategory": "ContentType",
            "createdBy": "marketing.cecsadmina",
            "createdDate": {
              "value": "2019-11-08T13:45:45.940Z",
              "timezone": "UTC"
            },
            "updatedBy": "marketing.cecsadmina",
            "updatedDate": {
              "value": "2019-11-08T13:45:45.940Z",
              "timezone": "UTC"
            },
            "fields": [
              {
                "id": "DABD2854AB4E411AB6CC3E8AB49198D6",
                "name": "0001Test1094751307482001_string_single",
                "description": "0001Test1094751307482001_string_single",
                "datatype": "text",
                "required": true,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              },
              {
                "id": "A97BC69A43A34C4FA3F239033ED4B38A",
                "name": "0001Test1094751307482001_int_list",
                "description": "0001Test1094751307482001_int_list",
                "datatype": "number",
                "required": false,
                "valuecount": "list",
                "properties": {},
                "settings": {}
              },
              {
                "id": "8545B665F025415DAE47184FC8F585DE",
                "name": "0001Test1094751307482001_reference_single",
                "description": "0001Test1094751307482001_reference_single",
                "datatype": "reference",
                "required": true,
                "valuecount": "single",
                "properties": {},
                "settings": {},
                "referenceType": {
                  "type": null,
                  "types": [],
                  "typeCategory": "ContentType"
                }
              }
            ],
            "properties": {
              "caas": {
                "slug": {
                  "enabled": true,
                  "pattern": "myslug-{name}"
                }
              }
            },
            "roleName": "manager",
            "links": [
              {
                "href": "http://<hostname>/content/management/api/v1.1/types/0001Test1094751307482001",
                "rel": "self",
                "method": "GET",
                "mediaType": "application/json"
              }
            ],
            "allowedActions": [
              "preview",
              "read",
              "write",
              "update",
              "delete"
            ],
            "connectorInfos": [
              {
                "connectorId": "10000",
                "connectorSyncEnabled": true
              }
            ]
          }
        ],
        "links": [
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=all",
            "rel": "self",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=all",
            "rel": "canonical",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/metadata-catalog/types",
            "rel": "describedby",
            "method": "GET",
            "mediaType": "application/schema+json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=all&offset=2",
            "rel": "next",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=all&offset=0",
            "rel": "first",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=all&offset=136",
            "rel": "last",
            "method": "GET",
            "mediaType": "application/json"
          }
        ]
      }

Example 9:

This lists 2 types and there will be standard fields and properties, fields in response.

/content/management/api/v1.1/types?limit=2&fields=fields,properties

Response Body

{
        "hasMore": true,
        "offset": 0,
        "count": 2,
        "limit": 137,
        "items": [
          {
            "id": "64C505716FBA499EAE93D12777AA0280",
            "name": "0002Test1094770152343003",
            "description": "Test1094770152438004 description",
            "typeCategory": "ContentType",
            "createdBy": "marketing.cecsadmina",
            "createdDate": {
              "value": "2019-11-08T13:45:46.486Z",
              "timezone": "UTC"
            },
            "updatedBy": "marketing.cecsadmina",
            "updatedDate": {
              "value": "2019-11-08T13:45:46.486Z",
              "timezone": "UTC"
            },
            "fields": [
              {
                "id": "941021DD8CB04D3EB21BDB0F0C51D650",
                "name": "0002Test1094770152343003_string_single",
                "description": "0002Test1094770152343003_string_single",
                "datatype": "text",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              },
              {
                "id": "2B02826033484DDA8BFC5DA254C60EE1",
                "name": "0002Test1094770152343003_int_list",
                "description": "0002Test1094770152343003_int_list",
                "datatype": "number",
                "required": true,
                "valuecount": "list",
                "properties": {},
                "settings": {}
              },
              {
                "id": "B7A0C0FAC37B4DD38F0BD4BD66B4618A",
                "name": "0002Test1094770152343003_reference_single",
                "description": "0002Test1094770152343003_reference_single",
                "datatype": "reference",
                "required": false,
                "valuecount": "single",
                "properties": {},
                "settings": {},
                "referenceType": {
                  "type": null,
                  "types": [],
                  "typeCategory": "ContentType"
                }
              }
            ],
            "properties": {
              "foo": "bar"
            },
            "roleName": "manager",
            "links": [
              {
                "href": "http://<hostname>/content/management/api/v1.1/types/0002Test1094770152343003",
                "rel": "self",
                "method": "GET",
                "mediaType": "application/json"
              }
            ],
            "allowedActions": [
              "preview",
              "read",
              "write",
              "update",
              "delete"
            ]
          },
          {
            "id": "145BFDB1D8FA4B7F86D18724C20EA162",
            "name": "0001Test1094751307482001",
            "description": "Test1094751309924002 description",
            "typeCategory": "ContentType",
            "createdBy": "marketing.cecsadmina",
            "createdDate": {
              "value": "2019-11-08T13:45:45.940Z",
              "timezone": "UTC"
            },
            "updatedBy": "marketing.cecsadmina",
            "updatedDate": {
              "value": "2019-11-08T13:45:45.940Z",
              "timezone": "UTC"
            },
            "fields": [
              {
                "id": "DABD2854AB4E411AB6CC3E8AB49198D6",
                "name": "0001Test1094751307482001_string_single",
                "description": "0001Test1094751307482001_string_single",
                "datatype": "text",
                "required": true,
                "valuecount": "single",
                "properties": {},
                "settings": {}
              },
              {
                "id": "A97BC69A43A34C4FA3F239033ED4B38A",
                "name": "0001Test1094751307482001_int_list",
                "description": "0001Test1094751307482001_int_list",
                "datatype": "number",
                "required": false,
                "valuecount": "list",
                "properties": {},
                "settings": {}
              },
              {
                "id": "8545B665F025415DAE47184FC8F585DE",
                "name": "0001Test1094751307482001_reference_single",
                "description": "0001Test1094751307482001_reference_single",
                "datatype": "reference",
                "required": true,
                "valuecount": "single",
                "properties": {},
                "settings": {},
                "referenceType": {
                  "type": null,
                  "types": [],
                  "typeCategory": "ContentType"
                }
              }
            ],
            "properties": {
              "caas": {
                "slug": {
                  "enabled": true,
                  "pattern": "myslug-{name}"
                }
              }
            },
            "roleName": "manager",
            "links": [
              {
                "href": "http://<hostname>/content/management/api/v1.1/types/0001Test1094751307482001",
                "rel": "self",
                "method": "GET",
                "mediaType": "application/json"
              }
            ],
            "allowedActions": [
              "preview",
              "read",
              "write",
              "update",
              "delete"
            ]
          }
        ],
        "links": [
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=fields,properties",
            "rel": "self",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=fields,properties",
            "rel": "canonical",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/metadata-catalog/types",
            "rel": "describedby",
            "method": "GET",
            "mediaType": "application/schema+json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=fields,properties&offset=2",
            "rel": "next",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=fields,properties&offset=0",
            "rel": "first",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=fields,properties&offset=136",
            "rel": "last",
            "method": "GET",
            "mediaType": "application/json"
          }
        ]
      }

Example 10:

This lists 2 types and there will be standard fields and connectorInfos in response.

/content/management/api/v1.1/types?limit=2&fields=connectorInfos

Response Body

{
        "hasMore": true,
        "offset": 0,
        "count": 2,
        "limit": 137,
        "items": [
          {
            "id": "64C505716FBA499EAE93D12777AA0280",
            "name": "0002Test1094770152343003",
            "description": "Test1094770152438004 description",
            "typeCategory": "ContentType",
            "createdBy": "marketing.cecsadmina",
            "createdDate": {
              "value": "2019-11-08T13:45:46.486Z",
              "timezone": "UTC"
            },
            "updatedBy": "marketing.cecsadmina",
            "updatedDate": {
              "value": "2019-11-08T13:45:46.486Z",
              "timezone": "UTC"
            },
            "roleName": "manager",
            "links": [
              {
                "href": "http://<hostname>/content/management/api/v1.1/types/0002Test1094770152343003",
                "rel": "self",
                "method": "GET",
                "mediaType": "application/json"
              }
            ],
            "allowedActions": [
              "preview",
              "read",
              "write",
              "update",
              "delete"
            ]
          },
          {
            "id": "145BFDB1D8FA4B7F86D18724C20EA162",
            "name": "0001Test1094751307482001",
            "description": "Test1094751309924002 description",
            "typeCategory": "ContentType",
            "createdBy": "marketing.cecsadmina",
            "createdDate": {
              "value": "2019-11-08T13:45:45.940Z",
              "timezone": "UTC"
            },
            "updatedBy": "marketing.cecsadmina",
            "updatedDate": {
              "value": "2019-11-08T13:45:45.940Z",
              "timezone": "UTC"
            },
            "roleName": "manager",
            "links": [
              {
                "href": "http://<hostname>/content/management/api/v1.1/types/0001Test1094751307482001",
                "rel": "self",
                "method": "GET",
                "mediaType": "application/json"
              }
            ],
            "allowedActions": [
              "preview",
              "read",
              "write",
              "update",
              "delete"
            ],
            "connectorInfos": [
              {
                "connectorId": "10000",
                "connectorSyncEnabled": true
              }
            ]
          }
        ],
        "links": [
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=connectorInfos",
            "rel": "self",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=connectorInfos",
            "rel": "canonical",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/metadata-catalog/types",
            "rel": "describedby",
            "method": "GET",
            "mediaType": "application/schema+json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=connectorInfos&offset=2",
            "rel": "next",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=connectorInfos&offset=0",
            "rel": "first",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "http://<hostname>/content/management/api/v1.1/types?limit=2&orderBy=updatedDate:des&fields=connectorInfos&offset=136",
            "rel": "last",
            "method": "GET",
            "mediaType": "application/json"
          }
        ]
      }

Example 11:

This lists 2 types and there will be standard fields and connectorInfos in response.

/content/management/api/v1.1/types?limit=2&fields=invalidField

Response Body

{
        "detail": "Invalid field name : invalidField",
        "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1",
        "title": "Invalid field name : invalidField",
        "status": 400
      }
Back to Top