younifyd
Menu

Get Content Repository

Get Content Repository

GET/content-repositories/{contentRepositoryId}

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Get Content Repository action (under Content Repositories).
  3. Fill in the fields below, then reference the result from later steps as {{getContentRepository.response.data}}.

Request

Path parameters

contentRepositoryIdstringrequired

Content Repository ID

Response

Returns 200 with an object. Read it in later steps with {{getContentRepository.response.data.<field>}}.

idstring

ID

namestring

Name

labelstring

Name

statusstring

Status (defaults to ACTIVE)

One ofACTIVEDELETED

featuresarray<string>

Features

typestring

Repository Type

One ofCONTENT

contentTypesarray<object>

Content types

hubContentTypeIdstring

Content type Id

contentTypeUristring

Content type URI

itemLocalesarray<string>

Locales

_linksobject

Resource HAL links

selfany
content-repositoryany
updateany
deleteany
hubany
create-content-itemany
search-content-itemsany
facet-content-itemsany
content-itemsany
shareany
assign-content-typeany
unassign-content-typeany
foldersany
create-folderany
featuresany
update-content-itemsany
set-item-localesany
join-localization-groupany
localization-group-localesany
json
{
  "id": "00112233445566778899aabb",
  "name": "inspiration",
  "label": "inspiration",
  "status": "ACTIVE",
  "features": [
    "slots"
  ],
  "type": "CONTENT",
  "contentTypes": [
    {
      "hubContentTypeId": "00112233445566778899aabb",
      "contentTypeUri": "http://example.com/content-type.json"
    }
  ],
  "itemLocales": [
    "en_US"
  ],
  "_links": {
    "self": null,
    "content-repository": null,
    "update": null,
    "delete": null,
    "hub": null,
    "create-content-item": null,
    "search-content-items": null,
    "facet-content-items": null,
    "content-items": null,
    "share": null,
    "assign-content-type": null,
    "unassign-content-type": null
  }
}

Need more? See the Amplience guide for connection setup and behaviour shared by every action.