API reference
Response samples
- 200
Content type
application/json
{- "servers": [
- {
- "created": "string",
- "id": "string",
- "image": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "ports": [
- {
- "containerPort": 0,
- "hostPort": 0,
- "protocol": "string"
}
], - "state": "string",
- "status": "string"
}
]
}
Create a new server
Create and start a new server
Request Body schema: application/jsonrequired
Create server request
authz_config | string Authorization configuration |
cmd_arguments | Array of strings Command arguments to pass to the container |
env_vars | Array of strings Environment variables to set in the container |
host | string Host to bind to |
image | string Docker image to use |
name | string Name of the server |
object (v1.oidcOptions) OIDC configuration options | |
permission_profile | string Permission profile to apply |
Array of objects (secrets.SecretParameter) Secret parameters to inject | |
target_port | integer Port to expose from the container |
transport | string Transport configuration |
volumes | Array of strings Volume mounts |
Responses
Request samples
- Payload
Content type
application/json
{- "authz_config": "string",
- "cmd_arguments": [
- "string"
], - "env_vars": [
- "string"
], - "host": "string",
- "image": "string",
- "name": "string",
- "oidc": {
- "audience": "string",
- "client_id": "string",
- "issuer": "string",
- "jwks_url": "string"
}, - "permission_profile": "string",
- "secrets": [
- {
- "name": "string",
- "target": "string"
}
], - "target_port": 0,
- "transport": "string",
- "volumes": [
- "string"
]
}
Response samples
- 201
- 400
- 409
Content type
application/json
{- "name": "string",
- "port": 0
}
Get server details
Get details of a specific server
path Parameters
name required | string Server name |
Responses
Response samples
- 200
- 404
Content type
application/json
{- "created": "string",
- "id": "string",
- "image": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "ports": [
- {
- "containerPort": 0,
- "hostPort": 0,
- "protocol": "string"
}
], - "state": "string",
- "status": "string"
}