Across 2 paths, the API surfaces 7 operations — 2 DELETE, 2 GET, 2 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.
test-sources 7
GET
/test-sources
List test sources
listTestSources1 param→ 200400502
POST
/test-sources
Create new test source
createTestSourcebody→ 200201400502
PATCH
/test-sources
Process test source batch (create, update, delete)
processTestSourceBatchbody→ 200400502
DELETE
/test-sources
Delete test sources
deleteTestSources1 param→ 204502
PATCH
/test-sources/{id}
Update test source
updateTestSource1 parambody→ 200400404502
DELETE
/test-sources/{id}
Delete test source
deleteTestSource1 param→ 204502
GET
/test-sources/{id}
Get test source data
getTestSource1 param→ 200400404502500
Schemas 9
The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are Repository (12 properties), Problem (5 properties), TestContent (4 properties), SecretRef (3 properties). Each schema is shown below with its type and property counts.
Repository
object
repository representation for tests in git repositories
12 properties2 required
TestSourceBatchResult
object
Test source batch result
3 properties
TestSourceUpdateRequest
object
test source update request body
3 properties
TestSourceUpsertRequest
object
test source create request body
3 properties
TestContent
object
4 properties
Problem
object
problem response in case of error
5 properties
TestSource
object
Test source resource for shared test content
3 properties
TestSourceBatchRequest
object
Test source batch request
1 property1 required
SecretRef
object
Testkube internal reference for secret storage in Kubernetes secrets
3 properties2 required
Specification
The full machine-readable OpenAPI contract behind this narrative.