Home > @uniformdev/canvas > PromptClient

PromptClient class

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

Signature:

Extends: ApiClient

Constructors

<table><thead><tr><th>

Constructor

</th><th>

Modifiers

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

(constructor)(options)

</td><td>

</td><td>

Constructs a new instance of the PromptClient class

</td></tr> </tbody></table>

Methods

<table><thead><tr><th>

Method

</th><th>

Modifiers

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

get(options)

</td><td>

</td><td>

Fetches Prompts for a project

</td></tr> <tr><td>

remove(body)

</td><td>

</td><td>

Deletes a Prompt

</td></tr> <tr><td>

upsert(body)

</td><td>

</td><td>

Updates or creates (based on id) a Prompt

</td></tr> </tbody></table>