Menu
Create Content Repository
Create Content Repository
POST
/hubs/{hubId}/content-repositoriesUse it in a workflow
- Add a step and choose the Amplience connector.
- Pick the Create Content Repository action (under Content Repositories).
- Fill in the fields below, then reference the result from later steps as
{{createContentRepository.response.data}}.
Request
Path parameters
Response
Returns 201 with an object. Read it in later steps with {{createContentRepository.response.data.<field>}}.
{
"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.
Was this page helpful?