機械翻訳について

すべてのタイプをリスト

get

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

すべてのタイプを一覧表示します。

リクエスト

問合せパラメータ
  • このパラメータは、リストの各タイプで返されるフィールドを制御するために使用します。 すべてのフィールド名は、大/小文字が区別されます。 各タイプには、標準フィールド(idnamedisplayNamedescriptiontypeCategorycreatedBycreatedDateupdatedByupdatedDateroleNameallowedActions)と追加フィールド(fieldspropertiesconnectorInfos)の両方があります。 fields「すべて」 (大/小文字を区別しない)として指定すると、すべての標準フィールドおよび追加フィールドが返されます。 標準フィールドは常にレスポンスで返され、除外することはできません。 ユーザーは追加のフィールドのみをフィルタ処理できます。 このパラメータは問合せではオプションであり、デフォルトでは、結果にはレスポンス内のすべての標準および追加のフィールドが表示されます。 問合せで指定されたフィールド名が正しくないか無効な場合は、エラーがスローされます。

    : ?fields=fields,connectorInfos
    このメソッドは、すべての標準フィールドを、各タイプのfieldsおよびconnectorInfos追加フィールドとともに返します。

    : ?fields=all
    このメソッドは、すべての標準フィールドと、各タイプの追加フィールドを返します。
    デフォルト値: all
  • このパラメータは、負でない整数を受け入れ、結果のサイズの制御に使用します。
    デフォルト値: 100
  • このパラメータは、負でない整数を受け入れ、結果の開始インデックスを制御するために使用します。
    デフォルト値: 0
  • このパラメータは、結果の順序を制御するために使用します。 この問合せパラメータの値はfieldName:[asc/desc]の形式に従います。「昇順」は、昇順「説明」の場合は降順、デフォルトの順序は「昇順」です。フィールド名で使用できるフィールドは、nameupdatedDateのみです。
    デフォルト値: name:asc
  • このパラメータは、フィールド値に一致する問合せ式条件を受け入れます。 問合せ条件の値は、{fieldName} {operator} "{fieldValue}"の形式に従います。 現時点で許可されるfieldNamesは、roleNamerepositoryIdtypeCategorynameおよびdisplayNameのみで、現在使用可能な演算子はmtnamedisplayNameおよびeqのみです。 この問合せパラメータはオプションで、少なくとも指定されたロールを持つリソースをフィルタ処理するroleName eq "viewer"にデフォルト設定されます。
    :
    ?q=(roleName eq "manager")
    デフォルト値: roleName eq "viewer"
  • このパラメータは、返される型を指定のロール名でフィルタするために使用します。 このパラメータは問合せではオプションであり、デフォルトではすべてのタイプが返されます。
    許容値: [ "viewer", "contributor", "manager" ]
  • このパラメータは、ブール・フラグを受け入れます。 trueとして指定した場合、返される結果には合計結果数が含まれる必要があります。
    デフォルト値: false
トップに戻る

レスポンス

サポートされているメディア・タイプ

200レスポンス

