Skip to main content
New to Testkube? Unleash the power of cloud native testing in Kubernetes with Testkube. Get Started >

Testkube Control Plane ../test-workflow-templates operations

Testkube Pro API (cloud-api/1.10.51)

Download OpenAPI specification:Download

API for Testkube Pro

List test workflow templates

List test workflow templates from the kubernetes cluster

path Parameters
id
required
string

organizationId

environmentId
required
string

environmentID

query Parameters
selector
string
Example: selector=kubernetes.io/app=demo

Only workflow executions with given status are included in this time series chart.

Responses

Response samples

Content type
[
  • {
    }
]

Create test workflow template

Create test workflow template in the kubernetes cluster

path Parameters
id
required
string

organizationId

environmentId
required
string

environmentID

Request Body schema:
required

test workflow template body

name
string

kubernetes resource name

namespace
string

kubernetes namespace

description
string

human-readable description

object

test workflow labels

object

test workflow annotations

created
string <date-time>
object (TestWorkflowTemplateSpec)

Responses

Request samples

Content type
{
  • "name": "string",
  • "namespace": "string",
  • "description": "string",
  • "labels": {
    },
  • "annotations": {
    },
  • "created": "2022-07-30T06:54:15Z",
  • "spec": {
    }
}

Response samples

Content type
[
  • {
    }
]

Delete test workflow templates

Delete test workflow templates from the kubernetes cluster

path Parameters
id
required
string

organizationId

environmentId
required
string

environmentID

query Parameters
selector
string
Example: selector=kubernetes.io/app=demo

Only workflow executions with given status are included in this time series chart.

Responses

Response samples

Content type
application/problem+json
[]

Get test workflow template details

Get test workflow template details from the kubernetes cluster

path Parameters
environmentId
required
string

environmentID

id
required
string

unique id of the object

Responses

Response samples

Content type
{
  • "name": "string",
  • "namespace": "string",
  • "description": "string",
  • "labels": {
    },
  • "annotations": {
    },
  • "created": "2022-07-30T06:54:15Z",
  • "spec": {
    }
}

Update test workflow template details

Update test workflow template details in the kubernetes cluster

path Parameters
environmentId
required
string

environmentID

id
required
string

unique id of the object

Request Body schema:
required

test workflow template body

name
string

kubernetes resource name

namespace
string

kubernetes namespace

description
string

human-readable description

object

test workflow labels

object

test workflow annotations

created
string <date-time>
object (TestWorkflowTemplateSpec)

Responses

Request samples

Content type
{
  • "name": "string",
  • "namespace": "string",
  • "description": "string",
  • "labels": {
    },
  • "annotations": {
    },
  • "created": "2022-07-30T06:54:15Z",
  • "spec": {
    }
}

Response samples

Content type
{
  • "name": "string",
  • "namespace": "string",
  • "description": "string",
  • "labels": {
    },
  • "annotations": {
    },
  • "created": "2022-07-30T06:54:15Z",
  • "spec": {
    }
}

Delete test workflow template

Delete test workflow template from the kubernetes cluster

path Parameters
environmentId
required
string

environmentID

id
required
string

unique id of the object

Responses

Response samples

Content type
application/problem+json
[]