List All Repositories

get

/content/management/api/v1.1/repositories

List all repositories.

Request

Query Parameters
  • 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.
  • This parameter accepts a non negative integer and is used to control the size of the result.
    Default Value: 100
  • This parameter accepts a non negative integer and is used to control the start index of the result.
    Default Value: 0
  • 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
  • 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")
  • This parameter is used to filter the returned repositories with the given role name.
    Allowed Values: [ "browser", "viewer", "custom", "contributor", "manager" ]
  • This parameter accepts a boolean flag. If specified as true, then the returned result must include the total result count.
    Default Value: false
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Root Schema : Repositories
Type: object
Repositories
Show Source
Nested Schema : aggregationResults
Type: array
Aggregation results.
Show Source
Nested Schema : items
Type: array
Singular resources contained in the collection.
Show Source
Nested Schema : pinned
Type: array
Pinned items. Shows items pinned at the top of search list
Show Source
Nested Schema : AggregationResult
Type: object
Show Source
Nested Schema : Repository
Type: object
Repository
Show Source
Nested Schema : channels
Type: array
Channels associated with the repository.
Show Source
Nested Schema : configuredLanguages
Type: array
Configured Languages of the repository.
Show Source
Nested Schema : connectors
Type: array
Connectors associated with the repository.
Show Source
Nested Schema : contentTypes
Type: array
Types associated with the repository.
Show Source
Nested Schema : date
Type: object
date
Show Source
Nested Schema : editorialRoles
Type: array
Editorial roles associated with the repository.
Show Source
Nested Schema : languageOptions
Type: array
Language options for the repository.
Show Source
Nested Schema : taxonomies
Type: array
Taxonomies associated with the repository.
Show Source
Nested Schema : TypeWorkflowsBean
Type: object
TypeWorkflowsBean
Show Source
Nested Schema : workflows
Type: array
Workflows associated with the repository.
Show Source
Nested Schema : ChannelBeanInRepository
Type: object
ChannelBeanInRepository
Show Source
Nested Schema : optionalLanguages
Type: array
Optional Languages.
Show Source
Nested Schema : requiredLanguages
Type: array
Required Languages.
Show Source
Nested Schema : Connector
Type: object
Connector
Show Source
Nested Schema : supportedContentTypes
Type: array
Supported content types of the connector.
Show Source
Nested Schema : ContentTypeId
Type: object
Show Source
Nested Schema : EditorialRoleId
Type: object
EditorialRoleId
Show Source
Nested Schema : TaxonomyId
Type: object
TaxonomyId
Show Source
Nested Schema : WorkflowsOnAllAssetTypes
Type: object
Workflows on all asset types.
Show Source
Nested Schema : types
Type: array
Specific asset types.
Show Source
Nested Schema : default
Type: array
Manual start.
Show Source
Nested Schema : startOnCreate
Type: array
Automatic start on create.
Show Source
Nested Schema : WorkflowBean
Type: object
WorkflowBean
Show Source
Nested Schema : WorkflowsOnSpecificAssetTypes
Type: object
Workflows on specific asset types.
Show Source
Nested Schema : default
Type: array
Manual start.
Show Source
Nested Schema : startOnCreate
Type: array
Automatic start on create.
Show Source
Nested Schema : WorkflowId
Type: object
WorkflowId
Show Source

304 Response

Not modified.

400 Response

Bad request.

403 Response

Forbidden.

500 Response

Internal server error.
Back to Top

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=true
List 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"
        }
      ]
    }
  ]
}
Back to Top