Home > @uniformdev/canvas > EntryDeliveryClient

EntryDeliveryClient class

Read-only delivery client for entries. Hits the edge host with data resources resolved and component _ids stripped. Defaults state to published and bypassCache to false (cached). No write methods by design.

Signature:

Extends: DeliveryClientBase

Constructors

Constructor

Modifiers

Description

(constructor)(options)

Constructs a new instance of the EntryDeliveryClient class

Methods

Method

Modifiers

Description

get(args)

Fetches exactly one entry by id or slug (throws ApiClientError(404) if absent).

list(args)

Fetches a list of entries, optionally filtered.