Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContentRepository

Class representing the Content Repository resource. Content repositories are containers where content can be stored.

Hierarchy

Index

Constructors

constructor

Properties

Optional _links

_links: Map<string, HalLink>

Optional contentTypes

Content Types enabled on this repository

Optional features

features: string[]

List of features enabled on the content repository, e.g. slots

Optional id

id: string

Unique id generated on creation

Optional itemLocales

itemLocales: string[]

Set of locales that are assigned to this repository

Optional label

label: string

Friendly label for the content repository

Optional name

name: string

Programmatic friendly name which must be unique within a single hub

Optional status

status: Status

Lifecycle status

Methods

Protected performActionWithoutResourceResponse

  • performActionWithoutResourceResponse(name: string, params: any, data: any, method?: POST | PATCH | PUT): Promise<void>

toJSON

  • toJSON(): any

toJson

  • toJson(): any

Object literals

Readonly related

related: object

Resources and actions related to a Content Repository

hub

  • hub(): Promise<Hub>

contentItems

contentItems: object

create

list

contentTypes

contentTypes: object

assign

unassign

  • unassign(contentTypeId: string): Promise<void>

folders

folders: object

create

list

Generated using TypeDoc