TestCaseApi

testapi.TestCaseApi

TestCaseApi - object-oriented interface

export

Hierarchy

  • BaseAPI

    TestCaseApi

Constructors

constructor

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

Parameters:

NameType
configuration?Configuration
basePathstring
axiosAxiosInstance

Returns: TestCaseApi

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

apiV1TestcaseIdDelete

apiV1TestcaseIdDelete(id: string, options?: any): Promise<AxiosResponse<TestCaseDTO, any>>

throws {RequiredError}

memberof TestCaseApi

Parameters:

NameType
idstring
options?any

Returns: Promise<AxiosResponse<TestCaseDTO, any>>


apiV1TestcaseIdGet

apiV1TestcaseIdGet(id: string, options?: any): Promise<AxiosResponse<TestCaseDTO, any>>

throws {RequiredError}

memberof TestCaseApi

Parameters:

NameType
idstring
options?any

Returns: Promise<AxiosResponse<TestCaseDTO, any>>


apiV1TestcaseIdPatch

apiV1TestcaseIdPatch(id: string, testCasePatchDTO?: TestCasePatchDTO, options?: any): Promise<AxiosResponse<TestCaseDTO, any>>

throws {RequiredError}

memberof TestCaseApi

Parameters:

NameType
idstring
testCasePatchDTO?TestCasePatchDTO
options?any

Returns: Promise<AxiosResponse<TestCaseDTO, any>>


apiV1TestcaseIdResultsGet

apiV1TestcaseIdResultsGet(id: string, skip?: number, take?: number, options?: any): Promise<AxiosResponse<TestCaseResultDTO[], any>>

throws {RequiredError}

memberof TestCaseApi

Parameters:

NameType
idstring
skip?number
take?number
options?any

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


apiV1TestcaseListGet

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

throws {RequiredError}

memberof TestCaseApi

Parameters:

NameType
skip?number
take?number
promptId?string
options?any

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


apiV1TestcasePost

apiV1TestcasePost(testCaseCreateDTO?: TestCaseCreateDTO, options?: any): Promise<AxiosResponse<TestCaseDTO, any>>

throws {RequiredError}

memberof TestCaseApi

Parameters:

NameType
testCaseCreateDTO?TestCaseCreateDTO
options?any

Returns: Promise<AxiosResponse<TestCaseDTO, any>>


apiV1TestcaseResultIdGet

apiV1TestcaseResultIdGet(id: string, options?: any): Promise<AxiosResponse<TestCaseResultDTO, any>>

throws {RequiredError}

memberof TestCaseApi

Parameters:

NameType
idstring
options?any

Returns: Promise<AxiosResponse<TestCaseResultDTO, any>>


apiV1TestcaseRunPost

apiV1TestcaseRunPost(testCaseRunCreateDTO?: TestCaseRunCreateDTO, options?: any): Promise<AxiosResponse<TestCaseRunResponseDTO, any>>

throws {RequiredError}

memberof TestCaseApi

Parameters:

NameType
testCaseRunCreateDTO?TestCaseRunCreateDTO
options?any

Returns: Promise<AxiosResponse<TestCaseRunResponseDTO, any>>


apiV1TestcaseRunsIdListGet

apiV1TestcaseRunsIdListGet(id: string, skip?: number, take?: number, options?: any): Promise<AxiosResponse<TestCaseResultDTO[], any>>

throws {RequiredError}

memberof TestCaseApi

Parameters:

NameType
idstring
skip?number
take?number
options?any

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


apiV1TestcaseRunsIdStatusGet

apiV1TestcaseRunsIdStatusGet(id: string, options?: any): Promise<AxiosResponse<TestCaseResultStatusDTO[], any>>

throws {RequiredError}

memberof TestCaseApi

Parameters:

NameType
idstring
options?any

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

Found a mistake? Email us, and we'll send you a free t-shirt!

Enroll in beta

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