Read a Repository

get

/content/management/api/v1.1/repositories/{id}

Read a repository.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Root 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.

404 Response

Not found.

500 Response

Internal server error.
Back to Top

Examples

The following example shows how to get the details of a repository based on repository ID by submitting a GET request using cURL.

curl -X GET -H 'Accept: application/json' 'https://host:port/content/management/api/v1.1/repositories/{id}'

Example:

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

Read repository with id: F999DF05B45E1F1715C71EBF2689A54ECEBE3AAC7D95.

Response Body

{
        "id": "F999DF05B45E1F1715C71EBF2689A54ECEBE3AAC7D95",
        "name": "Repo012",
        "description": "desc of Repo012",
        "repositoryType": "Standard",
        "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,
        "contentTypes": [
          {
            "name": "Type1",
            "typeCategory": "ContentType"
          },
          {
            "name": "Type2",
            "typeCategory": "ContentType"
          },
          {
            "name": "Video",
            "typeCategory": "DigitalAssetType"
          },
          {
            "name": "Image",
            "typeCategory": "DigitalAssetType"
          }
        ],
        "channels": [
           {
            "id": "RCHANNELBAD7E5AEDF384006A664BD4DAD9E255F",
            "name": "MaxChannel",
            "isSiteChannel": false,
            "localizationPolicy": "9DC56AA295E86ED0E053F518C40AE7E3",
            "defaultLanguage": "en",
            "requiredLanguages": [
                "en",
                "fr"
            ],
            "optionalLanguages": []
          },
          {
            "id": "CHANNELF7A5C5C38DC4F4408137909520792A4E05729855AD33",
            "name": "BaySideCafe",
            "isSiteChannel": true,
            "localizationPolicy": "9DC56AA295E86ED0E053F518C40AE7E3",
            "defaultLanguage": "en",
            "requiredLanguages": [
                "en",
                "fr"
            ],
            "optionalLanguages": []
          }
        ],
        "workflows": [
          {
            "id": "D7D268693C094189A6377E805482C991",
            "name": "Workflow1",
            "isEnabled": true
          },
          {
            "id": "E8D268693C094189A6377E805482C954",
            "name": "Workflow2",
            "isEnabled": true
          }
        ],
        "typeWorkflows": {
          "allTypes": {
            "startOnCreate": [
              {
                "id": "D7D268693C094189A6377E805482C991"
              }
            ],
            "default": [
              {
                "id": "E8D268693C094189A6377E805482C954"
              }
            ],
            "required": false
          },
          "types": [
            {
              "id": "9B8395177F204AF79A6E2A0DD37CF616",
              "name": "type1",
              "startOnCreate": [
                {
                  "id": "E8D268693C094189A6377E805482C954"
                }
              ],
              "default": [
                {
                  "id": "D7D268693C094189A6377E805482C991"
                }
              ],
              "required": true
            },
            {
              "id": "D7E395177F204AF79A6E2A0DD3723F5E",
              "name": "type2",
              "startOnCreate": [
                {
                  "id": "D7D268693C094189A6377E805482C991"
                }
              ],
              "default": [
                {
                  "id": "E8D268693C094189A6377E805482C954"
                }
              ],
              "required": false
            }
          ]
        },
        "connectors": [
          {
            "connectorId": "10000",
            "connectorName": "Google Drive",
            "connectorType": "content",
            "supportedContentTypes": []
         },
         {
            "connectorId": "20000",
            "connectorName": "LingoTek",
            "connectorType": "translation",
            "supportedContentTypes": []
         },
         {
            "connectorId": "10002",
            "connectorName": "Dropbox",
            "connectorType": "content",
            "supportedContentTypes": []
         }
        ],
        "editorialRoles": [
	        {
	            "id": "2C8E850048FB4DB4AAE317FA74751454",
	            "name": "Custom Editorial Role2"
	        },
	        {
	            "id": "7EFD29110FE041ADAC888CCFAEE2923B",
	            "name": "Custom Editorial Role3"
	        }
        ],
        "defaultLanguage": "en-US",
        "languageOptions": [
          "ar",
          "en-IN"
        ],
        "configuredLanguages": [
          "ar",
          "en-IN",
          "en-US"
        ],
        "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"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/repositories/F999DF05B45E1F1715C71EBF2689A54ECEBE3AAC7D95",
            "rel": "canonical",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/repositories/F999DF05B45E1F1715C71EBF2689A54ECEBE3AAC7D95",
            "rel": "describedby",
            "method": "GET",
            "mediaType": "application/schema+json"
          }
        ]
      }
Back to Top