PromptApi

testapi.PromptApi

PromptApi - object-oriented interface

export

Hierarchy

  • BaseAPI

    PromptApi

Constructors

constructor

+ new PromptApi(configuration?: Configuration, basePath?: string, axios?: AxiosInstance): PromptApi

Parameters:

NameType
configuration?Configuration
basePathstring
axiosAxiosInstance

Returns: PromptApi

Inherited from: BaseAPI.constructor

Properties

axios

Protected axios: AxiosInstance

Inherited from: BaseAPI.axios


basePath

Protected basePath: string

Inherited from: BaseAPI.basePath


configuration

Protected configuration: undefined | Configuration

Inherited from: BaseAPI.configuration

Methods

apiV1PromptGet

apiV1PromptGet(skip?: number, take?: number, options?: any): Promise<AxiosResponse<TestPromptDTO[], any>>

throws {RequiredError}

memberof PromptApi

Parameters:

NameType
skip?number
take?number
options?any

Returns: Promise<AxiosResponse<TestPromptDTO[], any>>


apiV1PromptIdDelete

apiV1PromptIdDelete(id: string, options?: any): Promise<AxiosResponse<TestPromptDTO, any>>

throws {RequiredError}

memberof PromptApi

Parameters:

NameType
idstring
options?any

Returns: Promise<AxiosResponse<TestPromptDTO, any>>


apiV1PromptIdGet

apiV1PromptIdGet(id: string, options?: any): Promise<AxiosResponse<TestPromptDTO, any>>

throws {RequiredError}

memberof PromptApi

Parameters:

NameType
idstring
options?any

Returns: Promise<AxiosResponse<TestPromptDTO, any>>


apiV1PromptIdPatch

apiV1PromptIdPatch(id: string, promptPatchDTO?: PromptPatchDTO, options?: any): Promise<AxiosResponse<TestPrompt, any>>

throws {RequiredError}

memberof PromptApi

Parameters:

NameType
idstring
promptPatchDTO?PromptPatchDTO
options?any

Returns: Promise<AxiosResponse<TestPrompt, any>>


apiV1PromptPost

apiV1PromptPost(promptCreateDTO?: PromptCreateDTO, options?: any): Promise<AxiosResponse<TestPrompt, any>>

throws {RequiredError}

memberof PromptApi

Parameters:

NameType
promptCreateDTO?PromptCreateDTO
options?any

Returns: Promise<AxiosResponse<TestPrompt, any>>


apiV1PromptPromptIdVersionsGet

apiV1PromptPromptIdVersionsGet(promptId: string, skip?: number, take?: number, options?: any): Promise<AxiosResponse<PromptVersionDTO[], any>>

throws {RequiredError}

memberof PromptApi

Parameters:

NameType
promptIdstring
skip?number
take?number
options?any

Returns: Promise<AxiosResponse<PromptVersionDTO[], any>>


apiV1PromptPromptIdVersionsPost

apiV1PromptPromptIdVersionsPost(promptId: string, promptVersionCreateDTO?: PromptVersionCreateDTO, options?: any): Promise<AxiosResponse<PromptVersionDTO, any>>

throws {RequiredError}

memberof PromptApi

Parameters:

NameType
promptIdstring
promptVersionCreateDTO?PromptVersionCreateDTO
options?any

Returns: Promise<AxiosResponse<PromptVersionDTO, any>>


apiV1PromptVersionIdGet

apiV1PromptVersionIdGet(id: string, options?: any): Promise<AxiosResponse<PromptVersionDTO, any>>

throws {RequiredError}

memberof PromptApi

Parameters:

NameType
idstring
options?any

Returns: Promise<AxiosResponse<PromptVersionDTO, any>>


apiV1PromptVersionsIdDelete

apiV1PromptVersionsIdDelete(id: string, options?: any): Promise<AxiosResponse<PromptVersionDTO, any>>

throws {RequiredError}

memberof PromptApi

Parameters:

NameType
idstring
options?any

Returns: Promise<AxiosResponse<PromptVersionDTO, any>>

Found a mistake? Let us know.

Enroll in beta

Request invite to our private Beta program for developers to join the waitlist. No spam, we promise.