すべてのタイプをリスト
get
/content/management/api/v1.1/types
すべてのタイプを一覧表示します。
リクエスト
問合せパラメータ
- fields(optional): string
このパラメータは、リストの各タイプで返されるフィールドを制御するために使用します。 すべてのフィールド名は、大/小文字が区別されます。 各タイプには、標準フィールド(id、name、displayName、description、typeCategory、createdBy、createdDate、updatedBy、updatedDate、roleName、allowedActions)と追加フィールド(fields、properties、connectorInfos)の両方があります。 fieldsを「すべて」 (大/小文字を区別しない)として指定すると、すべての標準フィールドおよび追加フィールドが返されます。 標準フィールドは常にレスポンスで返され、除外することはできません。 ユーザーは追加のフィールドのみをフィルタ処理できます。 このパラメータは問合せではオプションであり、デフォルトでは、結果にはレスポンス内のすべての標準および追加のフィールドが表示されます。 問合せで指定されたフィールド名が正しくないか無効な場合は、エラーがスローされます。
例: ?fields=fields,connectorInfos
このメソッドは、すべての標準フィールドを、各タイプのfieldsおよびconnectorInfos追加フィールドとともに返します。
例: ?fields=all
このメソッドは、すべての標準フィールドと、各タイプの追加フィールドを返します。
デフォルト値:all - limit(optional): integer(int32)
このパラメータは、負でない整数を受け入れ、結果のサイズの制御に使用します。デフォルト値:
100 - links(optional): string
このパラメータは、リンク名のカンマ区切りのリストを受け入れます。 デフォルトでは、このパラメータによって、適用可能なすべてのリンクが指定されます。 可能な値は次のとおりです: self, canonical, describedby, first, 最後, prev, next
- offset(optional): integer(int32)
このパラメータは、負でない整数を受け入れ、結果の開始インデックスを制御するために使用します。デフォルト値:
0 - orderBy(optional): string
このパラメータは、結果の順序を制御するために使用します。 この問合せパラメータの値はfieldName:[asc/desc]の形式に従います。「昇順」は、昇順「説明」の場合は降順、デフォルトの順序は「昇順」です。フィールド名で使用できるフィールドは、nameとupdatedDateのみです。デフォルト値:
name:asc - q(optional): string
このパラメータは、フィールド値に一致する問合せ式条件を受け入れます。 問合せ条件の値は、{fieldName} {operator} "{fieldValue}"の形式に従います。 現時点で許可されるfieldNamesは、roleName、repositoryId、typeCategory、nameおよびdisplayNameのみで、現在使用可能な演算子はmt、name、displayNameおよびeqのみです。 この問合せパラメータはオプションで、少なくとも指定されたロールを持つリソースをフィルタ処理するroleName eq "viewer"にデフォルト設定されます。
例:
?q=(roleName eq "manager")デフォルト値:roleName eq "viewer" - roleName(optional): string
このパラメータは、返される型を指定のロール名でフィルタするために使用します。 このパラメータは問合せではオプションであり、デフォルトではすべてのタイプが返されます。許容値:
[ "viewer", "contributor", "manager" ] - totalResults(optional): boolean
このパラメータは、ブール・フラグを受け入れます。 trueとして指定した場合、返される結果には合計結果数が含まれる必要があります。デフォルト値:
false
レスポンス
サポートされているメディア・タイプ
- application/json
200レスポンス
OK。
ルート・スキーマ : AggregatedTypes
型:
objectAggregatedTypes
ソースを表示
- aggregationResults(optional): array aggregationResults
集計結果。
- count(optional): integer(int32)
現在のレスポンス内のレコードの合計数
- hasMore(optional): boolean
フェッチするページがまだあるかどうかを確認します。
- items(optional): array items
コレクションに含まれる特異なリソース。
- limit(optional): integer(int32)
サーバーによって使用される実際のページ・サイズ。 これは、クライアントがリクエストするものと同じではない可能性があります。
- links(optional): array links
リソースのリンク。
- offset(optional): integer(int32)
特異リソースが返される実際のインデックス。
- pinned(optional): array pinned
固定品目。 検索リストの上部に固定されたアイテムを表示
- scrollId(optional): string
scrollId:検索がスクロール検索に解決された場合。
- totalResults(optional): integer(int32)
クライアント・リクエストを満たすローの総数(ページング・パラメータを除く)
ネストされたスキーマ : タイプ
型:
objectAggregatedType
ソースを表示
- allowedActions(optional): array allowedActions
タイプのallowedActions。
- allowedFileTypes(optional): array allowedFileTypes
タイプでサポートされているファイル拡張子の許可されたリスト。 これはレスポンス取得の必須プロパティです。 ポスト/プット・リクエストではオプションで、typeCategoryがContentTypeの場合は[ContentItem]にデフォルト設定され、typeCategoryがDigitalAssetTypeの場合は空にデフォルト設定されます。
- apiName(optional): string
タイプのAPI名。
- archivedFields(optional): object ItemSubResourceListTypeField
アイテムSubResource。
- connectorInfos(optional): array connectorInfos
タイプのconnectorInfos。
- createdBy(optional): string
作成方法
- createdDate(optional): object date
date
- description(optional): string
タイプの説明。
- displayName(optional): string
タイプの表示名。 これはgetレスポンスの必須プロパティですが、post/putリクエストでは必要ありません。
- fields(optional): array fields
タイプで使用されるフィールド。
- id(optional): string
型のId。 これはレスポンス取得と送信リクエストの必須プロパティであり、リクエストの転送には必要ありません。
- inplacePreview(optional): object ItemSubResourceListInplacePreview
アイテムSubResource。
- jobToken(optional): string
タイプを更新するバックグラウンド・ジョブのジョブ・トークン。
- layoutMapping(optional): object ItemSubResourceListLayoutMapping
アイテムSubResource。
- links(optional): array links
- name(optional): string
タイプの名前。 これは、レスポンスの取得とリクエストのポスト/送信の必須プロパティです。
- properties(optional): object properties
許可される追加のプロパティ: additionalProperties特定のプロパティを入力します。
- relationships(optional): object ItemSubResourceTypeRelationships
アイテムSubResource。
- requiredTaxonomies(optional): object ItemSubResourceListRequiredTaxonomy
アイテムSubResource。
- roleName(optional): string
コンテンツ・タイプのユーザー・ロールの名前。
- typeCategory(optional): string
タイプのカテゴリ。 使用可能な値は[ContentType, DigitalAssetType]です。 これはレスポンス取得の必須プロパティです。 ポスト・リクエストではオプションで、ContentTypeにデフォルト設定されます。 Putリクエストでもオプションで、URLのtypeNameパス・パラメータに基づいて識別されます。
- updatedBy(optional): string
更新者
- updatedDate(optional): object date
date
ネストされたスキーマ : allowedActions
型:
arrayタイプのallowedActions。
ソースを表示
- Array of: string
許容値:
[ "preview", "read", "write", "update", "delete" ]
ネストされたスキーマ : allowedFileTypes
型:
arrayタイプでサポートされているファイル拡張子の許可されたリスト。 これはレスポンス取得の必須プロパティです。 ポスト/プット・リクエストではオプションで、typeCategoryがContentTypeの場合は[ContentItem]にデフォルト設定され、typeCategoryがDigitalAssetTypeの場合は空にデフォルト設定されます。
ソースを表示
ネストされたスキーマ : connectorInfos
型:
arrayタイプのconnectorInfos。
ソースを表示
- Array of: object ConnectorInfo
ConnectorInfo
ネストされたスキーマ : TypeField
型:
objectFieldInAggrType.
ソースを表示
- apiName(optional): string
フィールドのAPI名。
- archivedBy(optional): string
アーカイブしました。
- archivedDate(optional): object date
date
- datatype(optional): string
許容値:
[ "number", "long", "decimal", "text", "largetext", "reference", "datetime", "boolean" ]データ型列挙。 これは、レスポンスの取得とリクエストのポスト/送信の必須プロパティです。 - defaultValue(optional): object defaultValue
フィールドのdefaultValue。
- description(optional): string
フィールドの説明。
- id(optional): string
フィールドのid。 これはレスポンス取得と送信リクエストの必須プロパティであり、リクエストの転送には必要ありません。
- isSystemField(optional): boolean
システムによって提供されるフィールドです。
- name(optional): string
フィールドの名前。 これは、レスポンスの取得とリクエストのポスト/送信の必須プロパティです。
- properties(optional): object properties
許可される追加のプロパティ: additionalPropertiesフィールド固有のプロパティ。 publishingDependencyフィールドは、メディアおよび参照に固有です。
- required(optional): boolean
フィールドの必須またはオプションの値。 これは、レスポンスの取得とリクエストのポスト/送信の必須プロパティです。
- settings(optional): object settings
許可される追加のプロパティ: additionalPropertiesフィールド固有の設定。
- valuecount(optional): string
許容値:
[ "single", "list" ]値は単一またはリストとしてカウントされます。 これは、レスポンスの取得とリクエストのポスト/送信の必須プロパティです。
ネストされたスキーマ : defaultValue
型:
objectフィールドのdefaultValue。
ネストされたスキーマ: properties
型:
object使用可能なその他のプロパティ
ソースを表示
フィールド固有のプロパティ。 publishingDependencyフィールドは、メディアおよび参照に固有です。
例:
{caas-translation: {inheritFromMaster: false}, publishingDependency: optional}ネストされたスキーマ: additionalProperties
型:
objectネストされたスキーマ: additionalProperties
型:
objectネストされたスキーマ: Link
型:
objectリソースのリンク。
ソースを表示
- href(optional): string
ターゲット・リソースのURI それはテンプレートURIである可能性があります。 これはレスポンス取得の必須プロパティです。
- mediaType(optional): string
メディア・タイプ。
- method(optional): string
ターゲット・リソースへのアクセスに使用できるHTTPメソッド。
- profile(optional): string
ターゲット・リソースを記述するメタデータにリンクします。
- rel(optional): string
関連タイプ これはレスポンス取得の必須プロパティです。
- templated(optional): boolean
URIがテンプレートであるかどうか。
ネストされたスキーマ : ConnectorInfo
型:
objectConnectorInfo
ソースを表示
- connectorId(optional): string
コネクタのId。
- connectorSyncEnabled(optional): boolean
コネクタの同期ステータス。
ネストされたスキーマ : LayoutMapping
型:
objectLayoutMapping
ソースを表示
- apiName(optional): string
レイアウトの名前。
- formats(optional): object formats
許可される追加のプロパティ: additionalPropertiesレイアウト形式。
- generateRendition(optional): boolean
generateRendition.
- id(optional): integer(int64)
レイアウト・マッピングのID。
- label(optional): string
レイアウト・マッピングのカテゴリの名前です。
ネストされたスキーマ: additionalProperties
型:
objectネストされたスキーマ : TypeRelationships
型:
objectタイプ関連
ソースを表示
- references(optional): array references
一意のアイテムが必要:
true参照タイプ名/ID
ネストされたスキーマ : references
型:
array一意のアイテムが必要:
true参照タイプ名/ID
ソースを表示
- Array of: object TypeReferences
型参照Bean
ネストされたスキーマ : カテゴリ
型:
ソースを表示
object- apiName(optional): string
読取り専用:
true - id(optional): string
- name(optional): string
読取り専用:
true
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
}