すべてのリポジトリのリスト
/content/management/api/v1.1/repositories
リクエスト
- fields(optional): string
このパラメータは、リスト内の各リポジトリで返されるフィールドを制御するために使用します。 このパラメータは、フィールド名または「すべて」のカンマ区切りリストを受け入れます。 これらのフィールドは、リスト内の各リポジトリについて返されます。 すべてのフィールド名で大文字と小文字が区別されるため、問合せに適切なフィールド名を指定する必要があります。 各リポジトリには、標準フィールド(id、name、description、repositoryType、createdBy、createdDate、updatedBy、updatedDate、autoTagEnabled、notReadyEnabled、customDigitalAssetsEnabled、viewAllCollectionsEnabled、roleName)と、追加フィールド(contentTypes、channels、defaultLanguage、languageOptions、taxonomies、workflows、typeWorkflows、connectors、editorialRoles)の両方があります。 fieldsを「すべて」 (大/小文字を区別しない)として指定すると、すべての標準フィールドおよび追加フィールドが返されます。 標準フィールドは常にレスポンスで返され、除外することはできません。 ユーザーは追加のフィールドのみをフィルタ処理できます。 このパラメータは問合せではオプションであり、結果にはレスポンスの標準フィールドのみが表示されます。 問合せで指定されたフィールド名が正しくないか無効な場合は、エラーがスローされます。
例: ?fields=contentTypes,channels,workflows
これにより、すべての標準フィールドとともに、リポジトリごとにcontentTypes、channelsおよびworkflowsの追加フィールドが返されます。
例: ?fields=all
これにより、各リポジトリのすべての標準フィールドとすべての追加フィールドが返されます。
- limit(optional): integer(int32)
このパラメータは、負でない整数を受け入れ、結果のサイズの制御に使用します。デフォルト値:
100 - links(optional): string
このパラメータは、リンク名のカンマ区切りのリストを受け入れます。 デフォルトでは、このパラメータによって、適用可能なすべてのリンクが指定されます。 可能な値は次のとおりです: self, canonical, describedby, first, 最後, prev, next
- offset(optional): integer(int32)
このパラメータは、負でない整数を受け入れ、結果の開始インデックスを制御するために使用します。デフォルト値:
0 - orderBy(optional): string
このパラメータは、結果の順序を制御するために使用します。 この問合せパラメータの値は、fieldName:[asc/desc]の形式に従います。「昇順」は昇順オーダー「説明」が降順を表します。デフォルトの順序は「昇順」です。フィールド名に使用できるフィールドはnameおよびupdatedDateのみです。デフォルト値:
name:asc - q(optional): string
このパラメータは、フィールド値に一致する問合せ式条件を受け入れます。 問合せ条件の値は、{fieldName} {operator} "{fieldValue}"の形式に従います。 現在許可されているfieldNamesは、roleName、repositoryId、repositoryType、customDigitalAssetsEnabledおよびnameのみで、現在許可されている演算子は、nameではmt、その他ではeqのみです。 roleNameフィールドでサポートされている値は次のとおりです: ブラウザ、ビューア、custom、コントリビュータおよびmanager。 この問合せパラメータはオプションであり、指定しない場合、現在のユーザーがアクセスできるすべてのリポジトリがリストされます。 リポジトリの場合、repositoryIdが名前より優先されます。
例:
?q=(roleName eq "manager")
例:
?q=(repositoryType eq "Business")
例:
?q=(type eq "AssetTypename1")
例:
?q=(roleName eq "custom" and customDigitalAssetsEnabled eq "true") - roleName(optional): string
このパラメータは、返されたリポジトリを指定したロール名でフィルタするために使用されます。許容値:
[ "browser", "viewer", "custom", "contributor", "manager" ] - totalResults(optional): boolean
このパラメータは、ブール・フラグを受け入れます。 trueとして指定した場合、返される結果には合計結果数が含まれる必要があります。デフォルト値:
false
レスポンス
- application/json
200レスポンス
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- advancedVideoEnabled(optional): boolean
リポジトリで拡張ビデオが使用可能かどうか。
- autoTagEnabled(optional): boolean
リポジトリに対して自動タグ付けを有効にするかどうか。
- channels(optional): array channels
リポジトリに関連付けられているチャネル。
- configuredLanguages(optional): array configuredLanguages
リポジトリの構成済言語。
- connectors(optional): array connectors
リポジトリに関連付けられたコネクタ。
- contentTypes(optional): array contentTypes
リポジトリに関連付けられているタイプ。
- createdBy(optional): string
リポジトリのcreatedByユーザー。
- createdDate(optional): object date
date
- customDigitalAssetsEnabled(optional): boolean
カスタム・デジタル・アセットがリポジトリに対して有効かどうか。
- defaultLanguage(optional): string
リポジトリのデフォルト言語。 これは、レスポンスの取得とリクエストのポスト/送信の必須プロパティです。
- description(optional): string
リポジトリの説明。
- editorialRoles(optional): array editorialRoles
リポジトリに関連付けられた編集ロール。
- id(optional): string
リポジトリのId。 これはレスポンス取得と送信リクエストの必須プロパティであり、リクエストの転送には必要ありません。
- languageOptions(optional): array languageOptions
リポジトリの言語オプション。
- links(optional): array links
リンク
- name(optional): string
リポジトリの名前。 これは、レスポンスの取得とリクエストのポスト/送信の必須プロパティです。
- notReadyEnabled(optional): boolean
リポジトリに対して準備ができていないアセットが有効になっているかどうか。
- repositoryType(optional): string
許容値:
[ "Standard", "Business" ]リポジトリのタイプ。 標準、ビジネスの値を指定できます。 デフォルト値は標準です。 - roleName(optional): string
リポジトリのユーザー・ロールの名前。
- taxonomies(optional): array taxonomies
リポジトリに関連付けられているタクソノミ。
- typeWorkflows(optional): object TypeWorkflowsBean
TypeWorkflowsBean
- updatedBy(optional): string
リポジトリのupdatedByユーザー。
- updatedDate(optional): object date
date
- viewAllCollectionsEnabled(optional): boolean
すべてのコレクションの表示がリポジトリに対して有効になっているかどうか。
- workflows(optional): array workflows
リポジトリに関連付けられたワークフロー。
array- Array of: object ChannelBeanInRepository
ChannelBeanInRepository
array- Array of: object EditorialRoleId
EditorialRoleId
object- allTypes(optional): object WorkflowsOnAllAssetTypes
すべてのアセット・タイプのワークフロー。
- types(optional): array types
特定のアセット・タイプ。
object- defaultLanguage(optional): string
デフォルト言語。
- id(optional): string
- isPrimaryChannel(optional): boolean
チャネルがアセットのプライマリかどうかを示します。
- isSiteChannel(optional): boolean
チャネルがサイト・チャネルであるかどうかをチェックします。
- isSitePlanChannel(optional): boolean
- links(optional): array links
リンク
- localizationPolicy(optional): string
チャネルのローカリゼーション・ポリシー。
- name(optional): string
- optionalLanguages(optional): array optionalLanguages
オプションの言語。
- primaryChannelSupported(optional): boolean
プライマリ・チャネルがサポートされています。
- requiredLanguages(optional): array requiredLanguages
必須言語。
object- href(optional): string
ターゲット・リソースのURI それはテンプレートURIである可能性があります。 これはレスポンス取得の必須プロパティです。
- mediaType(optional): string
メディア・タイプ。
- method(optional): string
ターゲット・リソースへのアクセスに使用できるHTTPメソッド。
- profile(optional): string
ターゲット・リソースを記述するメタデータにリンクします。
- rel(optional): string
関連タイプ これはレスポンス取得の必須プロパティです。
- templated(optional): boolean
URIがテンプレートであるかどうか。
object- connectorId(optional): string
コネクタのId。 これはレスポンス取得の必須プロパティです。
- connectorName(optional): string
コネクタの名前 これはレスポンス取得の必須プロパティです。
- connectorType(optional): string
コネクタのタイプ。 これはレスポンス取得の必須プロパティです。
- isDigitalContentConnector(optional): boolean
読取り専用:
trueデジタル・アセット・コネクタの場合はTrue、それ以外の場合はfalse - supportedContentTypes(optional): array supportedContentTypes
コネクタのサポートされているコンテンツ・タイプ。
object- name(optional): string
- typeCategory(optional): string
アセット・タイプのtypeCategory。
object- description(optional): string
カスタム編集ロールの説明。
- id: string
カスタム編集ロールのID。
- name(optional): string
カスタム編集ロールの名前。
object- default(optional): array default
手動起動
- required(optional): boolean
必須かどうか。
- startOnCreate(optional): array startOnCreate
作成時に自動開始。
array- Array of: object WorkflowsOnSpecificAssetTypes
特定のアセット・タイプのワークフロー。
object- default(optional): array default
手動起動
- id(optional): string
アセット・タイプのID。
- name(optional): string
アセット・タイプの名前
- required(optional): boolean
必須かどうか。
- startOnCreate(optional): array startOnCreate
作成時に自動開始。
object- id(optional): string
ワークフローのID。
- isEnabled(optional): boolean
OCEでワークフローが有効化または無効化されている場合。これは読取り専用フィールドです。
- name(optional): string
ワークフローの名前。これは読取り専用フィールドです。
304 レスポンス
400レスポンス
403レスポンス
500レスポンス
例
次の例では、cURLを使用してGETリクエストを発行することによってすべてのリポジトリをリストする方法を示しています。
curl -X GET -H 'Accept: application/json' 'https://host:port/content/management/api/v1.1/repositories'
例1
/content/management/api/v1.1/repositories?limit=3&offset=1&totalResults=true&orderBy=name:desc
インデックス1から始まる最初の3使用可能リポジトリには、totalResults値と、レスポンス内のフィールド名の降順が含まれます。
レスポンス本文
{
"hasMore": true,
"offset": 1,
"count": 3,
"limit": 5,
"totalResults": 5,
"items": [
{
"id": "F264EF72737B35991E381047D5B43D87656640771B3C",
"name": "repository4",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-05T13:55:48.589Z",
"timezone": "UTC"
},
"updatedBy": "marketing.INTEGRATION_USER",
"updatedDate": {
"value": "2018-12-12T09:35:48.183Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F264EF72737B35991E381047D5B43D87656640771B3C",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "F88C868812217F87C8B734A5E6FEBB2D4B9F0F86C61F",
"name": "repository3",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:33:25.996Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:33:25.996Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F88C868812217F87C8B734A5E6FEBB2D4B9F0F86C61F",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"name": "repository2",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:33:13.970Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:33:13.971Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=3&orderBy=name:desc&totalResults=true&offset=1",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=3&orderBy=name:desc&totalResults=true&offset=1",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/repositories",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=3&orderBy=name:desc&totalResults=true&offset=0",
"rel": "prev",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=3&orderBy=name:desc&totalResults=true&offset=4",
"rel": "next",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=3&orderBy=name:desc&totalResults=true&offset=0",
"rel": "first",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=3&orderBy=name:desc&totalResults=true&offset=4",
"rel": "last",
"method": "GET",
"mediaType": "application/json"
}
]
}
例2
/content/management/api/v1.1/repositories?limit=3&offset=3&totalResults=true&orderBy=name:desc&fields=channels&roleName=manager
インデックス3から開始して、関連するチャネル・リストを持つ最初の3使用可能リポジトリには、totalResults値、ロール名がマネージャ、レスポンスにフィールド名が降順でリストされます。
レスポンス本文
{
"hasMore": false,
"offset": 3,
"count": 2,
"limit": 5,
"totalResults": 5,
"items": [
{
"id": "FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"name": "repository2",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:33:13.970Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:33:13.971Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"channels": [],
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "F7CBA8C26F272BDDD7287B7A2C8B13D91222986FA281",
"name": "repository1",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:32:52.648Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:32:52.648Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"channels": [
{
"id": "CCB59F44D5015819EBC0F86A2B3133B22638AF433F1E"
}
],
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F7CBA8C26F272BDDD7287B7A2C8B13D91222986FA281",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?totalResults=true&offset=3&limit=3&roleName=manager&orderBy=name:desc&fields=channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?totalResults=true&offset=3&limit=3&roleName=manager&orderBy=name:desc&fields=channels",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/repositories",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?totalResults=true&offset=1&limit=3&roleName=manager&orderBy=name:desc&fields=channels",
"rel": "prev",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?totalResults=true&offset=0&limit=3&roleName=manager&orderBy=name:desc&fields=channels",
"rel": "first",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?totalResults=true&offset=3&limit=3&roleName=manager&orderBy=name:desc&fields=channels",
"rel": "last",
"method": "GET",
"mediaType": "application/json"
}
]
}
例3
/content/management/api/v1.1/repositories?totalResults=trueレスポンスにtotalResults値を含むすべてのリポジトリをリストします。
レスポンス本文
{
"hasMore": false,
"offset": 0,
"count": 3,
"limit": 3,
"totalResults": 3,
"items": [
{
"id": "F88C868812217F87C8B734A5E6FEBB2D4B9F0F86C61F",
"name": "repository3",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:33:25.996Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:33:25.996Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F88C868812217F87C8B734A5E6FEBB2D4B9F0F86C61F",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "F264EF72737B35991E381047D5B43D87656640771B3C",
"name": "repository4",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-05T13:55:48.589Z",
"timezone": "UTC"
},
"updatedBy": "marketing.INTEGRATION_USER",
"updatedDate": {
"value": "2018-12-12T09:35:48.183Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F264EF72737B35991E381047D5B43D87656640771B3C",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "F6B42A1005925F891F56F1D5260AB8745A484FF30ECD",
"name": "repository5",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-05T15:42:05.895Z",
"timezone": "UTC"
},
"updatedBy": "marketing.INTEGRATION_USER",
"updatedDate": {
"value": "2018-12-12T09:35:58.279Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F6B42A1005925F891F56F1D5260AB8745A484FF30ECD",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?totalResults=true",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?totalResults=true",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/repositories",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?offset=0&totalResults=true",
"rel": "first",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?offset=0&totalResults=true",
"rel": "last",
"method": "GET",
"mediaType": "application/json"
}
]
}
例4
/content/management/api/v1.1/repositories?fields=channels,contentTypes
すべてのリポジトリを、各リポジトリに関連付けられているチャネルおよびcontentTypesのリストとともにリストします。
レスポンス本文
{
"hasMore": false,
"offset": 0,
"count": 2,
"limit": 2,
"items": [
{
"id": "F7CBA8C26F272BDDD7287B7A2C8B13D91222986FA281",
"name": "repository1",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:32:52.648Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:32:52.648Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"contentTypes": [
{
"name": "Type1",
"typeCategory": "ContentType"
},
{
"name": "Video",
"typeCategory": "DigitalAssetType"
}
],
"channels": [
{
"id": "CCB59F44D5015819EBC0F86A2B3133B22638AF433F1E"
}
],
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F7CBA8C26F272BDDD7287B7A2C8B13D91222986FA281",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"name": "repository2",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:33:13.970Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:33:13.971Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"contentTypes": [
{
"name": "Type2",
"typeCategory": "ContentType"
},
{
"name": "Video-Plus",
"typeCategory": "DigitalAssetType"
}
],
"channels": [],
"roleName": "manager",
"advancedVideoEnabled": true,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?fields=channels,contentTypes",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?fields=channels,contentTypes",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/repositories",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?fields=channels,contentTypes&offset=0",
"rel": "first",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?fields=channels,contentTypes&offset=0",
"rel": "last",
"method": "GET",
"mediaType": "application/json"
}
]
}
例5
/content/management/api/v1.1/repositories
すべてのリポジトリをリストします。
レスポンス本文
{
"hasMore": false,
"offset": 0,
"count": 2,
"limit": 2,
"items": [
{
"id": "F999DF05B45E1F1715C71EBF2689A54ECEBE3AAC7D95",
"name": "Repo012",
"description": "desc of Repo012",
"repositoryType": "Business",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-11-30T10:39:21.702Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-11-30T10:39:21.702Z",
"timezone": "UTC"
},
"autoTagEnabled": true,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F999DF05B45E1F1715C71EBF2689A54ECEBE3AAC7D95",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "FBE060BD57A8D021B4D7880C794241465EAB4FC12938",
"name": "Repo1",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-11-15T09:49:23.923Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-11-15T09:49:23.923Z",
"timezone": "UTC"
},
"autoTagEnabled": true,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/FBE060BD57A8D021B4D7880C794241465EAB4FC12938",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
]
}
例6
/content/management/api/v1.1/repositories?roleName=viewer
ユーザーが少なくともビューア・ロールを持っているすべてのリポジトリをリストします。
レスポンス本文
{
"hasMore": false,
"offset": 0,
"count": 2,
"limit": 2,
"items": [
{
"id": "F7CBA8C26F272BDDD7287B7A2C8B13D91222986FA281",
"name": "repository1",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:32:52.648Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:32:52.648Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"roleName": "viewer",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/repositories/F7CBA8C26F272BDDD7287B7A2C8B13D91222986FA281",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"name": "repository2",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:33:13.970Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:33:13.971Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?roleName=viewer",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?roleName=viewer",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/repositories",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?roleName=viewer&offset=0",
"rel": "first",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?roleName=viewer&offset=0",
"rel": "last",
"method": "GET",
"mediaType": "application/json"
}
]
}
例7
/content/management/api/v1.1/repositories?fields=channels
各リポジトリに関連付けられたチャネルのリストを含むすべてのリポジトリをリストします。
レスポンス本文
{
"hasMore": true,
"offset": 0,
"count": 2,
"limit": 2,
"items": [
{
"id": "F7CBA8C26F272BDDD7287B7A2C8B13D91222986FA281",
"name": "repository1",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:32:52.648Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:32:52.648Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"channels": [
{
"id": "CCB59F44D5015819EBC0F86A2B3133B22638AF433F1E"
},
{
"id": "CCB40F44D5015819EBC0F86A2B3133B22638AF433A3F"
}
],
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F7CBA8C26F272BDDD7287B7A2C8B13D91222986FA281",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"name": "repository2",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:33:13.970Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:33:13.971Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"channels": [],
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&fields=channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&fields=channels",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/repositories",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&fields=channels&offset=2",
"rel": "next",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&fields=channels&offset=0",
"rel": "first",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&fields=channels&offset=4",
"rel": "last",
"method": "GET",
"mediaType": "application/json"
}
]
}
例8
/content/management/api/v1.1/repositories?fields=channels,workflows
各リポジトリに関連付けられているチャネルおよびワークフローのリストを含むすべてのリポジトリをリストします。
レスポンス本文
{
"hasMore": true,
"offset": 0,
"count": 2,
"limit": 2,
"items": [
{
"id": "F7CBA8C26F272BDDD7287B7A2C8B13D91222986FA281",
"name": "repository1",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:32:52.648Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:32:52.648Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"channels": [
{
"id": "CCB59F44D5015819EBC0F86A2B3133B22638AF433F1E"
},
{
"id": "CCB40F44D5015819EBC0F86A2B3133B22638AF433A3F"
}
],
"workflows": [
{
"id": "D7D268693C094189A6377E805482C991",
"name": "Workflow1",
"isEnabled": true
},
{
"id": "E8D268693C094189A6377E805482C954",
"name": "Workflow2",
"isEnabled": false
}
],
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F7CBA8C26F272BDDD7287B7A2C8B13D91222986FA281",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"name": "repository2",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:33:13.970Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:33:13.971Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"channels": [],
"workflows": [
{
"id": "B7D268693C094189A6377E805484T776",
"name": "Workflow3",
"isEnabled": true
}
],
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&fields=channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&fields=channels",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/repositories",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&fields=channels&offset=2",
"rel": "next",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&fields=channels&offset=0",
"rel": "first",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&fields=channels&offset=4",
"rel": "last",
"method": "GET",
"mediaType": "application/json"
}
]
}
例9
/content/management/api/v1.1/repositories?fields=workflows,typeWorkflows
ワークフローのリストおよび各リポジトリに関連付けられたtypeWorkflowsを持つすべてのリポジトリをリストします。
レスポンス本文
{
"hasMore": true,
"offset": 0,
"count": 2,
"limit": 2,
"items": [
{
"id": "F7CBA8C26F272BDDD7287B7A2C8B13D91222986FA281",
"name": "repository1",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:32:52.648Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:32:52.648Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"workflows": [
{
"id": "D7D268693C094189A6377E805482C991",
"name": "Workflow1",
"isEnabled": true
},
{
"id": "E8D268693C094189A6377E805482C954",
"name": "Workflow2",
"isEnabled": true
},
{
"id": "B8D268693C094189A6377E805482CD65",
"name": "Workflow3",
"isEnabled": true
}
],
"typeWorkflows": {
"allTypes": {
"startOnCreate": [
{
"id": "B8D268693C094189A6377E805482CD65"
}
],
"default": [
{
"id": "D7D268693C094189A6377E805482C991"
}
],
"required": false
},
"types": [
{
"id": "9B8395177F204AF79A6E2A0DD37CF616",
"name": "type1",
"startOnCreate": [
{
"id": "E8D268693C094189A6377E805482C954"
}
],
"default": [
{
"id": "B8D268693C094189A6377E805482CD65"
}
],
"required": false
},
{
"id": "D7E395177F204AF79A6E2A0DD3723F5E",
"name": "type2",
"startOnCreate": [
{
"id": "D7D268693C094189A6377E805482C991"
}
],
"default": [
{
"id": "B8D268693C094189A6377E805482CD65"
}
],
"required": true
}
]
},
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F7CBA8C26F272BDDD7287B7A2C8B13D91222986FA281",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"name": "repository2",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:33:13.970Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:33:13.971Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"workflows": [
{
"id": "B7D268693C094189A6377E805484T776",
"name": "Workflow1",
"isEnabled": true
},
{
"id": "E8D268693C094189A6377E805482C954",
"name": "Workflow2",
"isEnabled": true
}
],
"typeWorkflows": {
"allTypes": {
"startOnCreate": [
{
"id": "E8D268693C094189A6377E805482C954"
}
],
"default": [
{
"id": "B7D268693C094189A6377E805484T776"
}
],
"required": false
},
"types": [
{
"id": "9B8395177F204AF79A6E2A0DD37CF616",
"name": "type1",
"default": [
{
"id": "E8D268693C094189A6377E805482C954"
}
],
"required": true
}
]
},
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&fields=channels",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&fields=channels",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/repositories",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&fields=channels&offset=2",
"rel": "next",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&fields=channels&offset=0",
"rel": "first",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&fields=channels&offset=4",
"rel": "last",
"method": "GET",
"mediaType": "application/json"
}
]
}
例10
/content/management/api/v1.1/repositories?offset=2
インデックス2から始まるすべてのリポジトリを一覧表示します。
レスポンス本文
{
"hasMore": false,
"offset": 2,
"count": 3,
"limit": 5,
"items": [
{
"id": "F88C868812217F87C8B734A5E6FEBB2D4B9F0F86C61F",
"name": "repository3",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:33:25.996Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:33:25.996Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F88C868812217F87C8B734A5E6FEBB2D4B9F0F86C61F",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "F264EF72737B35991E381047D5B43D87656640771B3C",
"name": "repository4",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-05T13:55:48.589Z",
"timezone": "UTC"
},
"updatedBy": "marketing.INTEGRATION_USER",
"updatedDate": {
"value": "2018-12-12T09:35:48.183Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F264EF72737B35991E381047D5B43D87656640771B3C",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "F6B42A1005925F891F56F1D5260AB8745A484FF30ECD",
"name": "repository5",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-05T15:42:05.895Z",
"timezone": "UTC"
},
"updatedBy": "marketing.INTEGRATION_USER",
"updatedDate": {
"value": "2018-12-12T09:35:58.279Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F6B42A1005925F891F56F1D5260AB8745A484FF30ECD",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?offset=2",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?offset=2",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/repositories",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?offset=0",
"rel": "prev",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?offset=0",
"rel": "first",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?offset=2",
"rel": "last",
"method": "GET",
"mediaType": "application/json"
}
]
}
例11
/content/management/api/v1.1/repositories?limit=2
使用可能なすべてのリポジトリから上位2つのリポジトリをリストします。
レスポンス本文
{
"hasMore": true,
"offset": 0,
"count": 2,
"limit": 5,
"items": [
{
"id": "F7CBA8C26F272BDDD7287B7A2C8B13D91222986FA281",
"name": "repository1",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:32:52.648Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:32:52.648Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F7CBA8C26F272BDDD7287B7A2C8B13D91222986FA281",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"name": "repository2",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:33:13.970Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:33:13.971Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/repositories",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&offset=2",
"rel": "next",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&offset=0",
"rel": "first",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&offset=4",
"rel": "last",
"method": "GET",
"mediaType": "application/json"
}
]
}
例12
/content/management/api/v1.1/repositories?fields=contentTypes,editorialRoles&orderBy=updatedDate:desc&limit=1
最後に更新されたリポジトリを、関連付けられているタイプおよびカスタム編集ロールとともにリストします。 ペイロードを独自のデータで置換します。
レスポンス本文
{
"hasMore": true,
"offset": 0,
"count": 1,
"limit": 25,
"items": [
{
"id": "E1F4F961C7224422B0998434E4F4572E",
"name": "repository7",
"description": "repository7 description.",
"repositoryType": "Standard",
"createdBy": "cecuser1",
"createdDate": {
"value": "2022-03-08T06:56:14.877Z",
"timezone": "UTC"
},
"updatedBy": "cecuser1",
"updatedDate": {
"value": "2022-03-08T07:04:23.186Z",
"timezone": "UTC"
},
"autoTagEnabled": true,
"notReadyEnabled": false,
"contentTypes": [
{
"name": "Type1"
},
{
"name": "Image"
}
],
"editorialRoles": [
{
"id": "2C8E850048FB4DB4AAE317FA74751454",
"name": "Custom Editorial Role2"
},
{
"id": "94950193E96940D7980FA8BA47E73491",
"name": "Custom Editorial Role3"
}
],
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/repositories/E1F4F961C7224422B0998434E4F4572E",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "http://<hostname>/content/management/api/v1.1/repositories?limit=1&orderBy=updatedDate:desc&fields=contentTypes,editorialRoles",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "http://<hostname>/content/management/api/v1.1/repositories?limit=1&orderBy=updatedDate:desc&fields=contentTypes,editorialRoles",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "http://<hostname>/content/management/api/v1.1/metadata-catalog/repositories",
"rel": "describedby",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "http://<hostname>/content/management/api/v1.1/repositories?limit=1&orderBy=updatedDate:desc&fields=contentTypes,editorialRoles&offset=1",
"rel": "next",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "http://<hostname>/content/management/api/v1.1/repositories?limit=1&orderBy=updatedDate:desc&fields=contentTypes,editorialRoles&offset=0",
"rel": "first",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "http://<hostname>/content/management/api/v1.1/repositories?limit=1&orderBy=updatedDate:desc&fields=contentTypes,editorialRoles&offset=255",
"rel": "last",
"method": "GET",
"mediaType": "application/json"
}
]
}
例13
/content/management/api/v1.1/repositories?orderBy=name:desc
すべてのリポジトリをフィールド名名の降順にリストします。
レスポンス本文
{
"hasMore": false,
"offset": 0,
"count": 3,
"limit": 3,
"items": [
{
"id": "F88C868812217F87C8B734A5E6FEBB2D4B9F0F86C61F",
"name": "repository3",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:33:25.996Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:33:25.996Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F88C868812217F87C8B734A5E6FEBB2D4B9F0F86C61F",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"name": "repository2",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:33:13.970Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:33:13.971Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/FBA151C99226F139A2063E7272E8D3EF5044613BF3C9",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "F7CBA8C26F272BDDD7287B7A2C8B13D91222986FA281",
"name": "repository1",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-12-12T08:32:52.648Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-12-12T08:32:52.648Z",
"timezone": "UTC"
},
"autoTagEnabled": false,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F7CBA8C26F272BDDD7287B7A2C8B13D91222986FA281",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?orderBy=name:desc",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?orderBy=name:desc",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/repositories",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?offset=0&orderBy=name:desc",
"rel": "first",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?offset=0&orderBy=name:desc",
"rel": "last",
"method": "GET",
"mediaType": "application/json"
}
]
}
例14
/content/management/api/v1.1/repositories?q=repositoryType%20eq%20\"Business\"
レスポンスのビジネス・リポジトリがリストされます。
レスポンス本文
{
"hasMore": true,
"offset": 0,
"count": 2,
"limit": 2,
"items": [
{
"id": "25069CA49A6F42A5A4F4D00A16CEC789",
"name": "0BRepo1",
"description": "A Business repository",
"repositoryType": "Business",
"createdBy": "ssvrint.cecsadmina",
"createdDate": {
"value": "2021-02-04T10:21:12.502Z",
"timezone": "UTC"
},
"updatedBy": "ssvrint.cecsadmina",
"updatedDate": {
"value": "2021-02-09T09:23:30.793Z",
"timezone": "UTC"
},
"autoTagEnabled": true,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/25069CA49A6F42A5A4F4D00A16CEC789",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "4EBE404EEA344E4DA61E00E25900F729",
"name": "0BRepo2",
"description": "A Business repository",
"repositoryType": "Business",
"createdBy": "ssvrint.cecsadmina",
"createdDate": {
"value": "2021-02-04T10:46:47.967Z",
"timezone": "UTC"
},
"updatedBy": "ssvrint.cecsadmina",
"updatedDate": {
"value": "2021-02-04T10:46:47.967Z",
"timezone": "UTC"
},
"autoTagEnabled": true,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/4EBE404EEA344E4DA61E00E25900F729",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&q=repositoryType eq \"Business\"",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&q=repositoryType eq \"Business\"",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/repositories",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&offset=2&q=repositoryType eq \"Business\"",
"rel": "next",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&offset=0&q=repositoryType eq \"Business\"",
"rel": "first",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/repositories?limit=2&offset=28&q=repositoryType eq \"Business\"",
"rel": "last",
"method": "GET",
"mediaType": "application/json"
}
]
}
例15
/content/management/api/v1.1/repositories?q=type eq \"assetType1\"
レスポンスのビジネス・リポジトリがリストされます。
レスポンス本文
{
"hasMore": false,
"offset": 0,
"count": 2,
"limit": 2,
"items": [
{
"id": "F999DF05B45E1F1715C71EBF2689A54ECEBE3AAC7D95",
"name": "Repo012",
"description": "desc of Repo012",
"repositoryType": "Business",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-11-30T10:39:21.702Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-11-30T10:39:21.702Z",
"timezone": "UTC"
},
"autoTagEnabled": true,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/F999DF05B45E1F1715C71EBF2689A54ECEBE3AAC7D95",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "FBE060BD57A8D021B4D7880C794241465EAB4FC12938",
"name": "Repo1",
"description": "",
"repositoryType": "Standard",
"createdBy": "cecusername",
"createdDate": {
"value": "2018-11-15T09:49:23.923Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2018-11-15T09:49:23.923Z",
"timezone": "UTC"
},
"autoTagEnabled": true,
"notReadyEnabled": false,
"roleName": "manager",
"advancedVideoEnabled": false,
"customDigitalAssetsEnabled": true,
"viewAllCollectionsEnabled": true,
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/repositories/FBE060BD57A8D021B4D7880C794241465EAB4FC12938",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
]
}