Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContentType

Class representing the Content Type resource. Content types are JSON schemas that define a type of content to be created, including its structure, format and validation rules.

Hierarchy

Index

Constructors

constructor

Properties

Optional _links

_links: Map<string, HalLink>

Optional contentTypeUri

contentTypeUri: string

URI that describes where to locate the JSON schema definition for this content type

Optional id

id: string

Unique id generated on creation

Optional settings

Object containing display settings for the content type

status

status: Status

Lifecycle status of the content type

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 ContentType

archive

unarchive

update

contentTypeSchema

contentTypeSchema: object

get

update

Generated using TypeDoc