OK。
本文()
ルート・スキーマ : AggregatedTypes
型: object
AggregatedTypes
ソースを表示
ネストされたスキーマ : aggregationResults
型: array
集計結果。
ソースを表示
ネストされたスキーマ: items
型: array
コレクションに含まれる特異なリソース。
ソースを表示
ネストされたスキーマ : 殺害
型: array
固定品目。 検索リストの上部に固定されたアイテムを表示
ソースを表示
ネストされたスキーマ : AggregationResult
型: object
ソースを表示
ネストされたスキーマ : タイプ
型: object
AggregatedType
ソースを表示
ネストされたスキーマ : allowedActions
型: array
タイプのallowedActions。
ソースを表示
ネストされたスキーマ : allowedFileTypes
型: array
タイプでサポートされているファイル拡張子の許可されたリスト。 これはレスポンス取得の必須プロパティです。 ポスト/プット・リクエストではオプションで、typeCategoryがContentTypeの場合は[ContentItem]にデフォルト設定され、typeCategoryがDigitalAssetTypeの場合は空にデフォルト設定されます。
ソースを表示
ネストされたスキーマ : ItemSubResourceListTypeField
型: object
アイテムSubResource。
ソースを表示
ネストされたスキーマ : connectorInfos
型: array
タイプのconnectorInfos。
ソースを表示
ネストされたスキーマ : date
型: object
date
ソースを表示
ネストされたスキーマ: fields
型: array
タイプで使用されるフィールド。
ソースを表示
ネストされたスキーマ : ItemSubResourceListInplacePreview
型: object
アイテムSubResource。
ソースを表示
ネストされたスキーマ : ItemSubResourceListLayoutMapping
型: object
アイテムSubResource。
ソースを表示
ネストされたスキーマ: properties
型: object
使用可能なその他のプロパティ
ソースを表示
特定のプロパティを入力します。
ネストされたスキーマ : ItemSubResourceTypeRelationships
型: object
アイテムSubResource。
ソースを表示
ネストされたスキーマ : ItemSubResourceListRequiredTaxonomy
型: object
アイテムSubResource。
ソースを表示
ネストされたスキーマ: data
型: array
ソースを表示
ネストされたスキーマ : TypeField
型: object
FieldInAggrType.
ソースを表示
ネストされたスキーマ : defaultValue
型: object
フィールドのdefaultValue。
ネストされたスキーマ: properties
型: object
使用可能なその他のプロパティ
ソースを表示
フィールド固有のプロパティ。 publishingDependencyフィールドは、メディアおよび参照に固有です。
例:
{caas-translation: {inheritFromMaster: false}, publishingDependency: optional}
ネストされたスキーマ : settings
型: object
使用可能なその他のプロパティ
ソースを表示
フィールド固有の設定。
ネストされたスキーマ: additionalProperties
型: object
ネストされたスキーマ: additionalProperties
型: object
ネストされたスキーマ : ConnectorInfo
型: object
ConnectorInfo
ソースを表示
ネストされたスキーマ: data
型: array
ソースを表示
ネストされたスキーマ : InplacePreview
型: object
InplacePreview
ソースを表示
ネストされたスキーマ: data
型: array
ソースを表示
ネストされたスキーマ : LayoutMapping
型: object
LayoutMapping
ソースを表示
ネストされたスキーマ: formats
型: object
使用可能なその他のプロパティ
ソースを表示
レイアウト形式。
ネストされたスキーマ: additionalProperties
型: object
ネストされたスキーマ : TypeRelationships
型: object
タイプ関連
ソースを表示
ネストされたスキーマ : references
型: array
一意のアイテムが必要: true
参照タイプ名/ID
ソースを表示
ネストされたスキーマ : TypeReferences
型: object
型参照Bean
ソースを表示
ネストされたスキーマ: data
型: array
ソースを表示
ネストされたスキーマ : RequiredTaxonomy
型: object
ソースを表示
ネストされたスキーマ : defaultCategories
型: array
ソースを表示
ネストされたスキーマ : カテゴリ
型: object
ソースを表示

304 レスポンス

変更されていません。

400レスポンス

不正リクエスト

403レスポンス

禁止。

404レスポンス

見つかりません。

500レスポンス

内部サーバー・エラー
トップに戻る

次の例では、cURLを使用してGETリクエストを発行することによってすべてのタイプのリストを表示する方法を示しています。

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

例1

すべてのタイプがリストされます。

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

レスポンス本文

{
        "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"
          }
        ]
      }    

例2:

これには、索引1から始まるすべてのタイプがリストされます。

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

レスポンス本文

{
        "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"
          }
        ]
      }

例3 :

使用可能なタイプのリストから最初の2つのタイプがリストされます。

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

レスポンス本文

{
        "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"
          }
        ]
      }

例4 :

レスポンスにtotalResults値を含むすべてのタイプがリストされます。

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

レスポンス本文

{
        "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"
          }
        ]
      }

例5 :

フィールド名の順序をすべて降順でリストします。

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

レスポンス本文

{
        "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"
          }
        ]
      }

例6 :

ここには、index 1から開始した最初の2つのタイプ(totalResults値を含む)と、レスポンスにフィールド名の降順でリストされます。

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

レスポンス本文

{
        "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"
          }
        ]
      }

例7 :

これには2つのタイプがリストされ、レスポンスには標準フィールドのみが含まれます。

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

レスポンス本文

{
        "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"
          }
        ]
      }

例8 :

これには2つのタイプがリストされ、対応する標準フィールドと追加フィールドの両方があります。

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

レスポンス本文

{
        "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"
          }
        ]
      }

例9:

これには2つのタイプがリストされ、標準のフィールドとプロパティ、およびレスポンスのフィールドがあります。

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

レスポンス本文

{
        "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"
          }
        ]
      }

例10:

これには2つのタイプがリストされ、対応する標準フィールドとconnectorInfosがあります。

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

レスポンス本文

{
        "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"
          }
        ]
      }

例11:

これには2つのタイプがリストされ、対応する標準フィールドとconnectorInfosがあります。

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

レスポンス本文

{
        "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
      }
先頭に戻る