List All Repositories
/content/management/api/v1.1/repositories
Request
-
fields(optional): string
This parameter is used to control the returned fields in each repository in the list. This parameter accepts a comma-separated list of field names or all. These fields will be returned for each repository in the list. All the field names are case-sensitive, users must provide the correct field names in the query. Each repository has both standard fields (id, name, description, repositoryType, createdBy, createdDate, updatedBy, updatedDate, autoTagEnabled, notReadyEnabled, customDigitalAssetsEnabled, viewAllCollectionsEnabled, roleName) and additional fields (contentTypes, channels, defaultLanguage, languageOptions, taxonomies, workflows, typeWorkflows, connectors, editorialRoles). When fields is specified as all (case-insensitive), all the standard and additional fields are returned. The standard fields are always returned in the response and cannot be filtered out. The user can filter out only the additional fields. This parameter is optional in the query, and by default the result shows only standard fields in the response. Any incorrect or invalid field name given in the query will throw an error.
Example: ?fields=contentTypes,channels,workflows
This returns all standard fields along with the contentTypes, channels, and workflows additional fields for each repository.
Example: ?fields=all
This will return all standard fields and all additional fields for each repository.
-
limit(optional): integer(int32)
This parameter accepts a non negative integer and is used to control the size of the result.Default Value:
100
-
links(optional): string
This parameter accepts a comma-separated list of link names. By default, this parameter gives all the links applicable. Possible values are: self, canonical, describedby, first, last, prev, next
-
offset(optional): integer(int32)
This parameter accepts a non negative integer and is used to control the start index of the result.Default Value:
0
-
orderBy(optional): string
This parameter is used to control order of results. The value of this query parameter follow the format of fieldName:[asc/desc]. asc stands for ascending order desc stands for descending order, default order is asc.The only fields allowed in the field name are name and updatedDate.Default Value:
name:asc
-
q(optional): string
This parameter accepts a query expression condition that matches the field values. The value of query condition follows the format of {fieldName} {operator} "{fieldValue}". The only fieldNames allowed for now are roleName, repositoryId, repositoryType, customDigitalAssetsEnabled and name and only allowed operators for now are mt on name and eq on the others. The supported values for roleName field are: browser, viewer, custom, contributor, and manager. This query param is optional and if not specified it will list all the repositories the current user can access. For repositories, repositoryId will take precedence over name.
Example:
?q=(roleName eq "manager")
Example:
?q=(repositoryType eq "Business")
Example:
?q=(type eq "AssetTypename1")
Example:
?q=(roleName eq "custom" and customDigitalAssetsEnabled eq "true") -
roleName(optional): string
This parameter is used to filter the returned repositories with the given role name.Allowed Values:
[ "browser", "viewer", "custom", "contributor", "manager" ]
-
totalResults(optional): boolean
This parameter accepts a boolean flag. If specified as true, then the returned result must include the total result count.Default Value:
false
Response
- application/json
200 Response
object
-
aggregationResults(optional):
array aggregationResults
Aggregation results.
-
count(optional):
integer(int32)
Total number of records in the current response.
-
hasMore(optional):
boolean
Check whether there are more pages to fetch.
-
items(optional):
array items
Singular resources contained in the collection.
-
limit(optional):
integer(int32)
Actual page size used by the server. This might not be the same as what the client requests.
-
links(optional):
array links
Links of the resource.
-
offset(optional):
integer(int32)
The actual index from which the singular resources are returned.
-
pinned(optional):
array pinned
Pinned items. Shows items pinned at the top of search list
-
scrollId(optional):
string
scrollId if the search resolved to a scroll search.
-
totalResults(optional):
integer(int32)
Total number of rows that satisfy the client request (excluding the paging parameters.)
array
-
Array of:
object Repository
Repository
array
-
Array of:
object Link
Link of the resource.
array
object
-
advancedVideoEnabled(optional):
boolean
Whether advanced video is enabled for the repository.
-
autoTagEnabled(optional):
boolean
Whether auto tagging is enabled for the repository.
-
channels(optional):
array channels
Channels associated with the repository.
-
configuredLanguages(optional):
array configuredLanguages
Configured Languages of the repository.
-
connectors(optional):
array connectors
Connectors associated with the repository.
-
contentTypes(optional):
array contentTypes
Types associated with the repository.
-
createdBy(optional):
string
createdBy user of the Repository.
-
createdDate(optional):
object date
date
-
customDigitalAssetsEnabled(optional):
boolean
Whether custom digital assets is enabled for the repository.
-
defaultLanguage(optional):
string
Default language of the repository. It is a required property in the get response and post/put request.
-
description(optional):
string
Description of the repository.
-
editorialRoles(optional):
array editorialRoles
Editorial roles associated with the repository.
-
id(optional):
string
id of the repository. It is a required property in the get response and put request whereas it is not required in the post request.
-
languageOptions(optional):
array languageOptions
Language options for the repository.
-
links(optional):
array links
Links
-
name(optional):
string
Name of the repository. It is a required property in the get response and post/put request.
-
notReadyEnabled(optional):
boolean
Whether not ready assets are enabled for the repository.
-
repositoryType(optional):
string
Allowed Values:
[ "Standard", "Business" ]
Type of the repository. It can have values Standard, Business. Default value is Standard. -
roleName(optional):
string
Name of the user's role on the repository.
-
taxonomies(optional):
array taxonomies
Taxonomies associated with the repository.
-
typeWorkflows(optional):
object TypeWorkflowsBean
TypeWorkflowsBean
-
updatedBy(optional):
string
updatedBy user of the Repository.
-
updatedDate(optional):
object date
date
-
viewAllCollectionsEnabled(optional):
boolean
Whether view all collections is enabled for the repository.
-
workflows(optional):
array workflows
Workflows associated with the repository.
array
-
Array of:
object ChannelBeanInRepository
ChannelBeanInRepository
array
-
Array of:
object Connector
Connector
array
-
Array of:
object EditorialRoleId
EditorialRoleId
array
-
Array of:
object TaxonomyId
TaxonomyId
object
-
allTypes(optional):
object WorkflowsOnAllAssetTypes
Workflows on all asset types.
-
types(optional):
array types
Specific asset types.
array
-
Array of:
object WorkflowId
WorkflowId
object
-
defaultLanguage(optional):
string
Default Language.
-
id(optional):
string
-
isPrimaryChannel(optional):
boolean
Indicates if channel is primary for an asset.
-
isSiteChannel(optional):
boolean
Checks whether the channel is site channel.
-
isSitePlanChannel(optional):
boolean
-
links(optional):
array links
Links
-
localizationPolicy(optional):
string
The localization policy of the channel.
-
name(optional):
string
-
optionalLanguages(optional):
array optionalLanguages
Optional Languages.
-
primaryChannelSupported(optional):
boolean
Primary channel supported.
-
requiredLanguages(optional):
array requiredLanguages
Required Languages.
object
-
href(optional):
string
The target resource's URI. It could be template URI. It is a required property in the get response.
-
mediaType(optional):
string
Media type.
-
method(optional):
string
What HTTP method can be used to access the target resource.
-
profile(optional):
string
Link to the metadata that describes the target resource.
-
rel(optional):
string
Relation type. It is a required property in the get response.
-
templated(optional):
boolean
Whether the URI is a template.
object
-
connectorId(optional):
string
Id of the connector. It is a required property in the get response.
-
connectorName(optional):
string
Name of the connector. It is a required property in the get response.
-
connectorType(optional):
string
Type of the connector. It is a required property in the get response.
-
isDigitalContentConnector(optional):
boolean
Read Only:
true
True for Digital asset connectors, otherwise false -
supportedContentTypes(optional):
array supportedContentTypes
Supported content types of the connector.
array
object
-
name(optional):
string
-
typeCategory(optional):
string
typeCategory of the asset type.
object
-
description(optional):
string
Description of a custom editorial role.
-
id:
string
ID of a custom editorial role.
-
name(optional):
string
Name of a custom editorial role.
object
-
default(optional):
array default
Manual start.
-
required(optional):
boolean
Required or not.
-
startOnCreate(optional):
array startOnCreate
Automatic start on create.
array
-
Array of:
object WorkflowsOnSpecificAssetTypes
Workflows on specific asset types.
array
-
Array of:
object WorkflowBean
WorkflowBean
array
-
Array of:
object WorkflowBean
WorkflowBean
object
-
id(optional):
string
id of the Workflow.
object
-
default(optional):
array default
Manual start.
-
id(optional):
string
Id of the asset type.
-
name(optional):
string
Name of the asset type.
-
required(optional):
boolean
Required or not.
-
startOnCreate(optional):
array startOnCreate
Automatic start on create.
array
-
Array of:
object WorkflowBean
WorkflowBean
array
-
Array of:
object WorkflowBean
WorkflowBean
object
-
id(optional):
string
id of the Workflow.
-
isEnabled(optional):
boolean
If workflow is enabled or disabled in OCE.This is a read only field.
-
name(optional):
string
Name of the Workflow.This is a read only field.
304 Response
400 Response
403 Response
500 Response
Examples
The following example shows how to list all repositories by submitting a GET request using cURL.
curl -X GET -H 'Accept: application/json' 'https://host:port/content/management/api/v1.1/repositories'
Example 1
/content/management/api/v1.1/repositories?limit=3&offset=1&totalResults=true&orderBy=name:desc
This lists first 3 available repositories starting from index 1, includes totalResults value and in descending order by field-name name in the response.
Response Body
{ "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" } ] }
Example 2
/content/management/api/v1.1/repositories?limit=3&offset=3&totalResults=true&orderBy=name:desc&fields=channels&roleName=manager
This lists first 3 available repositories starting from index 3, with associated channels list, includes totalResults value, rolename is manager and in descending order by field-name name in the response.
Response Body
{ "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" } ] }
Example 3
/content/management/api/v1.1/repositories?totalResults=trueList all repositories including totalResults value in the response.
Response Body
{ "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" } ] }
Example 4
/content/management/api/v1.1/repositories?fields=channels,contentTypes
Lists all repositories of with list of channels and contentTypes associated with each repository.
Response Body
{ "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" } ] }
Example 5
/content/management/api/v1.1/repositories
Lists all repositories.
Response Body
{ "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" } ] } ] }
Example 6
/content/management/api/v1.1/repositories?roleName=viewer
Lists all repositories that user has at least viewer role.
Response Body
{ "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" } ] }
Example 7
/content/management/api/v1.1/repositories?fields=channels
Lists all repositories of with list of channels associated with each repository.
Response Body
{ "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" } ] }
Example 8
/content/management/api/v1.1/repositories?fields=channels,workflows
Lists all repositories with list of channels and workflows associated with each repository.
Response Body
{ "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" } ] }
Example 9
/content/management/api/v1.1/repositories?fields=workflows,typeWorkflows
Lists all repositories with list of workflows and typeWorkflows associated with each repository.
Response Body
{ "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" } ] }
Example 10
/content/management/api/v1.1/repositories?offset=2
Lists all repositories starting from index 2.
Response Body
{ "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" } ] }
Example 11
/content/management/api/v1.1/repositories?limit=2
List top 2 repositories from all the available repositories.
Response Body
{ "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" } ] }
Example 12
/content/management/api/v1.1/repositories?fields=contentTypes,editorialRoles&orderBy=updatedDate:desc&limit=1
Lists the last updated repository with its associated types and custom editorial roles. Replace payload with your own data.
Response Body
{ "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" } ] }
Example 13
/content/management/api/v1.1/repositories?orderBy=name:desc
List all repositories order by field-name name in descending order.
Response Body
{ "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" } ] }
Example 14
/content/management/api/v1.1/repositories?q=repositoryType%20eq%20\"Business\"
This lists Business repositories in the response.
Response Body
{ "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" } ] }
Example 15
/content/management/api/v1.1/repositories?q=type eq \"assetType1\"
This lists Business repositories in the response.
Response Body
{ "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" } ] } ] }