| Name | Method | Endpoint |
|---|---|---|
| Update, replace, or create new using Tekton Task YAML | PUT | /api/v2/team/{team}/task/{name} |
| Create a new Task Template using Tekton Task YAML | POST | /api/v2/team/{team}/task |
| Delete a Team Task | DELETE | /api/v2/team/{team}/task/{name} |
| Retrieve a specific task as Tekton Task YAML. If no version specified, the latest version is returned. | GET | /api/v2/team/{team}/task/{name} |
| Retrieve the changlog | GET | /api/v2/team/{team}/task/{name}/changelog |
| Search for Tasks. If teams are provided it will query the teams. If no teams are provided it will query Global Task Templates | GET | /api/v2/team/{team}/task/query |
| Validate Tekton Task YAML | POST | /api/v2/team/{team}/task/validate |
PUT /api/v2/team/{team}/task/{name}?replace=true
The name must only contain alphanumeric and - characeters. If the name exists, apply will create a new version.
| Name | Type | Required | Description | Notes | Example |
|---|---|---|---|---|---|
| name | String | true | Name of Task | Defaults to null. | name_example |
| team | String | true | Owning team name. | Defaults to null. | my-amazing-team |
| replace | Boolean | false | Replace existing version | Defaults to false. | true |
| Schema | Required |
|---|---|
| Task | true |
Note: this section and the documentation around what is required is still actively being updated.
No authorization required
application/json, application/x-yaml*/*POST /api/v2/team/{team}/task
The name needs to be unique and must only contain alphanumeric and - characeters.
| Name | Type | Required | Description | Notes | Example |
|---|---|---|---|---|---|
| team | String | true | Owning team name. | Defaults to null. | my-amazing-team |
| Schema | Required |
|---|---|
| Task | true |
Note: this section and the documentation around what is required is still actively being updated.
No authorization required
application/json, application/x-yaml*/*DELETE /api/v2/team/{team}/task/{name}
| Name | Type | Required | Description | Notes | Example |
|---|---|---|---|---|---|
| team | String | true | Owning team name. | Defaults to null. | my-amazing-team |
| name | String | true | Name of Task | Defaults to null. | name_example |
This endpoint does not require a request body.
Note: this section and the documentation around what is required is still actively being updated.
No authorization required
Not definedNot definednull (empty response body)
GET /api/v2/team/{team}/task/{name}?version=56
| Name | Type | Required | Description | Notes | Example |
|---|---|---|---|---|---|
| name | String | true | Name of Task | Defaults to null. | name_example |
| team | String | true | Owning team name. | Defaults to null. | my-amazing-team |
| version | Integer | false | Task Version | Defaults to null. | 56 |
This endpoint does not require a request body.
Note: this section and the documentation around what is required is still actively being updated.
No authorization required
Not defined*/*GET /api/v2/team/{team}/task/{name}/changelog
Retrieves each versions changelog and returns them all as a list.
| Name | Type | Required | Description | Notes | Example |
|---|---|---|---|---|---|
| team | String | true | Owning team name. | Defaults to null. | my-amazing-team |
| name | String | true | Name of Task | Defaults to null. | name_example |
This endpoint does not require a request body.
Note: this section and the documentation around what is required is still actively being updated.
No authorization required
Not defined*/*GET /api/v2/team/{team}/task/query?labels=,statuses=active,inactive,names=switch,event-wait,limit=10,page=0,sort=ASC
| Name | Type | Required | Description | Notes | Example |
|---|---|---|---|---|---|
| team | String | true | Owning team name. | Defaults to null. | my-amazing-team |
| limit | Integer | true | Result Size | Defaults to null. | 10 |
| page | Integer | true | Page Number | Defaults to null. | 0 |
| sort | String | true | Ascending (ASC) or Descending (DESC) sort on creationDate | Defaults to Optional[ASC]. Enum: [ASC, DESC] | ASC |
| labels | List | false | List of url encoded labels. For example Organization=Boomerang,customKey=test would be encoded as Organization%3DBoomerang,customKey%3Dtest) | Defaults to null. | |
| statuses | List | false | List of statuses to filter for. | Defaults to null. | active,inactive |
| names | List | false | List of Task Names to filter for. Defaults to all. | Defaults to null. | switch,event-wait |
This endpoint does not require a request body.
Note: this section and the documentation around what is required is still actively being updated.
No authorization required
Not defined*/*POST /api/v2/team/{team}/task/validate
Validates the Task YAML as a Tekton Task
| Name | Type | Required | Description | Notes | Example |
|---|
| Schema | Required |
|---|---|
| TektonTask | true |
Note: this section and the documentation around what is required is still actively being updated.
No authorization required
application/x-yamlNot definednull (empty response body)