スラグによるアイテムの読取り
get
/content/management/api/v1.1/items/.by.slug/{slug}
スラグによってアイテムを読み込みます。
リクエスト
パス・パラメータ
- slug: string
最新の管理アイテムのスラグ値。 slug内の特殊文字はすべてエンコードする必要があります。
問合せパラメータ
- asOf(optional): string
このパラメータは特定のアイテム改訂を記述します。 現在サポートしているのはこの値、つまり最新の公開済バージョンを意味するlatestPublishedのみです。 Urlで渡されるスラグ値は、常に最新の管理アイテムの値にする必要があります。
- asOfDate(optional): string
このパラメータは、アイテム・リビジョンを戻す時点を定義します。 日付文字列のフォーマットは、yyyy-MM-dd'T'HH:mm:ss'Z'またはyyyy-MM-dd'T'HH:mm:ss.SSS'Z'です。 Urlで渡されるスラグ値は、常に最新の管理アイテムの値にする必要があります。
- 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レスポンス
OK。
ルート・スキーマ : アイテム
型:
object識別子:
typeCategory項目
ソースを表示
- 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。
ネストされたスキーマ: User
型:
objectユーザー・オブジェクト
ソースを表示
- displayName(optional): string
読取り専用:
trueユーザーの表示名 - email(optional): string
読取り専用:
trueユーザーの電子メール。 - userID(optional): integer(int64)
読取り専用:
trueユーザーのID。 - userName(optional): string
読取り専用:
trueユーザーの名前
ネストされたスキーマ: fields
型:
object読取り専用:
true使用可能なその他のプロパティ
ソースを表示
ユーザー定義フィールドのデータ。 Map。 タイプ定義に必要なすべてのユーザー定義フィールドは、このプロパティのPUTとPOSTリクエストで指定する必要があります。
ネストされたスキーマ : ItemMetadataInfo
型:
objectItemMetadataInfo
ソースを表示
- exif(optional): object EXIFMetadata
EXIFメタデータ
- links(optional): array links
リンク
- transcripts(optional): object VideoTranscriptMetadata
ビデオ記録Metadata
ネストされたスキーマ : ItemReferenceInfo
型:
objectItemReferenceInfo
ソースを表示
- isAccessible(optional): boolean
アイテムがアクセス可能かどうか。
ネストされたスキーマ : VideoBean
型:
objectVideoBean
ソースを表示
- duration(optional): string
読取り専用:
trueISO 8601形式のビデオの期間。 - isFormatSupported(optional): boolean
読取り専用:
trueビデオ・ファイル形式がサポートされている場合のブール表現。 - playback(optional): object PlaybackBean
PlaybackBean
- processing(optional): object ProcessingBean
ProcessingBean
- strip(optional): object StripBean
StripBean
ネストされたスキーマ : WorkflowField
型:
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)
クライアント・リクエストを満たすローの総数(ページング・パラメータを除く)
ネストされたスキーマ : ChangesInfo
型:
objectChangesInfo
ソースを表示
- links(optional): array links
- source(optional): string
この変更のソースであるこの品目に関連付けられたサブリソース。
- type(optional): string
指定されたソースに対して追跡される変更のタイプ。
- value(optional): boolean
Trueは変更を示します。 Falseは、このソース/タイプに対する現在の変更がないことを示します。
ネストされたスキーマ: Link
型:
objectリソースのリンク。
ソースを表示
- href(optional): string
ターゲット・リソースのURI それはテンプレートURIである可能性があります。 これはレスポンス取得の必須プロパティです。
- mediaType(optional): string
メディア・タイプ。
- method(optional): string
ターゲット・リソースへのアクセスに使用できるHTTPメソッド。
- profile(optional): string
ターゲット・リソースを記述するメタデータにリンクします。
- rel(optional): string
関連タイプ これはレスポンス取得の必須プロパティです。
- templated(optional): boolean
URIがテンプレートであるかどうか。
ネストされたスキーマ : ChannelId
型:
objectChannelId
ソースを表示
- id(optional): string
- isPrimaryChannel(optional): boolean
チャネルがアセットのプライマリかどうかを示します。
- links(optional): array links
リンク
- name(optional): string
ネストされたスキーマ : ConnectorFileInfo
型:
objectConnectorFileInfo
ソースを表示
- connectorId(optional): string
コネクタID。
- id(optional): string
ファイルID
- inUse(optional): boolean
最新バージョンのアセットがファイル・コンテンツを使用しているかどうかを表します。
- version(optional): integer(int32)
ファイルのバージョン
ネストされたスキーマ: additionalProperties
型:
objectネストされたスキーマ : LockInfo
型:
objectLockInfo
ソースを表示
- isLocked(optional): boolean
アイテムがロックされているかどうかを表します。
- lockedBy(optional): string
ユーザーによりロック済
- lockedDate(optional): object date
date
ネストされたスキーマ : EXIFMetadata
型:
objectEXIFメタデータ
ソースを表示
- 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)
クライアント・リクエストを満たすローの総数(ページング・パラメータを除く)
ネストされたスキーマ : VideoTranscriptMetadata
型:
objectビデオ記録Metadata
ソースを表示
- 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)
クライアント・リクエストを満たすローの総数(ページング・パラメータを除く)
ネストされたスキーマ: items
型:
arrayコレクションに含まれる特異なリソース。
ソースを表示
- Array of: object ItemExtractedExifBean
ItemExtractedExifBean
ネストされたスキーマ : ItemExtractedExifBean
型:
objectItemExtractedExifBean
ソースを表示
- 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)のテキスト表現になります。
ネストされたスキーマ : Videotranscript
型:
objectビデオ・トランスクリプト
ソースを表示
- end(optional): string
各トランスクリプト・ノードの終わり。
- id(optional): string
各トランスクリプト・ノードのID。
- links(optional): array links
リンク
- start(optional): string
各トランスクリプト・ノードの開始。
- text(optional): string
各成績証明書ノードのテキスト。
ネストされたスキーマ: Action
型:
objectアクション
ソースを表示
- action(optional): string
許容値:
[ "view", "update", "create", "delete" ]リソースでアクションが許可されています
ネストされたスキーマ : PublishInfo
型:
objectPublishInfo
ソースを表示
- 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
ネストされたスキーマ : referencedBySites
型:
arrayサイトで参照
ソースを表示
- Array of: object ReferencedBySites
ReferencedBySites
ネストされたスキーマ : 参照
型:
object参照
ソースを表示
- id(optional): string
アイテムのId。
- links(optional): array links
- reference(optional): object ItemReferenceInfo
ItemReferenceInfo
ネストされたスキーマ : ReferencedBySites
型:
objectReferencedBySites
ソースを表示
- component(オプション): string
品目の構成部品
- pageId(optional): string
アイテムが追加されたページ
- site(optional): string
アイテムが追加されたサイト
ネストされたスキーマ : ItemSuggestedCategoryInfo
型:
ソースを表示
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)
リポジトリに割り当てられたすべてのタクソノミ間の推奨カテゴリの確率の順序。
ネストされたスキーマ : CategoryNodeBean
型:
ソースを表示
object- apiName(optional): string
カテゴリ・ノードのapiName。
- id(optional): string
カテゴリ・ノードのid。
- name(optional): string
カテゴリ・ノードの名前。
ネストされたスキーマ: Tag
型:
objectTag.
ソースを表示
- language: string
タグの言語。
- links(optional): array links
リンク
- name: string
タグの名前。
ネストされたスキーマ : ItemCategoryInfo
型:
ソースを表示
object- apiName(optional): string
品目に割り当てられたカテゴリのapiName。
- id(optional): string
- links(optional): array links
- name(optional): string
- nodes(optional): array nodes
品目に割り当てられたカテゴリ内のノード。
ネストされたスキーマ : VariationsInfo
型:
objectバリエーション情報。
ソースを表示
- items(optional): array items
コンテンツ・アイテムのバリエーション。
- links(optional): array links
- masterItem(optional): string
マスター・アイテム。
- setId(optional): string
変動セットId。
- varType(optional): string
バリエーション・タイプ名です。
ネストされたスキーマ : 言語
型:
objectLanguageItem
ソースを表示
- id(optional): string
アイテムのId。
- isPublished(optional): boolean
アイテムが公開されたかどうか。
- links(optional): array links
- name(optional): string
アイテムの名前。
- status(optional): string
アイテムのステータス
- value(optional): string
言語値
ネストされたスキーマ : VersionInfo
型:
objectVersionInfo
ソースを表示
- latestVersion(optional): string
最新バージョン
- publishedVersion(optional): string
公開済のバージョン
ネストされたスキーマ : PlaybackBean
型:
objectPlaybackBean
ソースを表示
- adaptiveStreams(optional): object AdaptiveStreamsBean
AdaptiveStreamsBean
ネストされたスキーマ : ProcessingBean
型:
objectProcessingBean
ソースを表示
- progress(optional): string
読取り専用:
trueバックグラウンド・プロセスの進捗。 このフィールドの値は、保留中、成功または失敗のいずれかになります。
ネストされたスキーマ : StripBean
型:
objectStripBean
ソースを表示
- frame(optional): object StripFrameBean
StripFrameBean
ネストされたスキーマ : AdaptiveStreamsBean
型:
objectAdaptiveStreamsBean
ソースを表示
- dash(optional): object PlaybackBean
PlaybackBean
- hls(optional): object PlaybackBean
PlaybackBean
ネストされたスキーマ : StripFrameBean
型:
objectStripFrameBean
ソースを表示
- count(optional): integer(int32)
読取り専用:
trueストリップ・イメージ内のフレーム数。 - height(optional): integer(int32)
読取り専用:
trueストリップ・イメージの高さです。 - width(optional): integer(int32)
読取り専用:
trueストリップ・イメージの幅です。
ネストされたスキーマ : WorkflowInfo
型:
objectWorkflowInfo.
ソースを表示
- 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 -i -X GET -H 'Accept:application/json' 'https://host:port/content/management/api/v1.1/items/.by.slug/{slug}'
例1
スラグのあるアイテムを読み取ります: {slug}.
/content/management/api/v1.1/items/.by.slug/{slug}
レスポンス本文
{
"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": "{slug}",
"repositoryId": "FF3F3EA7B9AA02DAB862BD32428A3162608D14D20E49",
"status":"draft",
"isPublished": false,
"languageIsMaster": true,
"language": "en-US",
"translatable": false,
"version": "0.1",
"fileExtension": "contentItem",
"fields": {
"Test13551747354462": "sample_string1"
},
"variations": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/{slug}/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/{slug}/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"connectorFileInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/{slug}/connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/{slug}/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/{slug}/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/{slug}/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/{slug}/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"tags": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/{slug}/tags",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"taxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/{slug}/taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"suggestedTaxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/{slug}/suggestedTaxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/{slug}",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/{slug}",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/items/.by.slug/{slug}",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
}
]
}
例2
これは、expandパラメータを使用してslug 'content-item-1-type-1'でアイテムを読み取ります。
/content/management/api/v1.1/items/.by.slug/content-item-1-type-1?expand=channels
レスポンス本文
{
"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": "content-item-1-type-1",
"repositoryId": "FC9B60A8EC82EFC6437D498156661572BE4919B95412",
"language": "en-US",
"translatable": true,
"status": "published",
"isPublished": true,
"languageIsMaster": true,
"version": "3",
"fileExtension": "contentItem",
"fields": {
"ct1-field1": "This is my text field value"
},
"tags": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/content-item-1-type-1/tags",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"variations": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/content-item-1-type-1/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/content-item-1-type-1/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"connectorFileInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/content-item-1-type-1/connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"data": [
{
"id": "CHANNELF0641664AF4D3E048F28C1ACEFC4EFCB8B8882300EF6"
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/content-item-1-type-1/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/content-item-1-type-1/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/content-item-1-type-1/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/content-item-1-type-1/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"taxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/content-item-1-type-1/taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"suggestedTaxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/content-item-1-type-1/suggestedTaxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/content-item-1-type-1?expand=channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/content-item-1-type-1?expand=channels",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/items/.by.slug/content-item-1-type-1",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
}
]
}
例3
これにより、アイテムに参照としてコンテンツitem(ciref field)とデジタル・アセット(imagerefフィールド)があるスラグ'content-item-1-type-1'を持つアイテムが読み取られます。
/content/management/api/v1.1/items/.by.slug/content-item-1-type-1
レスポンス本文
{
"id": "CORE74F8CFB889E24CB7834950C155FDC5E4",
"type": "TypeB",
"name": "Item2-typeB",
"description": "",
"typeCategory": "ContentType",
"createdBy": "swebcli.SitesAdmin1.admin",
"createdDate": {
"value": "2019-11-15T07:33:10.603Z",
"timezone": "UTC"
},
"updatedBy": "swebcli.SitesAdmin1.admin",
"updatedDate": {
"value": "2019-11-15T07:33:10.603Z",
"timezone": "UTC"
},
"slug": "1481786098595-item2-typeb",
"repositoryId": "F776676F0BA54386BCBA55FD916A1FAE",
"language": "en-GB",
"translatable": true,
"status": "draft",
"isPublished": false,
"languageIsMaster": true,
"version": "0.1",
"fileExtension": "contentItem",
"fields": {
"ciref": {
"id": "CORE3B5C6BED3C994A6C8C557B107475AE87",
"type": "TypeA",
"typeCategory": "ContentType",
"name": "Item1-typeA",
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/item1-typea",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"imageref": {
"id": "CONTDD682B51E7F447868451BF8A5F45178F",
"type": "DigitalAsset",
"typeCategory": "DigitalAssetType",
"name": "Desert.jpg",
"fileExtension": "jpg",
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/14478684518-desert",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
},
"tags": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786098595-item2-typeb/tags",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"variations": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786098595-item2-typeb/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"versionInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786098595-item2-typeb/versionInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786098595-item2-typeb/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"connectorFileInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786098595-item2-typeb/connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786098595-item2-typeb/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786098595-item2-typeb/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786098595-item2-typeb/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786098595-item2-typeb/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"taxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786098595-item2-typeb/taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"suggestedTaxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786098595-item2-typeb/suggestedTaxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786098595-item2-typeb",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786098595-item2-typeb",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/items/.by.slug/1481786098595-item2-typeb",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
}
],
"currentVersion": "0.1",
"latestVersion": "0.1",
"mimeType": "contentItem",
"fileGroup": "contentItem",
"varSetId": "975E98E4EF4A6F7BE053020012AC93CF"
}
例4
これは、アイテムがDigitalAssetTypeのslug '1481786061865-sample'を持つアイテムを読み取ります。
/content/management/api/v1.1/items/.by.slug/1481786061865-sample
レスポンス本文
{
"id": "CONT4AF34CEC07AD4A56AD7A996F1FB6620B",
"type": "Image",
"typeCategory": "DigitalAssetType",
"name": "Sample.gif",
"description": "",
"createdBy": "ssvrint.cecsadmina",
"createdDate": {
"value": "2021-03-08T12:03:37.362Z",
"timezone": "UTC"
},
"updatedBy": "ssvrint.cecsadmina",
"updatedDate": {
"value": "2021-03-09T08:05:17.760Z",
"timezone": "UTC"
},
"slug": "1481786061865-sample",
"repositoryId": "AE2D5B39266742D1A2ECD142CB46BAD7",
"status": "published",
"isPublished": true,
"language": "en-US",
"translatable": true,
"languageIsMaster": true,
"version": "1",
"fileExtension": "gif",
"scheduled": false,
"tags": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/tags",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"fields": {
"metadata": {
"width": "664",
"height": "360"
},
"size": 42060,
"native": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/native/Sample.gif",
"rel": "self",
"method": "GET",
"mediaType": "image/gif"
}
]
},
"renditions": [
{
"name": "Thumbnail",
"formats": [
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "150",
"height": "81"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/Thumbnail/Sample.gif?format=webp&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
},
{
"format": "jpg",
"size": 4271,
"mimeType": "image/jpeg",
"metadata": {
"width": "150",
"height": "81"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/Thumbnail/Sample.gif?format=jpg&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
}
],
"type": "responsiveimage"
},
{
"name": "Medium",
"formats": [
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "664",
"height": "360"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/Medium/Sample.gif?format=webp&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
},
{
"format": "jpg",
"size": 59856,
"mimeType": "image/jpeg",
"metadata": {
"width": "664",
"height": "360"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/Medium/Sample.gif?format=jpg&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
}
],
"type": "responsiveimage"
},
{
"name": "Large",
"formats": [
{
"format": "jpg",
"size": 0,
"mimeType": "image/jpeg",
"metadata": {
"width": "664",
"height": "360"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/Large/Sample.gif?format=jpg&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "664",
"height": "360"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/Large/Sample.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": "162"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/Small/Sample.gif?format=jpg&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "300",
"height": "162"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/Small/Sample.gif?format=webp&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
}
],
"mimeType": "image/gif",
"fileGroup": "Images",
"fileType": "gif"
},
"variations": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"versionInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/versionInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"lockInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/lockInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"connectorFileInfo": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"taxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"suggestedTaxonomies": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/suggestedTaxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"workflows": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/workflows",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"changes": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT4AF34CEC07AD4A56AD7A996F1FB6620B/changes",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/items/.by.slug/1481786061865-sample",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
}
],
"publishedVersion": "1",
"currentVersion": "1",
"latestVersion": "1",
"mimeType": "image/gif",
"fileGroup": "Images",
"varSetId": "BD0638FFBBBA74E9E053020011ACFAEA",
"permissions": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/permissions",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
}
例5
これは、slug '1481786061865-sample'でアイテムを読み取り、そのアイテムがDigitalAssetTypeであるすべてのサブリソースを展開します。
/content/management/api/v1.1/items/.by.slug/1481786061865-sample?expand=all
レスポンス本文
{
"id": "CONT4AF34CEC07AD4A56AD7A996F1FB6620B",
"type": "Image",
"typeCategory": "DigitalAssetType",
"name": "Sample.gif",
"description": "",
"createdBy": "ssvrint.cecsadmina",
"createdDate": {
"value": "2021-03-08T12:03:37.362Z",
"timezone": "UTC"
},
"updatedBy": "ssvrint.cecsadmina",
"updatedDate": {
"value": "2021-03-09T08:05:17.760Z",
"timezone": "UTC"
},
"slug": "1481786061865-sample",
"repositoryId": "AE2D5B39266742D1A2ECD142CB46BAD7",
"status": "published",
"isPublished": true,
"languageIsMaster": true,
"translatable": false,
"version": "1",
"fileExtension": "gif",
"scheduled": false,
"tags": {
"data": [],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/tags",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"fields": {
"metadata": {
"width": "664",
"height": "360"
},
"size": 42060,
"native": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/native/Sample.gif",
"rel": "self",
"method": "GET",
"mediaType": "image/gif"
}
]
},
"renditions": [
{
"name": "Thumbnail",
"formats": [
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "150",
"height": "81"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/Thumbnail/Sample.gif?format=webp&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
},
{
"format": "jpg",
"size": 4271,
"mimeType": "image/jpeg",
"metadata": {
"width": "150",
"height": "81"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/Thumbnail/Sample.gif?format=jpg&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
}
],
"type": "responsiveimage"
},
{
"name": "Medium",
"formats": [
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "664",
"height": "360"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/Medium/Sample.gif?format=webp&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
},
{
"format": "jpg",
"size": 59856,
"mimeType": "image/jpeg",
"metadata": {
"width": "664",
"height": "360"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/Medium/Sample.gif?format=jpg&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
}
],
"type": "responsiveimage"
},
{
"name": "Large",
"formats": [
{
"format": "jpg",
"size": 0,
"mimeType": "image/jpeg",
"metadata": {
"width": "664",
"height": "360"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/Large/Sample.gif?format=jpg&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "664",
"height": "360"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/Large/Sample.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": "162"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/Small/Sample.gif?format=jpg&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/jpeg"
}
]
},
{
"format": "webp",
"size": 0,
"mimeType": "image/webp",
"metadata": {
"width": "300",
"height": "162"
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/assets/.by.slug/1481786061865-sample/Small/Sample.gif?format=webp&type=responsiveimage",
"rel": "self",
"method": "GET",
"mediaType": "image/webp"
}
]
}
],
"type": "responsiveimage"
}
],
"mimeType": "image/gif",
"fileGroup": "Images",
"fileType": "gif"
},
"variations": {
"data": [
{
"varType": "language",
"masterItem": "CONT4AF34CEC07AD4A56AD7A996F1FB6620B",
"items": [
{
"id": "CONT4AF34CEC07AD4A56AD7A996F1FB6620B",
"name": "Sample.gif",
"value": "und",
"status": "published",
"isPublished": true
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"versionInfo": {
"data": [
{
"latestVersion": "1",
"publishedVersion": "1"
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/versionInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"data": [
{
"channel": "RCHANNELBDB36AEC493D41F3BB50ED2E44EF880B",
"publishedBy": "ssvrint.cecsadmina",
"version": "1",
"publishedDate": {
"value": "2021-03-08T13:43:07.153Z",
"timezone": "UTC"
}
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"lockInfo": {
"data": {
"isLocked": false
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/lockInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"connectorFileInfo": {
"data": {},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"data": [
{
"id": "RCHANNELBDB36AEC493D41F3BB50ED2E44EF880B"
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"data": [
{
"id": "RCHANNELBDB36AEC493D41F3BB50ED2E44EF880B"
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"data": [],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"data": {
"references": [],
"referencedBy": [],
"referencedBySites": []
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"taxonomies": {
"data": [],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"suggestedTaxonomies": {
"data": [],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/suggestedTaxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"workflows": {
"data": [],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/workflows",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"changes": {
"data": [
{
"source": "taxonomies",
"type": "promotion-deleted",
"value": false
},
{
"source": "taxonomies",
"type": "categorization",
"value": false
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/CONT4AF34CEC07AD4A56AD7A996F1FB6620B/changes",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample?expand=all",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample?expand=all",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/items/.by.slug/1481786061865-sample",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
}
],
"publishedVersion": "1",
"currentVersion": "1",
"latestVersion": "1",
"mimeType": "image/gif",
"fileGroup": "Images",
"varSetId": "BD0638FFBBBA74E9E053020011ACFAEA",
"permissions": {
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/items/.by.slug/1481786061865-sample/permissions",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
}
例6
これは、項目をスラグ3000000040002-item-c1とその権限(許可されているアクション)データで読み取ります。 この例では、参照フィールドがアクセス可能でアクセスできない子アイテムを指しています。 明確にするために、この例では、その他すべての空のサブリソースをスキップします。
/content/management/api/v1.1/items/.by.slug/3000000040002-item-c1?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/.by.slug/3000000045000-item-a2",
"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/.by.slug/1481786243912-DigitalAsset_0011_Blog_3_Header_1440x540px",
"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/.by.slug/1481786243902-DigitalAsset_0001_Blog_2_Header_1440x540px",
"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/.by.slug/3000000040002-item-c1?expand=permissions",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "http://<hostname>/content/management/api/v1.1/items/.by.slug/3000000040002-item-c1?expand=permissions",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "http://<hostname>/content/management/api/v1.1/metadata-catalog/items/.by.slug/3000000040002-item-c1",
"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/.by.slug/3000000040002-item-c1/permissions",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
}
例7
これは、展開中にスラグ'file-1481786052389-myText'を含むアイテムを読み取りますが、connectorFileInfoです。
/content/management/api/v1.1/items/.by.slug/file-1481786052389-myText?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/.by.slug/file-1481786052389-myText/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/.by.slug/file-1481786052389-myText/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/.by.slug/file-1481786052389-myText/variations",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"versionInfo": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/.by.slug/file-1481786052389-myText/versionInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishInfo": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/.by.slug/file-1481786052389-myText/publishInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"lockInfo": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/.by.slug/file-1481786052389-myText/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/.by.slug/file-1481786052389-myText/connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"channels": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/.by.slug/file-1481786052389-myText/channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"publishedChannels": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/.by.slug/file-1481786052389-myText/publishedChannels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"collections": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/.by.slug/file-1481786052389-myText/collections",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"relationships": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/.by.slug/file-1481786052389-myText/relationships",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"taxonomies": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/.by.slug/file-1481786052389-myText/taxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"suggestedTaxonomies": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/.by.slug/file-1481786052389-myText/suggestedTaxonomies",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
"workflows": {
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/items/.by.slug/file-1481786052389-myText/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/.by.slug/file-1481786052389-myText?expand=connectorFileInfo",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "http://<hostname>/content/management/api/v1.1/items/.by.slug/file-1481786052389-myText?expand=connectorFileInfo",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "http://<hostname>/content/management/api/v1.1/metadata-catalog/items/.by.slug/file-1481786052389-myText",
"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/.by.slug/file-1481786052389-myText/permissions",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
}
}