アイテムの読取り
/content/management/api/v1.1/items/{id}
リクエスト
- id: string
アイテムのId。
- asOf(optional): string
このパラメータは特定のアイテム改訂を記述します。 現在サポートしているのはこの値、つまり最新の公開済バージョンを意味するlatestPublishedのみです。
- asOfDate(optional): string
このパラメータは、アイテム・リビジョンを戻す時点を定義します。 日付文字列のフォーマットは、yyyy-MM-dd'T'HH:mm:ss'Z'またはyyyy-MM-dd'T'HH:mm:ss.SSS'Z'です。
- expand(optional): string
展開パラメータには、品目のレスポンスとともに子リソース(参照品目)をインラインで取得するオプションがあります。 フィールド名または「すべて」のカンマ区切りリストを受け入れます。 すべてのユーザー定義フィールド名にプレフィクスfieldsを付け、その後にピリオド(。)を付ける必要があります。 これらのフィールドが参照タイプである場合、リソースはレスポンス内でデータをインライン展開します。 フィールド名は大文字と小文字を区別します。 expandをallと指定すると(小文字でall)、リクエストされたアイテムの参照タイプのすべてのフィールドが展開されます。 展開が指定されていない場合、アイテム・レスポンスに参照アイテムへのリンクが含まれています。 このフォームの拡張は、1レベルでのみサポートされています。参照されるフィールドの最初のレベル以上で展開するリクエストでは、レスポンスHTTP 400が生成されます。 リクエストされたアイテムのタイプ定義に従ってexpandパラメータに存在しないフィールドが含まれている場合、リソースはHTTP 400を生成します。
例 : expand= fields.field1, fields.field2
field1およびfield2を返します : このアイテムが属するタイプのユーザー定義フィールドの名前。
例 : expand= タクソノミ
このアイテムに割り当てられたすべてのカテゴリを含むタクソノミ・フィールドを返します。
例 : expand= changes
このアイテムに対するカテゴリ化変更に関する情報を含む変更フィールドを返します。
例 : expand= メタデータ
EXIFデータなど、このアイテムの使用可能なメタデータに関する情報を含むメタデータ・フィールドを返します。
例 : expand= metadata.exif
このアイテムで使用可能なEXIFメタデータを戻します。
例 : expand= suggestedTaxonomies
この品目に提示されたすべてのカテゴリを含む提示されたタクソノミ・フィールドを返します。
例 : expand= workflows
このアイテムに関連付けられたワークフローを返します。
例 : expand= 許可
このアイテムに対して許可されているアクションを返します。
例 : expand= チャネル
特定のチャネルでアイテムをプレビューするためのプレビュー・リンクとともに、このアイテムのターゲット・チャネルを返します。
例 : expand= versionInfo
指定されたアイテムのバージョン情報を返します。
例 : expand= publishedChannels
指定されたアイテムのすべての公開済チャネルを返します。
例 : expand= publishInfo
指定されたアイテムの公開情報を返します。
例 : expand= collections
指定されたアイテムのすべてのコレクションを返します。
例 : expand= tags
指定されたアイテムのすべてのタグを返します。
例 : expand= relationships
指定されたアイテムのすべての関係を返します。
例 : expand= 変動
指定されたアイテムのすべてのバリエーションを返します。
例 : expand= lockInfo
指定されたアイテムのロック情報を返します。
例 : expand= connectorFileInfo
指定されたアイテムのConnectorFileInfoを返します。
例 : expand= すべて
このアイテムで使用可能なすべてのフィールドおよびサブ・リソース(権限を除く)を返します。 - links(optional): string
このパラメータは、リンク名のカンマ区切りのリストを受け入れます。 デフォルトでは、このパラメータによって、適用可能なすべてのリンクが指定されます。 可能な値は次のとおりです: self, canonical, describedby
レスポンス
- application/json
200レスポンス
objecttypeCategory- changes(optional): object ItemSubResourceListChangesInfo
アイテムSubResource。
- channels(optional): object ItemSubResourceListChannelId
アイテムSubResource。
- collections(optional): object ItemSubResourceListCollectionId
アイテムSubResource。
- connectorFileInfo(optional): object ItemSubResourceConnectorFileInfo
アイテムSubResource。
- connectorId(optional): string
アイテムのコネクタid。
- connectorSyncEnabled(optional): boolean
アイテムのコネクタ同期使用可能フラグ。
- createdBy(optional): string
作成方法
- createdByUser(optional): object User
ユーザー・オブジェクト
- createdDate(optional): object date
date
- description(optional): string
アイテムの説明
- fields(optional): object fields
読取り専用:
true許可される追加のプロパティ: additionalPropertiesユーザー定義フィールドのデータ。 Map。 タイプ定義に必要なすべてのユーザー定義フィールドは、このプロパティのPUTとPOSTリクエストで指定する必要があります。 - fileExtension(optional): string
ファイルの拡張子。
- id(optional): string
アイテムのId。 これはレスポンス取得と送信リクエストの必須プロパティであり、リクエストの転送には必要ありません。
- isPublished(optional): boolean
アイテムが公開されたかどうか。
- language(optional): string
アイテムの言語。
- languageIsMaster(optional): boolean
アイテムがマスターかどうか。
- links(optional): array links
リンク
- lockInfo(optional): object ItemSubResourceLockInfo
アイテムSubResource。
- metadata(optional): object ItemMetadataInfo
ItemMetadataInfo
- name(optional): string
アイテムの名前。 これは、レスポンスの取得とリクエストのポスト/送信の必須プロパティです。
- permissions(optional): object ItemSubResourceListAction
アイテムSubResource。
- publishedChannels(optional): object ItemSubResourceListChannelId
アイテムSubResource。
- publishInfo(optional): object ItemSubResourceListPublishInfo
アイテムSubResource。
- reference(optional): object ItemReferenceInfo
ItemReferenceInfo
- relationships(optional): object ItemSubResourceRelationships
アイテムSubResource。
- repositoryId(optional): string
アイテムのリポジトリ。 これは、レスポンスの取得とリクエストのポスト/送信の必須プロパティです。
- scheduled(optional): boolean
- slug(optional): string
アイテムのURLスラグ。
- sourceId(optional): string
ソースId。
- status(optional): string
アイテムの現在のステータス。
- suggestedTaxonomies(optional): object ItemSubResourceListSuggestedTaxonomyInfo
アイテムSubResource。
- tags(optional): object ItemSubResourceListTag
アイテムSubResource。
- taxonomies(optional): object ItemSubResourceListTaxonomyInfo
アイテムSubResource。
- translatable(optional): boolean
アイテムが翻訳可能かどうか。
- type(optional): string
タイプの名前。 これは、レスポンスの取得とリクエストのポスト/送信の必須プロパティです。
- typeCategory(optional): string
読取り専用:
true - updatedBy(optional): string
更新者。
- updatedByUser(optional): object User
ユーザー・オブジェクト
- updatedDate(optional): object date
date
- variations(optional): object ItemSubResourceListVariationsInfo
アイテムSubResource。
- version(optional): string
このアイテムの現在のリビジョン・バージョン。
- versionInfo(optional): object ItemSubResourceListVersionInfo
アイテムSubResource。
- video(optional): object VideoBean
VideoBean
- workflowInstances(optional): object WorkflowField
すべてのマップ済ワークフロー・フィールド
- workflows(optional): object ItemSubResourceListWorkflowInfo
アイテムSubResource。
object- displayName(optional): string
読取り専用:
trueユーザーの表示名 - email(optional): string
読取り専用:
trueユーザーの電子メール。 - userID(optional): integer(int64)
読取り専用:
trueユーザーのID。 - userName(optional): string
読取り専用:
trueユーザーの名前
objecttrueobject- exif(optional): object EXIFMetadata
EXIFメタデータ
- links(optional): array links
リンク
- transcripts(optional): object VideoTranscriptMetadata
ビデオ記録Metadata
object- isAccessible(optional): boolean
アイテムがアクセス可能かどうか。
object- duration(optional): string
読取り専用:
trueISO 8601形式のビデオの期間。 - isFormatSupported(optional): boolean
読取り専用:
trueビデオ・ファイル形式がサポートされている場合のブール表現。 - playback(optional): object PlaybackBean
PlaybackBean
- processing(optional): object ProcessingBean
ProcessingBean
- strip(optional): object StripBean
StripBean
object- 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)
クライアント・リクエストを満たすローの総数(ページング・パラメータを除く)
object- links(optional): array links
- source(optional): string
この変更のソースであるこの品目に関連付けられたサブリソース。
- type(optional): string
指定されたソースに対して追跡される変更のタイプ。
- value(optional): boolean
Trueは変更を示します。 Falseは、このソース/タイプに対する現在の変更がないことを示します。
object- href(optional): string
ターゲット・リソースのURI それはテンプレートURIである可能性があります。 これはレスポンス取得の必須プロパティです。
- mediaType(optional): string
メディア・タイプ。
- method(optional): string
ターゲット・リソースへのアクセスに使用できるHTTPメソッド。
- profile(optional): string
ターゲット・リソースを記述するメタデータにリンクします。
- rel(optional): string
関連タイプ これはレスポンス取得の必須プロパティです。
- templated(optional): boolean
URIがテンプレートであるかどうか。
object- id(optional): string
- isPrimaryChannel(optional): boolean
チャネルがアセットのプライマリかどうかを示します。
- links(optional): array links
リンク
- name(optional): string
object- connectorId(optional): string
コネクタID。
- id(optional): string
ファイルID
- inUse(optional): boolean
最新バージョンのアセットがファイル・コンテンツを使用しているかどうかを表します。
- version(optional): integer(int32)
ファイルのバージョン
objectobject- isLocked(optional): boolean
アイテムがロックされているかどうかを表します。
- lockedBy(optional): string
ユーザーによりロック済
- lockedDate(optional): object date
date
object- 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)
クライアント・リクエストを満たすローの総数(ページング・パラメータを除く)
object- 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)
クライアント・リクエストを満たすローの総数(ページング・パラメータを除く)
array- Array of: object ItemExtractedExifBean
ItemExtractedExifBean
object- floatValue(optional): number(float)
EXIFフィールドの浮動小数。 この値は、小数点以下桁数を使用したEXIFフィールド値の数値表現です。
- handle(optional): string
ハンドルまたはEXIFフィールド名。 この値は翻訳できません。
- integerValue(optional): integer(int32)
EXIFフィールドの整数値。 この値は、小数点のないEXIFフィールド値の数値表現です。
- links(optional): array links
リンク
- rawId(optional): string
EXIFフィールドのID。 1つのEXIFフィールドを一意に識別します。
- rawValue(optional): string
未処理のEXIFフィールド値。 この値は、事前定義の値リストまたはテキスト値から数値にできます。
- stringValue(optional): string
EXIFフィールドのテキスト値。 この値は、EXIFフィールド値のテキスト表現になります。
- type(optional): string
EXIFフィールドのデータ型。(日付、整数、浮動小数、文字列)。
- value(optional): string
EXIFフィールドの表示値。 この値は、EXIFフィールドの実際のタイプ値(日付、int、float、string)のテキスト表現になります。
object- end(optional): string
各トランスクリプト・ノードの終わり。
- id(optional): string
各トランスクリプト・ノードのID。
- links(optional): array links
リンク
- start(optional): string
各トランスクリプト・ノードの開始。
- text(optional): string
各成績証明書ノードのテキスト。
object- action(optional): string
許容値:
[ "view", "update", "create", "delete" ]リソースでアクションが許可されています
object- channel (オプション): string
ターゲット名
- links(optional): array links
リンク
- publishedBy(optional): string
パブリッシュしたユーザー
- publishedDate(optional): object date
date
- slug(optional): string
公開スラグ
- version(optional): string
公開済のバージョン
object- id(optional): string
サイト・プランのID。
- links(optional): array links
array- Array of: object ReferencedBySites
ReferencedBySites
object- id(optional): string
アイテムのId。
- links(optional): array links
- reference(optional): object ItemReferenceInfo
ItemReferenceInfo
object- component(オプション): string
品目の構成部品
- pageId(optional): string
アイテムが追加されたページ
- site(optional): string
アイテムが追加されたサイト
object- apiName(optional): string
品目に割り当てられたカテゴリのapiName。
- id(optional): string
- isRejected(optional): boolean
品目の提示カテゴリのステータス。
- links(optional): array links
- name(optional): string
- nodes(optional): array nodes
品目に割り当てられたカテゴリ内のノード。
- order(optional): integer(int32)
リポジトリに割り当てられたすべてのタクソノミ間の推奨カテゴリの確率の順序。
object- apiName(optional): string
カテゴリ・ノードのapiName。
- id(optional): string
カテゴリ・ノードのid。
- name(optional): string
カテゴリ・ノードの名前。
object- language: string
タグの言語。
- links(optional): array links
リンク
- name: string
タグの名前。
object- apiName(optional): string
品目に割り当てられたカテゴリのapiName。
- id(optional): string
- links(optional): array links
- name(optional): string
- nodes(optional): array nodes
品目に割り当てられたカテゴリ内のノード。
object- items(optional): array items
コンテンツ・アイテムのバリエーション。
- links(optional): array links
- masterItem(optional): string
マスター・アイテム。
- setId(optional): string
変動セットId。
- varType(optional): string
バリエーション・タイプ名です。
object- id(optional): string
アイテムのId。
- isPublished(optional): boolean
アイテムが公開されたかどうか。
- links(optional): array links
- name(optional): string
アイテムの名前。
- status(optional): string
アイテムのステータス
- value(optional): string
言語値
object- latestVersion(optional): string
最新バージョン
- publishedVersion(optional): string
公開済のバージョン
object- adaptiveStreams(optional): object AdaptiveStreamsBean
AdaptiveStreamsBean
object- progress(optional): string
読取り専用:
trueバックグラウンド・プロセスの進捗。 このフィールドの値は、保留中、成功または失敗のいずれかになります。
object- frame(optional): object StripFrameBean
StripFrameBean
object- dash(optional): object PlaybackBean
PlaybackBean
- hls(optional): object PlaybackBean
PlaybackBean
object- count(optional): integer(int32)
読取り専用:
trueストリップ・イメージ内のフレーム数。 - height(optional): integer(int32)
読取り専用:
trueストリップ・イメージの高さです。 - width(optional): integer(int32)
読取り専用:
trueストリップ・イメージの幅です。
object- id(optional): string
ワークフローID
- instanceId: string
ワークフロー・インスタンスID。
- isCompleted(optional): boolean
ワークフロー・インスタンスがOICで完了したかどうか。
- links(optional): array links
リンク
- name(optional): string
ワークフロー名
- status(optional): string
ワークフロー・ステータス
- submittedBy(optional): string
ユーザーにより送信済
- submittedDate(optional): object date
date
304 レスポンス
400レスポンス
403レスポンス
404レスポンス
500レスポンス
例
次の例は、cURLを使用したGETリクエストの送信によるIDによるアイテムの取得方法を示しています。
curl -i -X GET -H 'Accept:application/json' 'https://host:port/content/management/api/v1.1/items/{id}'
例1
これはIdのあるアイテムを読み取ります: COREFFFEC388CFD044D8A34D2F8C46EA5786。
/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786
レスポンス本文
{
"id": "COREFFFEC388CFD044D8A34D2F8C46EA5786",
"type": "Type1",
"name": "Item1",
"description": "Item1 description",
"typeCategory": "ContentType",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-11-16T06:19:15.641Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-11-16T06:19:15.641Z",
"timezone": "UTC"
},
"slug": "1481786064272-type1-item1",
"repositoryId": "FF3F3EA7B9AA02DAB862BD32428A3162608D14D20E49",
"status":"draft",
"isPublished": false,
"languageIsMaster": true,
"language": "en-US",
"translatable": false,
"version": "0.1",
"fields": {
"Test13551747354462": "sample_string1"
},
"variations": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"versionInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/versionInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"tags": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/tags",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"taxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"suggestedTaxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/suggestedTaxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"workflows": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/workflows",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"lockInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/lockInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/items/COREFFFEC388CFD044D8A34D2F8C46EA5786",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
}
]
}
例2
これはIdのあるアイテムを読み取ります: CONT83462AACDF024DBD87E69006A71865A0。 アセットに言語がない場合は、言語ノードを返品しないでください。
/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0
レスポンス本文
{
"id": "CONT83462AACDF024DBD87E69006A71865A0",
"type": "Video-Plus",
"typeCategory": "DigitalAssetType",
"name": "SampleVideo1.mp4",
"description": "",
"createdBy": "cecusername",
"createdDate": {
"value": "2020-12-03T08:50:26.615Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2020-12-03T08:53:21.407Z",
"timezone": "UTC"
},
"repositoryId": "E069347C48834D639B7EC16C78CFF36B",
"status": "draft",
"isPublished": false,
"languageIsMaster": true,
"translatable": false,
"version": "0.1",
"fileExtension": "mp4",
"tags": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0/tags",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"fields": {
"metadata": {
"width": "0",
"height": "0"
},
"size": 131,
"native": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/CONT83462AACDF024DBD87E69006A71865A0/native/SampleVideo1.mp4",
"rel": "self",
"method": "GET",
"mediaType": "video/mp4"
}
]
},
"advancedVideoInfo": {
"provider": "kaltura",
"properties": {
"duration": 0,
"videoStripProperties": "",
"extension": "mp4",
"searchText": "",
"name": "SampleVideo1.mp4",
"status": "READY",
"entryId": "1_2s8l54kb",
"endpoint": "https://www.kaltura.com",
"partner": {
"id": "3106343"
},
"player": {
"id": "46283121"
}
}
},
"renditions": [
{
"name": "Thumbnail",
"formats": [
{
"format": "jpg",
"size": 0,
"mimeType": "image/jpeg",
"metadata": {
"width": "0",
"height": "0"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/CONT83462AACDF024DBD87E69006A71865A0/Thumbnail/SampleVideo1.mp4?format=jpg&type=advancedvideo",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
}
],
"type": "advancedvideo"
},
{
"name": "Strip",
"formats": [
{
"format": "jpg",
"size": 0,
"mimeType": "image/jpeg",
"metadata": {
"width": "0",
"height": "0"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/CONT83462AACDF024DBD87E69006A71865A0/Strip/SampleVideo1.mp4?format=jpg&type=advancedvideo",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
}
],
"type": "advancedvideo"
}
],
"mimeType": "video/mp4",
"fileGroup": "Videos",
"fileType": "mp4"
},
"variations": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"versionInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0/versionInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"lockInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0/lockInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"connectorFileInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0/connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"taxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0/taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"suggestedTaxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0/suggestedTaxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"workflows": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0/workflows",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"changes": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0/changes",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"metadata": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0/metadata",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/items/CONT83462AACDF024DBD87E69006A71865A0",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
}
],
"currentVersion": "0.1",
"latestVersion": "0.1",
"mimeType": "video/mp4",
"fileGroup": "Videos",
"varSetId": "B58C73832B50272BE053020011AC9E0B",
"permissions": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT83462AACDF024DBD87E69006A71865A0/permissions",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
}
例3
これは、ワークフロー・データを展開しながら、IDがCORE64196863705C44D69D60782C63D68735のアイテムを読み取ります。
/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786?expand=workflows
レスポンス本文
{
"id": "CORE64196863705C44D69D60782C63D68735",
"type": "contentType1",
"name": "content item-1 type-1",
"description": "This is content item 1 from type 1 description",
"typeCategory": "ContentType",
"createdBy": "service1.cecsadmina",
"createdDate": {
"value": "2019-09-10T22:17:07.216Z",
"timezone": "UTC"
},
"updatedBy": "service1.cecsadmina",
"updatedDate": {
"value": "2019-09-24T22:17:37.264Z",
"timezone": "UTC"
},
"slug": "1481786059321-content-item-1-type-1",
"repositoryId": "FC9B60A8EC82EFC6437D498156661572BE4919B95412",
"language": "en-US",
"translatable": true,
"status": "published",
"isPublished": true,
"languageIsMaster": true,
"version": "3",
"fileExtension": "contentItem",
"tags": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/tags",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"fields": {
"ct1-field1": "This is my text field value"
},
"variations": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"versionInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/versionInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"taxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"lockInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/lockInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"connectorFileInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"workflows": {
"data": [
{
"id": "F6D268693C094189A6377E805482C954",
"instanceId": "450017",
"name": "Workflow1",
"status": "APPROVED",
"submittedBy": "user1",
"submittedDate": {
"value": "2020-03-16T06:19:15.641Z",
"timezone": "UTC"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREB423D3839C634CD485B76C696E58C41F/workflows/450017",
"rel": "status",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "E34268693C094189A6377E805482C532",
"instanceId": "460008",
"name": "Workflow2",
"status": "INREVIEW",
"submittedBy": "user2",
"submittedDate": {
"value": "2020-03-19T06:19:15.641Z",
"timezone": "UTC"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREB423D3839C634CD485B76C696E58C41F/workflows/460008",
"rel": "status",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735?expand=workflows",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735?expand=workflows",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/items/CORE64196863705C44D69D60782C63D68735",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
}
],
"publishedVersion": "3",
"currentVersion": "3",
"latestVersion": "3",
"mimeType": "contentItem",
"fileGroup": "contentItem",
"varSetId": "923B39C43BBEAF73E0532F21C40A0338"
}
}
例4
これは、IDがCORE64196863705C44D69D60782C63D68735のアイテムを読み取り、ロック情報も展開します。
/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786?expand=lockInfo
レスポンス本文
{
"id": "CORE64196863705C44D69D60782C63D68735",
"type": "contentType1",
"name": "content item-1 type-1",
"description": "This is content item 1 from type 1 description",
"typeCategory": "ContentType",
"createdBy": "service1.cecsadmina",
"createdDate": {
"value": "2019-09-10T22:17:07.216Z",
"timezone": "UTC"
},
"updatedBy": "service1.cecsadmina",
"updatedDate": {
"value": "2019-09-24T22:17:37.264Z",
"timezone": "UTC"
},
"slug": "1481786059321-content-item-1-type-1",
"repositoryId": "FC9B60A8EC82EFC6437D498156661572BE4919B95412",
"language": "en-US",
"translatable": true,
"status": "published",
"isPublished": true,
"languageIsMaster": true,
"version": "3",
"fileExtension": "contentItem",
"tags": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/tags",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"fields": {
"ct1-field1": "This is my text field value"
},
"variations": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"versionInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/versionInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"taxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"lockInfo": {
"data": [
{
"status": "locked",
"lockedBy": "user2",
"lockedDate": {
"value": "2020-07-19T06:19:15.641Z",
"timezone": "UTC"
}
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/lockInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"connectorFileInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"workflows": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/workflows",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735?expand=lockInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735?expand=lockInfo",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/items/CORE64196863705C44D69D60782C63D68735",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
}
],
"publishedVersion": "3",
"currentVersion": "3",
"latestVersion": "3",
"mimeType": "contentItem",
"fileGroup": "contentItem",
"varSetId": "923B39C43BBEAF73E0532F21C40A0338"
}
例5
これにより、IDがCORE64196863705C44D69D60782C63D68735のアイテムが読み取られ、タクソノミ・データは拡張されます。
/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786?expand=taxonomies
レスポンス本文
{
"id": "CORE64196863705C44D69D60782C63D68735",
"type": "contentType1",
"name": "content item-1 type-1",
"description": "This is content item 1 from type 1 description",
"typeCategory": "ContentType",
"createdBy": "service1.cecsadmina",
"createdDate": {
"value": "2019-09-10T22:17:07.216Z",
"timezone": "UTC"
},
"updatedBy": "service1.cecsadmina",
"updatedDate": {
"value": "2019-09-24T22:17:37.264Z",
"timezone": "UTC"
},
"slug": "1481786059321-content-item-1-type-1",
"repositoryId": "FC9B60A8EC82EFC6437D498156661572BE4919B95412",
"language": "en-US",
"translatable": true,
"status": "published",
"isPublished": true,
"languageIsMaster": true,
"version": "3",
"fileExtension": "contentItem",
"tags": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/tags",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"fields": {
"ct1-field1": "This is my text field value"
},
"variations": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"versionInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/versionInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"connectorFileInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"taxonomies": {
"data": [
{
"id": "E5358520882A4604A30FA32B143D296B",
"name": "Taxonomy 1",
"shortName": "TX1",
"categories": [
{
"id": "77C9779187A14845B9EE6A0A68DD7F65",
"name": "Category 1.1.1",
"apiName": "unique-category-1.1.1",
"nodes": [
{
"id": "CB2C30666A6A4BB6A169DBB9CBAD1330",
"name": "Category 1",
"apiName": "unique-category-1"
},
{
"id": "3984DC624828416BA91801A1DF30415F",
"name": "Category 1.1",
"apiName": "unique-category-1.1"
},
{
"id": "77C9779187A14845B9EE6A0A68DD7F65",
"name": "Category 1.1.1",
"apiName": "unique-category-1.1.1"
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/taxonomies/E5358520882A4604A30FA32B143D296B/categories/77C9779187A14845B9EE6A0A68DD7F65",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "2A2D474F06534F34A4BBED02C52C3D5C",
"name": "Category 2.2.2",
"nodes": [
{
"id": "CB2C30666A6A4BB6A169DBB9CBAD1330",
"name": "Category 2",
"apiName": "unique-category-2"
},
{
"id": "3984DC624828416BA91801A1DF30415F",
"name": "Category 2.2"
},
{
"id": "2A2D474F06534F34A4BBED02C52C3D5C",
"name": "Category 2.2.2"
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/taxonomies/E5358520882A4604A30FA32B143D296B/categories/2A2D474F06534F34A4BBED02C52C3D5C",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/taxonomies/E5358520882A4604A30FA32B143D296B",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "D1F579BC001D4B2AB5EC083FBED6197B",
"name": "Taxonomy 2",
"shortName": "TX2",
"categories": [
{
"id": "A82B5C4BBC4042C0B5C0334E2243A488",
"name": "Category ABC",
"apiName": "abc-all",
"nodes": [
{
"id": "F48A808636FD47DFB1805E5D30AA586A",
"name": "Category A"
},
{
"id": "A82B5C4BBC4042C0B5C0334E2243A488",
"name": "Category ABC",
"apiName": "abc-all"
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/taxonomies/D1F579BC001D4B2AB5EC083FBED6197B/categories/A82B5C4BBC4042C0B5C0334E2243A488",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/taxonomies/D1F579BC001D4B2AB5EC083FBED6197B",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735?expand=taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735?expand=taxonomies",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/items/CORE64196863705C44D69D60782C63D68735",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
}
],
"publishedVersion": "3",
"currentVersion": "3",
"latestVersion": "3",
"mimeType": "contentItem",
"fileGroup": "contentItem",
"varSetId": "923B39C43BBEAF73E0532F21C40A0338"
}
例6
これは、IDがCORE64196863705C44D69D60782C63D68735のアイテムを読み取り、推奨されるタクソノミ・データも展開します。
/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786?expand=suggestedTaxonomies
レスポンス本文
{
"id": "CORE64196863705C44D69D60782C63D68735",
"type": "contentType1",
"name": "content item-1 type-1",
"description": "This is content item 1 from type 1 description",
"typeCategory": "ContentType",
"createdBy": "service1.cecsadmina",
"createdDate": {
"value": "2019-09-10T22:17:07.216Z",
"timezone": "UTC"
},
"updatedBy": "service1.cecsadmina",
"updatedDate": {
"value": "2019-09-24T22:17:37.264Z",
"timezone": "UTC"
},
"slug": "1481786059321-content-item-1-type-1",
"repositoryId": "FC9B60A8EC82EFC6437D498156661572BE4919B95412",
"language": "en-US",
"translatable": true,
"status": "published",
"isPublished": true,
"languageIsMaster": true,
"version": "3",
"fileExtension": "contentItem",
"tags": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/tags",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"fields": {
"ct1-field1": "This is my text field value"
},
"variations": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"suggestedTaxonomies": {
"data": [
{
"id": "E5358520882A4604A30FA32B143D296B",
"name": "Taxonomy 1",
"shortName": "TX1",
"categories": [
{
"id": "77C9779187A14845B9EE6A0A68DD7F65",
"name": "Category 1.1.1",
"apiName": "unique-category-1.1.1",
"isRejected": false,
"nodes": [
{
"id": "CB2C30666A6A4BB6A169DBB9CBAD1330",
"name": "Category 1",
"apiName": "unique-category-1"
},
{
"id": "3984DC624828416BA91801A1DF30415F",
"name": "Category 1.1",
"apiName": "unique-category-1.1"
},
{
"id": "77C9779187A14845B9EE6A0A68DD7F65",
"name": "Category 1.1.1",
"apiName": "unique-category-1.1.1"
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/taxonomies/E5358520882A4604A30FA32B143D296B/categories/77C9779187A14845B9EE6A0A68DD7F65",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "2A2D474F06534F34A4BBED02C52C3D5C",
"name": "Category 2.2.2",
"isRejected": false,
"nodes": [
{
"id": "CB2C30666A6A4BB6A169DBB9CBAD1330",
"name": "Category 2",
"apiName": "unique-category-2"
},
{
"id": "3984DC624828416BA91801A1DF30415F",
"name": "Category 2.2"
},
{
"id": "2A2D474F06534F34A4BBED02C52C3D5C",
"name": "Category 2.2.2"
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/taxonomies/E5358520882A4604A30FA32B143D296B/categories/2A2D474F06534F34A4BBED02C52C3D5C",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/taxonomies/E5358520882A4604A30FA32B143D296B",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "D1F579BC001D4B2AB5EC083FBED6197B",
"name": "Taxonomy 2",
"shortName": "TX2",
"categories": [
{
"id": "A82B5C4BBC4042C0B5C0334E2243A488",
"name": "Category ABC",
"apiName": "abc-all",
"isRejected": false,
"nodes": [
{
"id": "F48A808636FD47DFB1805E5D30AA586A",
"name": "Category A"
},
{
"id": "A82B5C4BBC4042C0B5C0334E2243A488",
"name": "Category ABC",
"apiName": "abc-all"
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/taxonomies/D1F579BC001D4B2AB5EC083FBED6197B/categories/A82B5C4BBC4042C0B5C0334E2243A488",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/taxonomies/D1F579BC001D4B2AB5EC083FBED6197B",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/suggestedTaxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"workflows": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/workflows",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"lockInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/lockInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"connectorFileInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735/connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735?expand=suggestedTaxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE64196863705C44D69D60782C63D68735?expand=suggestedTaxonomies",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/items/CORE64196863705C44D69D60782C63D68735",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
}
],
"publishedVersion": "3",
"currentVersion": "3",
"latestVersion": "3",
"mimeType": "contentItem",
"fileGroup": "contentItem",
"varSetId": "923B39C43BBEAF73E0532F21C40A0338"
}
例7
これは、IDがCORE55683B68DCFB414F841D3A532B7A4F9Bのアイテムの最新の公開済バージョンを読み取ります。
/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B?asOf=latestPublished
レスポンス本文
{
"id": "CORE55683B68DCFB414F841D3A532B7A4F9B",
"type": "TypeA",
"name": "ItemA",
"description": "ItemA description",
"typeCategory": "ContentType",
"createdBy": "cecusername",
"createdDate": {
"value": "2019-08-23T22:00:43.884Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2019-08-24T00:35:23.266Z",
"timezone": "UTC"
},
"slug": "1481786051292-typea-itema",
"repositoryId": "F3D72E867A49F0D14AD8C128E7977B2F62273958C5BF",
"status": "published",
"isPublished": true,
"languageIsMaster": true,
"language": "en-US",
"translatable": true,
"version": "1",
"fileExtension": "contentItem",
"fields": {
"Test13551817354828": "sample_string_a"
},
"variations": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"versionInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/versionInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"tags": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/tags",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"taxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"workflows": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/workflows",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"lockInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/lockInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"connectorFileInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B?asOf=latestPublished",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B?asOf=latestPublished",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/items/CORE55683B68DCFB414F841D3A532B7A4F9B",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
}
]
}
例8
これは、指定された日付にIDがCORE55683B68DCFB414F841D3A532B7A4F9Bのアイテムのバージョンを読み取ります。
/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B?asOfDate=2019-08-27T07:00:00Z
レスポンス本文
{
"id": "CORE55683B68DCFB414F841D3A532B7A4F9B",
"type": "TypeA",
"name": "ItemA",
"description": "ItemA description",
"typeCategory": "ContentType",
"createdBy": "cecusername",
"createdDate": {
"value": "2019-08-23T22:00:43.884Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2019-08-26T22:24:24.830Z",
"timezone": "UTC"
},
"slug": "1481786051292-typea-itema",
"repositoryId": "F3D72E867A49F0D14AD8C128E7977B2F62273958C5BF",
"status": "draft",
"isPublished": true,
"languageIsMaster": true,
"language": "en-US",
"translatable": true,
"version": "1.1",
"fileExtension": "contentItem",
"fields": {
"Test13551817354828": "sample_string_a"
},
"variations": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"versionInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/versionInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"tags": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/tags",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"taxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B/taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"workflows": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/workflows",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"lockInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/lockInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"connectorFileInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B?asOfDate=2019-08-27T07:00:00Z",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/items/CORE55683B68DCFB414F841D3A532B7A4F9B?asOfDate=2019-08-27T07:00:00Z",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/items/CORE55683B68DCFB414F841D3A532B7A4F9B",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
}
]
}
例9
これにより、ID CORE4FDEB4C45AF34766B8CB88D25BD92D90とその権限(許可されているアクション)データが読み取られます。 この例では、参照フィールドがアクセス可能でアクセスできない子アイテムを指しています。 明確にするために、この例では、その他すべての空のサブリソースをスキップします。
/content/management/api/v1.1/items/CORE4FDEB4C45AF34766B8CB88D25BD92D90?expand=permissions
レスポンス本文
{
"id": "CORE4FDEB4C45AF34766B8CB88D25BD92D90",
"type": "TypeCCC",
"typeCategory": "ContentType",
"name": "Item C1",
"description": "",
"createdBy": "cecusername1",
"createdDate": {
"value": "2021-01-11T19:49:51.358Z",
"timezone": "UTC"
},
"updatedBy": "cecusername2",
"updatedDate": {
"value": "2021-03-18T06:20:53.432Z",
"timezone": "UTC"
},
"slug": "3000000040002-item-c1",
"repositoryId": "6589BF25F2854E6AA928EE7412CBE6AE",
"language": "en-US",
"translatable": true,
"status": "draft",
"isPublished": false,
"languageIsMaster": true,
"version": "0.6",
"fileExtension": "contentItem",
"scheduled": true,
"fields": {
"multi_ref_ccc": [
{
"id": "COREA0B53F00198F4771962526DDF83416C5",
"reference": {
"isAccessible": false
}
},
{
"id": "CORE878A5BEE021849D2A183CF94E64F1D9B",
"type": "TypeAAA",
"typeCategory": "ContentType",
"name": "Item A2",
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CORE878A5BEE021849D2A183CF94E64F1D9B",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
],
"reference": {
"isAccessible": true
}
}
],
"multi_media_ccc": [
{
"id": "CONTBAEF8D6E7C44433FB553BB53D1D0B531",
"type": "Image",
"typeCategory": "DigitalAssetType",
"name": "DigitalAsset_0011_Blog_3_Header_1440x540px.jpg",
"fileExtension": "jpg",
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTBAEF8D6E7C44433FB553BB53D1D0B531",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
],
"reference": {
"isAccessible": true
}
},
{
"id": "CONT90C026CB999E470CAEAFE0F76BB55036",
"type": "Image",
"typeCategory": "DigitalAssetType",
"name": "DigitalAsset_0001_Blog_2_Header_1440x540px.jpg",
"fileExtension": "jpg",
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT90C026CB999E470CAEAFE0F76BB55036",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
],
"reference": {
"isAccessible": true
}
}
],
"txtfield": "c1",
"ref_field_ccc": null
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CORE4FDEB4C45AF34766B8CB88D25BD92D90?expand=permissions",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "http://<hostname>/content/management/api/v1.1/items/CORE4FDEB4C45AF34766B8CB88D25BD92D90?expand=permissions",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "http://<hostname>/content/management/api/v1.1/metadata-catalog/items/CORE4FDEB4C45AF34766B8CB88D25BD92D90",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
}
],
"currentVersion": "0.6",
"latestVersion": "0.6",
"mimeType": "contentItem",
"fileGroup": "contentItem",
"varSetId": "B8A63421064D678DE053A79C6F649374",
"permissions": {
"data": [
{
"action": "view"
},
{
"action": "update"
},
{
"action": "create"
}
],
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CORE4FDEB4C45AF34766B8CB88D25BD92D90/permissions",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
}
例10
これは、channelTokenを使用してIDがCONT3E3AFF31343940768BEBE5461F97A8BCの公開済アイテムを読み取ります: f573b68c764a44f9bae0627140d8b0bdおよびすべてのフィールド・データの展開。 このアセットには言語がありません。
/content/published/api/v1.1/items/CONT3E3AFF31343940768BEBE5461F97A8BC?expand=all&channelToken=f573b68c764a44f9bae0627140d8b0bd
レスポンス本文
{
"id": "CONT3E3AFF31343940768BEBE5461F97A8BC",
"name": "Test522387760830005.jpg",
"description": "",
"typeCategory": "DigitalAssetType",
"translatable": false,
"createdDate": {
"value": "2020-07-03T07:22:31.732Z",
"timezone": "UTC"
},
"updatedDate": {
"value": "2020-07-03T07:22:31.732Z",
"timezone": "UTC"
},
"mimeType": "image/jpeg",
"fileGroup": "Images",
"fields": {
"metadata": {
"width": "5",
"height": "5"
},
"size": 631,
"native": {
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/native/Test522387760830005.jpg?channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
"renditions": [
{
"name": "Thumbnail",
"formats": [
{
"format": "jpg",
"size": 631,
"mimeType": "image/jpeg",
"metadata": {
"width": "5",
"height": "5"
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Thumbnail/Test522387760830005.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "5",
"height": "5"
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Thumbnail/Test522387760830005.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
},
{
"name": "Medium",
"formats": [
{
"format": "jpg",
"size": 631,
"mimeType": "image/jpeg",
"metadata": {
"width": "5",
"height": "5"
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Medium/Test522387760830005.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "5",
"height": "5"
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Medium/Test522387760830005.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
},
{
"name": "Large",
"formats": [
{
"format": "jpg",
"size": 631,
"mimeType": "image/jpeg",
"metadata": {
"width": "5",
"height": "5"
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Large/Test522387760830005.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "5",
"height": "5"
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Large/Test522387760830005.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
},
{
"name": "Small",
"formats": [
{
"format": "jpg",
"size": 631,
"mimeType": "image/jpeg",
"metadata": {
"width": "5",
"height": "5"
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Small/Test522387760830005.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "5",
"height": "5"
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Small/Test522387760830005.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
}
],
"mimeType": "image/jpeg",
"fileType": "jpeg"
},
"taxonomies": {
"items": []
},
"renditions": {
"items": [
{
"apiName": "summary",
"formats": [
{
"format": "desktop",
"links": [
{
"href": "http://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/renditions/summary?format=desktop&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"format": "mobile",
"links": [
{
"href": "http://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/renditions/summary?format=mobile&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"type": "layoutrendition"
}
]
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/items/CONT3E3AFF31343940768BEBE5461F97A8BC?channelToken=f573b68c764a44f9bae0627140d8b0bd&expand=all",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/published/api/v1.1/items/CONT3E3AFF31343940768BEBE5461F97A8BC?channelToken=f573b68c764a44f9bae0627140d8b0bd&expand=all",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/published/api/v1.1/metadata-catalog/items/CONT3E3AFF31343940768BEBE5461F97A8BC?channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
}
]
}
例11
これは、channelTokenを使用してIDがCONT3E3AFF31343940768BEBE5461F97A8BCの公開済アイテムを読み取ります: f573b68c764a44f9bae0627140d8b0bdおよびすべてのフィールド・データの展開。 このアセットには言語が関連付けられています。
/content/published/api/v1.1/items/CONT3E3AFF31343940768BEBE5461F97A8BC?expand=all&channelToken=f573b68c764a44f9bae0627140d8b0bd
レスポンス本文
{
"id": "CONT3E3AFF31343940768BEBE5461F97A8BC",
"type": "DigitalAsset",
"name": "Test522387760830005.jpg",
"description": "",
"typeCategory": "DigitalAssetType",
"language": "en-US",
"translatable": false,
"createdDate": {
"value": "2020-07-03T07:22:31.732Z",
"timezone": "UTC"
},
"updatedDate": {
"value": "2020-07-03T07:22:31.732Z",
"timezone": "UTC"
},
"mimeType": "image/jpeg",
"fileGroup": "Images",
"fields": {
"metadata": {
"width": "5",
"height": "5"
},
"size": 631,
"native": {
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/native/Test522387760830005.jpg?channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
"renditions": [
{
"name": "Thumbnail",
"formats": [
{
"format": "jpg",
"size": 631,
"mimeType": "image/jpeg",
"metadata": {
"width": "5",
"height": "5"
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Thumbnail/Test522387760830005.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "5",
"height": "5"
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Thumbnail/Test522387760830005.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
},
{
"name": "Medium",
"formats": [
{
"format": "jpg",
"size": 631,
"mimeType": "image/jpeg",
"metadata": {
"width": "5",
"height": "5"
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Medium/Test522387760830005.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "5",
"height": "5"
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Medium/Test522387760830005.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
},
{
"name": "Large",
"formats": [
{
"format": "jpg",
"size": 631,
"mimeType": "image/jpeg",
"metadata": {
"width": "5",
"height": "5"
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Large/Test522387760830005.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "5",
"height": "5"
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Large/Test522387760830005.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
},
{
"name": "Small",
"formats": [
{
"format": "jpg",
"size": 631,
"mimeType": "image/jpeg",
"metadata": {
"width": "5",
"height": "5"
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Small/Test522387760830005.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "5",
"height": "5"
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Small/Test522387760830005.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
}
],
"mimeType": "image/jpeg",
"fileType": "jpeg"
},
"taxonomies": {
"items": []
},
"renditions": {
"items": [
{
"apiName": "summary",
"formats": [
{
"format": "desktop",
"links": [
{
"href": "http://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/renditions/summary?format=desktop&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"format": "mobile",
"links": [
{
"href": "http://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/renditions/summary?format=mobile&channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"type": "layoutrendition"
}
]
},
"links": [
{
"href": "https://<hostname>/content/published/api/v1.1/items/CONT3E3AFF31343940768BEBE5461F97A8BC?channelToken=f573b68c764a44f9bae0627140d8b0bd&expand=all",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/published/api/v1.1/items/CONT3E3AFF31343940768BEBE5461F97A8BC?channelToken=f573b68c764a44f9bae0627140d8b0bd&expand=all",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/published/api/v1.1/metadata-catalog/items/CONT3E3AFF31343940768BEBE5461F97A8BC?channelToken=f573b68c764a44f9bae0627140d8b0bd",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
}
]
}
}
例12
これはIdのあるアイテムを読み取ります: CONT2D3016C1EFD54BEABB9A7EC386D9C047およびメタデータの拡張。 アセットに言語がある場合は言語ノードを返します。
/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047
レスポンス本文
{
"id": "CONT2D3016C1EFD54BEABB9A7EC386D9C047",
"type": "DigitalAsset",
"typeCategory": "DigitalAssetType",
"name": "dog_gif.gif",
"description": "",
"createdBy": "ssvrint.cecsadmina",
"createdDate": {
"value": "2021-09-07T18:15:00.397Z",
"timezone": "UTC"
},
"updatedBy": "ssvrint.cecsadmina",
"updatedDate": {
"value": "2021-09-07T18:15:00.397Z",
"timezone": "UTC"
},
"slug": "1481786077160-dog_gif",
"repositoryId": "A2C3E0146C194B2D86BE50D5121DAC03",
"status": "draft",
"isPublished": false,
"language": "en-US",
"languageIsMaster": true,
"translatable": true,
"version": "0.1",
"fileExtension": "gif",
"scheduled": false,
"tags": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047/tags",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"fields": {
"metadata": {
"width": "320",
"height": "234"
},
"size": 1709924,
"native": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT2D3016C1EFD54BEABB9A7EC386D9C047/native/dog_gif.gif",
"rel": "self",
"method": "GET",
"mediaType": "image/gif"
}
]
},
"renditions": [
{
"name": "Thumbnail",
"formats": [
{
"format": "jpg",
"size": 0,
"mimeType": "image/jpeg",
"metadata": {
"width": "150",
"height": "109"
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT2D3016C1EFD54BEABB9A7EC386D9C047/Thumbnail/dog_gif.gif?format=jpg&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "150",
"height": "109"
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT2D3016C1EFD54BEABB9A7EC386D9C047/Thumbnail/dog_gif.gif?format=webp&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
},
{
"name": "Medium",
"formats": [
{
"format": "jpg",
"size": 0,
"mimeType": "image/jpeg",
"metadata": {
"width": "320",
"height": "234"
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT2D3016C1EFD54BEABB9A7EC386D9C047/Medium/dog_gif.gif?format=jpg&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "320",
"height": "234"
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT2D3016C1EFD54BEABB9A7EC386D9C047/Medium/dog_gif.gif?format=webp&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
},
{
"name": "Large",
"formats": [
{
"format": "jpg",
"size": 0,
"mimeType": "image/jpeg",
"metadata": {
"width": "320",
"height": "234"
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT2D3016C1EFD54BEABB9A7EC386D9C047/Large/dog_gif.gif?format=jpg&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "320",
"height": "234"
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT2D3016C1EFD54BEABB9A7EC386D9C047/Large/dog_gif.gif?format=webp&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
},
{
"name": "Small",
"formats": [
{
"format": "jpg",
"size": 0,
"mimeType": "image/jpeg",
"metadata": {
"width": "300",
"height": "219"
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT2D3016C1EFD54BEABB9A7EC386D9C047/Small/dog_gif.gif?format=jpg&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "300",
"height": "219"
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT2D3016C1EFD54BEABB9A7EC386D9C047/Small/dog_gif.gif?format=webp&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
}
],
"mimeType": "image/gif",
"fileGroup": "Images",
"version": "1",
"fileType": "gif"
},
"variations": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"versionInfo": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047/versionInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"lockInfo": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047/lockInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"connectorFileInfo": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047/connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"taxonomies": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047/taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"suggestedTaxonomies": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047/suggestedTaxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"workflows": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047/workflows",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"changes": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047/changes",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"metadata": {
"exif": {
"hasMore": false,
"totalResults": 0,
"items": [],
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047/metadata/exif",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047/metadata",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047?expand=metadata",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047?expand=metadata",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "http://<hostname>/content/management/api/v1.1/metadata-catalog/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
}
],
"currentVersion": "0.1",
"latestVersion": "0.1",
"mimeType": "image/gif",
"fileGroup": "Images",
"varSetId": "CB6CBE6F2D76503BE053020012AC5046",
"permissions": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT2D3016C1EFD54BEABB9A7EC386D9C047/permissions",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
}
例13
これは、チャネル(各チャネルのプレビュー・リンクを含む)を展開しながら、ID COREEE411DB8630B4526AAADC0BC86404CC8のアイテムを読み取ります。
/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8?expand=channels
レスポンス本文
{
"id": "COREEE411DB8630B4526AAADC0BC86404CC8",
"type": "plainType",
"typeCategory": "ContentType",
"name": "exampleChannels",
"description": "",
"createdBy": "user1",
"createdDate": {
"value": "2021-11-29T07:28:33.687Z",
"timezone": "UTC"
},
"updatedBy": "user1",
"updatedDate": {
"value": "2021-11-29T07:28:33.687Z",
"timezone": "UTC"
},
"slug": "3000000065000-example",
"repositoryId": "2F6F9833AEAF44FFB39B5F7E7D379D05",
"language": "en-US",
"translatable": true,
"status": "draft",
"isPublished": false,
"languageIsMaster": true,
"version": "0.1",
"fileExtension": "contentItem",
"scheduled": false,
"tags": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8/tags",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"fields": {
"TestString": "sample_string"
},
"variations": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"versionInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8/versionInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"lockInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8/lockInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"connectorFileInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8/connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"data": [
{
"id": "RCHANNEL4FCFC3FCA6274F5DB11AB187BA598BA8",
"links": [
{
"href": "https://<hostname>/content/preview/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8?channelToken=b2210c4091fa49228290d55ec71327f4",
"rel": "preview",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "RCHANNELE3ED7300011A4035AA66707E6E01B150",
"links": [
{
"href": "https://<hostname>/content/preview/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8?channelToken=2d1902014c8c4a2bb6c172e425eeacd4",
"rel": "preview",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"taxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8/taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"suggestedTaxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8/suggestedTaxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"workflows": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8/workflows",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"changes": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8/changes",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"metadata": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8/metadata",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8?expand=channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8?expand=channels",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/items/COREEE411DB8630B4526AAADC0BC86404CC8",
"rel": "describedby",
"method": "GET",
"mediaType": "application/json"
}
],
"currentVersion": "0.1",
"latestVersion": "0.1",
"mimeType": "contentItem",
"fileGroup": "contentItem",
"varSetId": "D1E96364F7CA51D4E053020013AC8E6F",
"permissions": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/COREEE411DB8630B4526AAADC0BC86404CC8/permissions",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
}
例14
これにより、IDがCONT98FC3D05F1E04E948A345AE03FE9470Aのアイテムが読み取られ、EXIFメタデータも展開されます。
/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A?expand=metadata.exif
レスポンス本文
{
"id": "CONT98FC3D05F1E04E948A345AE03FE9470A",
"type": "Image",
"typeCategory": "DigitalAssetType",
"name": "190913_CodeOneSF2019-59.jpg",
"description": "",
"createdBy": "ssvrint.cecsadmina",
"createdDate": {
"value": "2021-12-23T18:54:19.160Z",
"timezone": "UTC"
},
"updatedBy": "ssvrint.cecsadmina",
"updatedDate": {
"value": "2021-12-23T18:54:19.160Z",
"timezone": "UTC"
},
"slug": "image-1481786131920-190913_codeonesf2019-59",
"repositoryId": "00F823537136446396B720A22AC26226",
"language": "en-US",
"translatable": false,
"status": "draft",
"isPublished": false,
"languageIsMaster": true,
"version": "0.1",
"fileExtension": "jpg",
"scheduled": false,
"tags": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A/tags",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"fields": {
"metadata": {
"width": "4032",
"height": "3024"
},
"size": 1848651,
"native": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT98FC3D05F1E04E948A345AE03FE9470A/native/190913_CodeOneSF2019-59.jpg",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
"renditions": [
{
"name": "Thumbnail",
"formats": [
{
"format": "jpg",
"size": 0,
"mimeType": "image/jpeg",
"metadata": {
"width": "150",
"height": "112"
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT98FC3D05F1E04E948A345AE03FE9470A/Thumbnail/190913_CodeOneSF2019-59.jpg?format=jpg&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "150",
"height": "112"
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT98FC3D05F1E04E948A345AE03FE9470A/Thumbnail/190913_CodeOneSF2019-59.jpg?format=webp&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
},
{
"name": "Medium",
"formats": [
{
"format": "jpg",
"size": 0,
"mimeType": "image/jpeg",
"metadata": {
"width": "1024",
"height": "768"
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT98FC3D05F1E04E948A345AE03FE9470A/Medium/190913_CodeOneSF2019-59.jpg?format=jpg&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "1024",
"height": "768"
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT98FC3D05F1E04E948A345AE03FE9470A/Medium/190913_CodeOneSF2019-59.jpg?format=webp&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
},
{
"name": "Large",
"formats": [
{
"format": "jpg",
"size": 0,
"mimeType": "image/jpeg",
"metadata": {
"width": "2048",
"height": "1536"
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT98FC3D05F1E04E948A345AE03FE9470A/Large/190913_CodeOneSF2019-59.jpg?format=jpg&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "2048",
"height": "1536"
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT98FC3D05F1E04E948A345AE03FE9470A/Large/190913_CodeOneSF2019-59.jpg?format=webp&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
},
{
"name": "Small",
"formats": [
{
"format": "jpg",
"size": 0,
"mimeType": "image/jpeg",
"metadata": {
"width": "300",
"height": "225"
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT98FC3D05F1E04E948A345AE03FE9470A/Small/190913_CodeOneSF2019-59.jpg?format=jpg&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "300",
"height": "225"
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONT98FC3D05F1E04E948A345AE03FE9470A/Small/190913_CodeOneSF2019-59.jpg?format=webp&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
}
],
"mimeType": "image/jpeg",
"fileGroup": "Images",
"fileType": "jpeg"
},
"variations": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"versionInfo": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A/versionInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"lockInfo": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A/lockInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"connectorFileInfo": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A/connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"taxonomies": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A/taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"suggestedTaxonomies": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A/suggestedTaxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"workflows": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A/workflows",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"changes": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A/changes",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"metadata": {
"exif": {
"hasMore": false,
"totalResults": 15,
"items": [
{
"rawId": "37378",
"handle": "Aperture",
"rawValue": "1695994/1000000",
"value": "1.8",
"type": "float",
"floatValue": 1.8
},
{
"rawId": "40961",
"handle": "ColorSpace",
"rawValue": "1",
"value": "sRGB",
"type": "string",
"stringValue": "sRGB"
},
{
"rawId": "36867",
"handle": "DateTimeOriginal",
"rawValue": "2019:09:13 21:25:26",
"value": "2019:09:13 21:25:26",
"type": "string",
"stringValue": "2019:09:13 21:25:26"
},
{
"rawId": "37386",
"handle": "FocalLength",
"rawValue": "17/4",
"value": "4.25",
"type": "float",
"floatValue": 4.25
},
{
"rawId": "34855",
"handle": "ISOSpeedRatings",
"rawValue": "800",
"value": "800",
"type": "int",
"integerValue": 800
},
{
"rawId": "257",
"handle": "ImageLength",
"rawValue": "3024",
"value": "3024",
"type": "int",
"integerValue": 3024
},
{
"rawId": "256",
"handle": "ImageWidth",
"rawValue": "4032",
"value": "4032",
"type": "int",
"integerValue": 4032
},
{
"rawId": "271",
"handle": "Make",
"rawValue": "Apple",
"value": "Apple",
"type": "string",
"stringValue": "Apple"
},
{
"rawId": "37383",
"handle": "MeteringMode",
"rawValue": "5",
"value": "Multi-segment",
"type": "string",
"stringValue": "Multi-segment"
},
{
"rawId": "272",
"handle": "Model",
"rawValue": "iPhone XS",
"value": "iPhone XS",
"type": "string",
"stringValue": "iPhone XS"
},
{
"rawId": "274",
"handle": "Orientation",
"rawValue": "1",
"value": "Horizontal (normal)",
"type": "string",
"stringValue": "Horizontal (normal)"
},
{
"rawId": "296",
"handle": "ResolutionUnit",
"rawValue": "2",
"value": "inches",
"type": "string",
"stringValue": "inches"
},
{
"rawId": "37377",
"handle": "ShutterSpeedValue",
"rawValue": "4906891/1000000",
"value": "1/30",
"type": "string",
"stringValue": "1/30"
},
{
"rawId": "282",
"handle": "XResolution",
"rawValue": "2400000/10000",
"value": "240.0",
"type": "float",
"floatValue": 240.0
},
{
"rawId": "283",
"handle": "YResolution",
"rawValue": "2400000/10000",
"value": "240.0",
"type": "float",
"floatValue": 240.0
}
],
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A/metadata/exif",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A/metadata",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A?expand=metadata.exif",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A?expand=metadata.exif",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "http://<hostname>/content/management/api/v1.1/metadata-catalog/items/CONT98FC3D05F1E04E948A345AE03FE9470A",
"rel": "describedby",
"method": "GET",
"mediaType": "application/json"
}
],
"currentVersion": "0.1",
"latestVersion": "0.1",
"mimeType": "image/jpeg",
"fileGroup": "Images",
"varSetId": "D3D5C40B9F3312DDE053020012AC15EA",
"permissions": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONT98FC3D05F1E04E948A345AE03FE9470A/permissions",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
}
例15
これにより、IDがCONTD84FF07335854BB88ADDBFDACB17E26Fのアイテムが読み取られ、connectorFileInfoも展開されます。
/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F?expand=connectorFileInfo
レスポンス本文
{
"id": "CONTD84FF07335854BB88ADDBFDACB17E26F",
"type": "File",
"typeCategory": "DigitalAssetType",
"name": "myText.rtf",
"description": "",
"createdBy": "ssvrint.cecsadmina",
"createdDate": {
"value": "2022-02-25T20:58:09.084Z",
"timezone": "UTC"
},
"updatedBy": "ssvrint.cecsadmina",
"updatedDate": {
"value": "2022-02-25T20:59:53.929Z",
"timezone": "UTC"
},
"slug": "file-1481786052389-myText",
"repositoryId": "7D265022BADA428DAA20C4F0F8F1465C",
"language": "en-US",
"translatable": false,
"status": "draft",
"isPublished": false,
"languageIsMaster": true,
"version": "0.2",
"fileExtension": "rtf",
"scheduled": false,
"tags": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F/tags",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"fields": {
"metadata": {
"width": "-1",
"height": "-1"
},
"size": 368,
"native": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/assets/CONTD84FF07335854BB88ADDBFDACB17E26F/native/myText.rtf",
"rel": "self",
"method": "GET",
"mediaType": "application/rtf"
}
]
},
"renditions": [],
"mimeType": "application/rtf",
"fileGroup": "Documents",
"fileType": "rtf"
},
"variations": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"versionInfo": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F/versionInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"lockInfo": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F/lockInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"connectorFileInfo": {
"data": {
"connectorId": "Documents",
"id": "D24E0B382A99E3514A285460810C1EC8749555FF2EE0",
"version": 2,
"inUse": true
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F/connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"taxonomies": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F/taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"suggestedTaxonomies": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F/suggestedTaxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"workflows": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F/workflows",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"changes": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F/changes",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"metadata": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F/metadata",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F?expand=connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F?expand=connectorFileInfo",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "http://<hostname>/content/management/api/v1.1/metadata-catalog/items/CONTD84FF07335854BB88ADDBFDACB17E26F",
"rel": "describedby",
"method": "GET",
"mediaType": "application/json"
}
],
"currentVersion": "0.2",
"latestVersion": "0.2",
"mimeType": "application/rtf",
"fileGroup": "Documents",
"varSetId": "D8DEF4C375224B87E053020013ACC6C7",
"connectorId": "Documents",
"permissions": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/CONTD84FF07335854BB88ADDBFDACB17E26F/permissions",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
}
}
]
}