All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
apiV2ProjectsProjectIdSettingsAutotestsPost | POST /api/v2/projects/{projectId}/settings/autotests | Set autotest project settings. |
getAutotestProjectSettings | GET /api/v2/projects/{projectId}/settings/autotests | Get autotest project settings. |
apiV2ProjectsProjectIdSettingsAutotestsPost(projectId, autoTestProjectSettingsPostModel)
Set autotest project settings.
// Import classes:
//import ru.testit.kotlin.client.infrastructure.*
//import ru.testit.kotlin.client.models.*
val apiInstance = ProjectSettingsApi()
val projectId : kotlin.String = projectId_example // kotlin.String |
val autoTestProjectSettingsPostModel : AutoTestProjectSettingsPostModel = // AutoTestProjectSettingsPostModel |
try {
apiInstance.apiV2ProjectsProjectIdSettingsAutotestsPost(projectId, autoTestProjectSettingsPostModel)
} catch (e: ClientException) {
println("4xx response calling ProjectSettingsApi#apiV2ProjectsProjectIdSettingsAutotestsPost")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProjectSettingsApi#apiV2ProjectsProjectIdSettingsAutotestsPost")
e.printStackTrace()
}
| projectId | kotlin.String| | |
Name | Type | Description | Notes |
---|---|---|---|
autoTestProjectSettingsPostModel | AutoTestProjectSettingsPostModel | [optional] |
null (empty response body)
Configure Bearer or PrivateToken: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
AutoTestProjectSettingsGetModel getAutotestProjectSettings(projectId)
Get autotest project settings.
// Import classes:
//import ru.testit.kotlin.client.infrastructure.*
//import ru.testit.kotlin.client.models.*
val apiInstance = ProjectSettingsApi()
val projectId : kotlin.String = projectId_example // kotlin.String |
try {
val result : AutoTestProjectSettingsGetModel = apiInstance.getAutotestProjectSettings(projectId)
println(result)
} catch (e: ClientException) {
println("4xx response calling ProjectSettingsApi#getAutotestProjectSettings")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ProjectSettingsApi#getAutotestProjectSettings")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
projectId | kotlin.String |
AutoTestProjectSettingsGetModel
Configure Bearer or PrivateToken: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json