Home > @uniformdev/canvas > PromptClient

PromptClient class

API client to make comms with the Next Gen Mesh Data Source API simpler

Signature:

Extends: ApiClient

Constructors

Constructor

Modifiers

Description

(constructor)(options)

Constructs a new instance of the PromptClient class

Methods

Method

Modifiers

Description

get(options)

Fetches Prompts for a project

remove(body)

Deletes a Prompt

upsert(body)

Updates or creates (based on id) a Prompt