Download OpenAPI specification:Download
This is the Knox API specification. Knox is a service that manages Terraform environments and snapshots.
There is an available Helm chart for Knox.
helm repo add knox https://zeiss.github.io/knox/helm/charts
helm repo update
helm search repo knox
teamName required | string |
projectName required | string |
environmentName required | string |
id | string <uuid> |
operation | string |
info | string |
who | string |
version | string |
created | string <date-time> |
path | string |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "operation": "string",
- "info": "string",
- "who": "string",
- "version": "string",
- "created": "2019-08-24T14:15:22Z",
- "path": "string"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "operation": "string",
- "info": "string",
- "who": "string",
- "version": "string",
- "created": "2019-08-24T14:15:22Z",
- "path": "string"
}
teamName required | string |
projectName required | string |
environmentName required | string |
id | string <uuid> |
operation | string |
info | string |
who | string |
version | string |
created | string <date-time> |
path | string |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "operation": "string",
- "info": "string",
- "who": "string",
- "version": "string",
- "created": "2019-08-24T14:15:22Z",
- "path": "string"
}
{- "errorMessage": "string"
}
teamName required | string |
projectName required | string |
environmentName required | string |
{ }
{ }
teamName required | string |
projectName required | string |
name | string |
username | string |
secret | string |
{- "name": "string",
- "username": "string",
- "secret": "string"
}
{- "id": "string",
- "name": "string",
- "username": "string",
- "isLocked": true,
- "stateVersion": 0,
- "project": {
- "id": "string"
}, - "secret": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
teamName required | string |
projectName required | string |
limit | integer |
offset | integer |
{- "environments": [
- {
- "id": "string",
- "name": "string",
- "username": "string",
- "isLocked": true,
- "stateVersion": 0,
- "project": {
- "id": "string"
}, - "secret": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "limit": 0,
- "offset": 0,
- "totalCount": 0
}
}
teamName required | string |
projectName required | string |
environmentName required | string |
{- "id": "string",
- "name": "string",
- "username": "string",
- "isLocked": true,
- "stateVersion": 0,
- "project": {
- "id": "string"
}, - "secret": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
teamName required | string |
projectName required | string |
environmentName required | string |
name | string |
username | string |
secret | string |
{- "name": "string",
- "username": "string",
- "secret": "string"
}
{- "id": "string",
- "name": "string",
- "username": "string",
- "isLocked": true,
- "stateVersion": 0,
- "project": {
- "id": "string"
}, - "secret": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
name | string |
description | string |
members | Array of strings |
{- "name": "string",
- "description": "string",
- "members": [
- "string"
]
}
{- "id": "string",
- "name": "string",
- "usersCount": 0,
- "projectsCount": 0,
- "description": "string",
- "members": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
{- "teams": [
- {
- "id": "string",
- "name": "string",
- "usersCount": 0,
- "projectsCount": 0,
- "description": "string",
- "members": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "limit": 0,
- "offset": 0,
- "totalCount": 0
}
}
{- "id": "string",
- "name": "string",
- "usersCount": 0,
- "projectsCount": 0,
- "description": "string",
- "members": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
teamName required | string |
name | string |
description | string |
members | Array of strings |
{- "name": "string",
- "description": "string",
- "members": [
- "string"
]
}
{- "id": "string",
- "name": "string",
- "usersCount": 0,
- "projectsCount": 0,
- "description": "string",
- "members": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
teamName required | string |
name | string |
description | string |
{- "name": "string",
- "description": "string"
}
{- "id": "string",
- "name": "string",
- "description": "string",
- "team": {
- "id": "string",
- "name": "string"
}, - "envCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
teamName required | string |
limit | integer Default: 10 |
offset | integer Default: 0 |
{- "projects": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "team": {
- "id": "string",
- "name": "string"
}, - "envCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "limit": 0,
- "offset": 0,
- "totalCount": 0
}
}
teamName required | string |
projectName required | string |
{- "id": "string",
- "name": "string",
- "description": "string",
- "team": {
- "id": "string",
- "name": "string"
}, - "envCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
teamName required | string |
projectName required | string |
name | string |
description | string |
team_id | integer |
{- "name": "string",
- "description": "string",
- "team_id": 0
}
{- "id": "string",
- "name": "string",
- "description": "string",
- "team": {
- "id": "string",
- "name": "string"
}, - "envCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
teamName required | string |
projectName required | string |
environmentName required | string |
limit | integer |
offset | integer |
{- "states": [
- {
- "id": "string",
- "state": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z"
}
]
}
teamName required | string |
projectName required | string |
environmentName required | string |
limit | integer |
offset | integer |
{- "snapshots": [
- {
- "id": "string",
- "title": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z"
}
], - "metadata": {
- "limit": 0,
- "offset": 0,
- "totalCount": 0
}
}
teamName required | string |
projectName required | string |
environmentName required | string |
title | string |
description | string |
state_id | string <uuid> |
{- "title": "string",
- "description": "string",
- "state_id": "66648741-ea8b-4d02-902d-821b4000589e"
}
{- "id": "string",
- "title": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z"
}
teamName required | string |
projectName required | string |
environmentName required | string |
snapshotId required | string <uuid> |
{- "id": "string",
- "title": "string",
- "description": "string",
- "version": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z"
}