Home > @uniformdev/canvas > ContentTypeClient

ContentTypeClient class

Management client for content types.

Signature:

Extends: ContentClientBase

Constructors

Constructor

Modifiers

Description

(constructor)(options)

Constructs a new instance of the ContentTypeClient class

Methods

Method

Modifiers

Description

get(args)

Fetches one content type by id (throws ApiClientError(404) if absent).

list(args)

Fetches a list of content types.

remove(args)

Deletes a content type.

save(body, opts)

Creates or updates a content type.