PromptApi
testapi.PromptApi
PromptApi - object-oriented interface
export
Hierarchy
BaseAPI
↳ PromptApi
Constructors
constructor
+ new PromptApi(configuration?
: Configuration, basePath?
: string, axios?
: AxiosInstance): PromptApi
Parameters:
Name | Type |
---|---|
configuration? | Configuration |
basePath | string |
axios | AxiosInstance |
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:
Name | Type |
---|---|
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:
Name | Type |
---|---|
id | string |
options? | any |
Returns: Promise<AxiosResponse<TestPromptDTO, any>>
apiV1PromptIdGet
▸ apiV1PromptIdGet(id
: string, options?
: any): Promise<AxiosResponse<TestPromptDTO, any>>
throws
{RequiredError}
memberof
PromptApi
Parameters:
Name | Type |
---|---|
id | string |
options? | any |
Returns: Promise<AxiosResponse<TestPromptDTO, any>>
apiV1PromptIdPatch
▸ apiV1PromptIdPatch(id
: string, promptPatchDTO?
: PromptPatchDTO, options?
: any): Promise<AxiosResponse<TestPrompt, any>>
throws
{RequiredError}
memberof
PromptApi
Parameters:
Name | Type |
---|---|
id | string |
promptPatchDTO? | PromptPatchDTO |
options? | any |
Returns: Promise<AxiosResponse<TestPrompt, any>>
apiV1PromptPost
▸ apiV1PromptPost(promptCreateDTO?
: PromptCreateDTO, options?
: any): Promise<AxiosResponse<TestPrompt, any>>
throws
{RequiredError}
memberof
PromptApi
Parameters:
Name | Type |
---|---|
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:
Name | Type |
---|---|
promptId | string |
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:
Name | Type |
---|---|
promptId | string |
promptVersionCreateDTO? | PromptVersionCreateDTO |
options? | any |
Returns: Promise<AxiosResponse<PromptVersionDTO, any>>
apiV1PromptVersionIdGet
▸ apiV1PromptVersionIdGet(id
: string, options?
: any): Promise<AxiosResponse<PromptVersionDTO, any>>
throws
{RequiredError}
memberof
PromptApi
Parameters:
Name | Type |
---|---|
id | string |
options? | any |
Returns: Promise<AxiosResponse<PromptVersionDTO, any>>
apiV1PromptVersionsIdDelete
▸ apiV1PromptVersionsIdDelete(id
: string, options?
: any): Promise<AxiosResponse<PromptVersionDTO, any>>
throws
{RequiredError}
memberof
PromptApi
Parameters:
Name | Type |
---|---|
id | string |
options? | any |
Returns: Promise<AxiosResponse<PromptVersionDTO, any>>