Home > @uniformdev/canvas > PromptClient

PromptClient class

Warning: This API is now obsolete.

This client is deprecated and will be removed in a future release.

API client for the Prompts API.

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