Requires the images-view
capability.
Returns a list of Images.
General error response from the platform
{- "data": [
- {
- "id": "651586fca6078e98982dbd90",
- "hub_id": "651586fca6078e98982dbd90",
- "name": "string",
- "size": 0,
- "about": {
- "description": "string"
}, - "backend": {
- "provider": "string",
- "size": 0,
- "file_name": "string",
- "file_id": "string"
}, - "requires": {
- "nvidia_gpu": true
}, - "build": {
- "args": {
- "property1": "string",
- "property2": "string"
}
}, - "builder": {
- "integration_id": "651586fca6078e98982dbd90"
}, - "config": {
- "user": "string",
- "ports": [
- {
- "host": 0,
- "container": 0,
- "type": "string"
}
], - "env": {
- "property1": "string",
- "property2": "string"
}, - "labels": {
- "property1": "string",
- "property2": "string"
}, - "command": [
- "string"
], - "entrypoint": [
- "string"
], - "volumes": [
- {
- "path": "string",
- "mode": "ro"
}
], - "workdir": "string",
- "signal_stop": "string"
}, - "source": {
- "type": "direct",
- "details": {
- "id": "string",
- "origin": {
- "type": "docker-hub",
- "details": {
- "existing": {
- "source_id": null
}, - "target": "string",
- "username": "string",
- "token": "string"
}
}
}, - "override": {
- "target": "string",
- "targz_url": "string"
}
}, - "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "factory": {
- "node_id": "string",
- "cached": "2021-01-30T08:30:00Z",
- "acknowledged": "2021-01-30T08:30:00Z"
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "meta": {
- "containers_count": {
- "state": {
- "new": 0,
- "starting": 0,
- "running": 5,
- "stopping": 0,
- "deleting": 0,
- "deleted": 0
}, - "total": 5,
- "available": 5
}
}
}
], - "includes": {
- "creators": {
- "accounts": {
- "property1": {
- "name": {
- "first": "string",
- "last": "string"
}, - "email": {
- "address": "string"
}, - "id": "string",
- "events": {
- "property1": "2021-01-30T08:30:00Z",
- "property2": "2021-01-30T08:30:00Z",
- "last_login": "2021-01-30T08:30:00Z"
}
}, - "property2": {
- "name": {
- "first": "string",
- "last": "string"
}, - "email": {
- "address": "string"
}, - "id": "string",
- "events": {
- "property1": "2021-01-30T08:30:00Z",
- "property2": "2021-01-30T08:30:00Z",
- "last_login": "2021-01-30T08:30:00Z"
}
}
}, - "employees": null,
- "visitors": null,
- "environments": null,
- "api_keys": null
}, - "stack_builds": {
- "property1": {
- "id": "651586fca6078e98982dbd90",
- "hub_id": "651586fca6078e98982dbd90",
- "stack_id": "string",
- "spec": {
- "version": "1.0",
- "about": {
- "version": "string",
- "description": "string"
}, - "scoped_variables": [
- {
- "identifier": "string",
- "scope": {
- "containers": { }
}, - "access": {
- "env_variable": { },
- "internal_api": { },
- "file": { }
}, - "source": { }
}
], - "containers": {
- "property1": {
- "name": "string",
- "image": {
- "name": null,
- "origin": null,
- "build": { },
- "builder": { }
}, - "annotations": {
- "property1": null,
- "property2": null
}, - "stateful": true,
- "config": {
- "network": null,
- "deploy": null,
- "scaling": null,
- "runtime": null,
- "resources": null,
- "integrations": null
}, - "role": "conductor",
- "volumes": [
- null
], - "deprecate": true,
- "lock": true
}, - "property2": {
- "name": "string",
- "image": {
- "name": null,
- "origin": null,
- "build": { },
- "builder": { }
}, - "annotations": {
- "property1": null,
- "property2": null
}, - "stateful": true,
- "config": {
- "network": null,
- "deploy": null,
- "scaling": null,
- "runtime": null,
- "resources": null,
- "integrations": null
}, - "role": "conductor",
- "volumes": [
- null
], - "deprecate": true,
- "lock": true
}
}, - "services": {
- "discovery": { },
- "loadbalancer": { },
- "scheduler": { },
- "vpn": { }
}, - "annotations": {
- "property1": null,
- "property2": null
}
}, - "about": {
- "version": "string",
- "description": "string",
- "git_commit": {
- "hash": "string",
- "message": "string",
- "time": "2021-01-30T08:30:00Z",
- "author": {
- "name": "string",
- "email": "string"
}
}
}, - "instructions": {
- "git": {
- "type": "hash",
- "value": "string"
}, - "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "meta": {
- "containers_count": {
- "state": {
- "new": 0,
- "starting": 0,
- "running": 5,
- "stopping": 0,
- "deleting": 0,
- "deleted": 0
}, - "total": 5,
- "available": 5
}
}
}, - "property2": {
- "id": "651586fca6078e98982dbd90",
- "hub_id": "651586fca6078e98982dbd90",
- "stack_id": "string",
- "spec": {
- "version": "1.0",
- "about": {
- "version": "string",
- "description": "string"
}, - "scoped_variables": [
- {
- "identifier": "string",
- "scope": {
- "containers": { }
}, - "access": {
- "env_variable": { },
- "internal_api": { },
- "file": { }
}, - "source": { }
}
], - "containers": {
- "property1": {
- "name": "string",
- "image": {
- "name": null,
- "origin": null,
- "build": { },
- "builder": { }
}, - "annotations": {
- "property1": null,
- "property2": null
}, - "stateful": true,
- "config": {
- "network": null,
- "deploy": null,
- "scaling": null,
- "runtime": null,
- "resources": null,
- "integrations": null
}, - "role": "conductor",
- "volumes": [
- null
], - "deprecate": true,
- "lock": true
}, - "property2": {
- "name": "string",
- "image": {
- "name": null,
- "origin": null,
- "build": { },
- "builder": { }
}, - "annotations": {
- "property1": null,
- "property2": null
}, - "stateful": true,
- "config": {
- "network": null,
- "deploy": null,
- "scaling": null,
- "runtime": null,
- "resources": null,
- "integrations": null
}, - "role": "conductor",
- "volumes": [
- null
], - "deprecate": true,
- "lock": true
}
}, - "services": {
- "discovery": { },
- "loadbalancer": { },
- "scheduler": { },
- "vpn": { }
}, - "annotations": {
- "property1": null,
- "property2": null
}
}, - "about": {
- "version": "string",
- "description": "string",
- "git_commit": {
- "hash": "string",
- "message": "string",
- "time": "2021-01-30T08:30:00Z",
- "author": {
- "name": "string",
- "email": "string"
}
}
}, - "instructions": {
- "git": {
- "type": "hash",
- "value": "string"
}, - "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "meta": {
- "containers_count": {
- "state": {
- "new": 0,
- "starting": 0,
- "running": 5,
- "stopping": 0,
- "deleting": 0,
- "deleted": 0
}, - "total": 5,
- "available": 5
}
}
}
}, - "stacks": {
- "property1": {
- "id": "651586fca6078e98982dbd90",
- "identifier": "string",
- "name": "string",
- "hub_id": "651586fca6078e98982dbd90",
- "creator": {
- "type": "account",
- "id": "651586fca6078e98982dbd90"
}, - "source": {
- "type": "git-repo",
- "details": {
- "stack_file": "string",
- "url": "string",
- "branch": "string",
- "auth": {
- "type": "http",
- "credentials": {
- "username": null,
- "password": null
}
}, - "ref": {
- "type": "string",
- "value": "string"
}
}
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "variables": {
- "property1": "string",
- "property2": "string"
}, - "acl": {
- "roles": {
- "property1": {
- "view": true,
- "modify": true,
- "manage": true
}, - "property2": {
- "view": true,
- "modify": true,
- "manage": true
}
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z",
- "last_build": "2021-01-30T08:30:00Z"
}, - "meta": {
- "containers_count": {
- "state": {
- "new": 0,
- "starting": 0,
- "running": 5,
- "stopping": 0,
- "deleting": 0,
- "deleted": 0
}, - "total": 5,
- "available": 5
}, - "builds_count": {
- "state": {
- "new": 0,
- "starting": 0,
- "running": 5,
- "stopping": 0,
- "deleting": 0,
- "deleted": 0
}, - "total": 5,
- "available": 5
}
}
}, - "property2": {
- "id": "651586fca6078e98982dbd90",
- "identifier": "string",
- "name": "string",
- "hub_id": "651586fca6078e98982dbd90",
- "creator": {
- "type": "account",
- "id": "651586fca6078e98982dbd90"
}, - "source": {
- "type": "git-repo",
- "details": {
- "stack_file": "string",
- "url": "string",
- "branch": "string",
- "auth": {
- "type": "http",
- "credentials": {
- "username": null,
- "password": null
}
}, - "ref": {
- "type": "string",
- "value": "string"
}
}
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "variables": {
- "property1": "string",
- "property2": "string"
}, - "acl": {
- "roles": {
- "property1": {
- "view": true,
- "modify": true,
- "manage": true
}, - "property2": {
- "view": true,
- "modify": true,
- "manage": true
}
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z",
- "last_build": "2021-01-30T08:30:00Z"
}, - "meta": {
- "containers_count": {
- "state": {
- "new": 0,
- "starting": 0,
- "running": 5,
- "stopping": 0,
- "deleting": 0,
- "deleted": 0
}, - "total": 5,
- "available": 5
}, - "builds_count": {
- "state": {
- "new": 0,
- "starting": 0,
- "running": 5,
- "stopping": 0,
- "deleting": 0,
- "deleted": 0
}, - "total": 5,
- "available": 5
}
}
}
}, - "stacks:identifiers": {
- "property1": [
- "651586fca6078e98982dbd90"
], - "property2": [
- "651586fca6078e98982dbd90"
]
}, - "sources": {
- "property1": {
- "id": "651586fca6078e98982dbd90",
- "identifier": "string",
- "type": "stack-build",
- "hub_id": "651586fca6078e98982dbd90",
- "name": "string",
- "about": {
- "description": "string"
}, - "origin": {
- "type": "docker-hub",
- "details": {
- "existing": {
- "source_id": "651586fca6078e98982dbd90"
}, - "target": "string",
- "username": "string",
- "token": "string"
}
}, - "builder": {
- "integration_id": "my-image-source"
}, - "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "acl": {
- "roles": {
- "property1": {
- "view": true,
- "modify": true,
- "manage": true
}, - "property2": {
- "view": true,
- "modify": true,
- "manage": true
}
}
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "meta": {
- "images_count": {
- "total": 0,
- "state": {
- "new": 0,
- "downloading": 0,
- "building": 0,
- "verifying": 0,
- "saving": 0,
- "live": 0,
- "deleting": 0
}
}
}
}, - "property2": {
- "id": "651586fca6078e98982dbd90",
- "identifier": "string",
- "type": "stack-build",
- "hub_id": "651586fca6078e98982dbd90",
- "name": "string",
- "about": {
- "description": "string"
}, - "origin": {
- "type": "docker-hub",
- "details": {
- "existing": {
- "source_id": "651586fca6078e98982dbd90"
}, - "target": "string",
- "username": "string",
- "token": "string"
}
}, - "builder": {
- "integration_id": "my-image-source"
}, - "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "acl": {
- "roles": {
- "property1": {
- "view": true,
- "modify": true,
- "manage": true
}, - "property2": {
- "view": true,
- "modify": true,
- "manage": true
}
}
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "meta": {
- "images_count": {
- "total": 0,
- "state": {
- "new": 0,
- "downloading": 0,
- "building": 0,
- "verifying": 0,
- "saving": 0,
- "live": 0,
- "deleting": 0
}
}
}
}
}, - "sources:identifiers": {
- "property1": [
- "651586fca6078e98982dbd90"
], - "property2": [
- "651586fca6078e98982dbd90"
]
}, - "integrations": {
- "property1": {
- "id": "651586fca6078e98982dbd90",
- "name": "string",
- "vendor": "string",
- "identifier": "string",
- "auth": {
- "region": "string",
- "namespace": "string",
- "api_key": "string",
- "key_id": "string",
- "secret": "string",
- "subscription_id": "string",
- "client_id": "string",
- "base64_config": "string"
}, - "extra": {
- "property1": "string",
- "property2": "string"
}, - "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "hub_id": "651586fca6078e98982dbd90",
- "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "meta": {
- "definition": {
- "vendor": "string",
- "name": "string",
- "supports_verification": true,
- "supports_multiple": true,
- "features": [
- "string"
], - "extends": [
- "string"
], - "extended_configuration": {
- "options": [
- { }
]
}, - "fields": {
- "extra": {
- "property1": { },
- "property2": { }
}, - "auth": {
- "property1": { },
- "property2": { }
}
}, - "public": true,
- "usable": true,
- "editable": true
}
}
}, - "property2": {
- "id": "651586fca6078e98982dbd90",
- "name": "string",
- "vendor": "string",
- "identifier": "string",
- "auth": {
- "region": "string",
- "namespace": "string",
- "api_key": "string",
- "key_id": "string",
- "secret": "string",
- "subscription_id": "string",
- "client_id": "string",
- "base64_config": "string"
}, - "extra": {
- "property1": "string",
- "property2": "string"
}, - "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "hub_id": "651586fca6078e98982dbd90",
- "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "meta": {
- "definition": {
- "vendor": "string",
- "name": "string",
- "supports_verification": true,
- "supports_multiple": true,
- "features": [
- "string"
], - "extends": [
- "string"
], - "extended_configuration": {
- "options": [
- { }
]
}, - "fields": {
- "extra": {
- "property1": { },
- "property2": { }
}, - "auth": {
- "property1": { },
- "property2": { }
}
}, - "public": true,
- "usable": true,
- "editable": true
}
}
}
}, - "integrations:identifiers": {
- "property1": [
- "651586fca6078e98982dbd90"
], - "property2": [
- "651586fca6078e98982dbd90"
]
}
}
}
Requires the images-manage
capability.
Parameters for creating a new Image.
Returns an Image.
General error response from the platform
{- "name": "string",
- "source_id": "string",
- "build": {
- "args": {
- "property1": "string",
- "property2": "string"
}
}, - "override": {
- "target": "string",
- "targz_url": "string"
}
}
{- "data": {
- "id": "651586fca6078e98982dbd90",
- "hub_id": "651586fca6078e98982dbd90",
- "name": "string",
- "size": 0,
- "about": {
- "description": "string"
}, - "backend": {
- "provider": "string",
- "size": 0,
- "file_name": "string",
- "file_id": "string"
}, - "requires": {
- "nvidia_gpu": true
}, - "build": {
- "args": {
- "property1": "string",
- "property2": "string"
}
}, - "builder": {
- "integration_id": "651586fca6078e98982dbd90"
}, - "config": {
- "user": "string",
- "ports": [
- {
- "host": 0,
- "container": 0,
- "type": "string"
}
], - "env": {
- "property1": "string",
- "property2": "string"
}, - "labels": {
- "property1": "string",
- "property2": "string"
}, - "command": [
- "string"
], - "entrypoint": [
- "string"
], - "volumes": [
- {
- "path": "string",
- "mode": "ro"
}
], - "workdir": "string",
- "signal_stop": "string"
}, - "source": {
- "type": "direct",
- "details": {
- "id": "string",
- "origin": {
- "type": "docker-hub",
- "details": {
- "existing": {
- "source_id": "651586fca6078e98982dbd90"
}, - "target": "string",
- "username": "string",
- "token": "string"
}
}
}, - "override": {
- "target": "string",
- "targz_url": "string"
}
}, - "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "factory": {
- "node_id": "string",
- "cached": "2021-01-30T08:30:00Z",
- "acknowledged": "2021-01-30T08:30:00Z"
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "meta": {
- "containers_count": {
- "state": {
- "new": 0,
- "starting": 0,
- "running": 5,
- "stopping": 0,
- "deleting": 0,
- "deleted": 0
}, - "total": 5,
- "available": 5
}
}
}
}
Requires the images-view
capability.
Returns a Image.
General error response from the platform
{- "data": {
- "id": "651586fca6078e98982dbd90",
- "hub_id": "651586fca6078e98982dbd90",
- "name": "string",
- "size": 0,
- "about": {
- "description": "string"
}, - "backend": {
- "provider": "string",
- "size": 0,
- "file_name": "string",
- "file_id": "string"
}, - "requires": {
- "nvidia_gpu": true
}, - "build": {
- "args": {
- "property1": "string",
- "property2": "string"
}
}, - "builder": {
- "integration_id": "651586fca6078e98982dbd90"
}, - "config": {
- "user": "string",
- "ports": [
- {
- "host": 0,
- "container": 0,
- "type": "string"
}
], - "env": {
- "property1": "string",
- "property2": "string"
}, - "labels": {
- "property1": "string",
- "property2": "string"
}, - "command": [
- "string"
], - "entrypoint": [
- "string"
], - "volumes": [
- {
- "path": "string",
- "mode": "ro"
}
], - "workdir": "string",
- "signal_stop": "string"
}, - "source": {
- "type": "direct",
- "details": {
- "id": "string",
- "origin": {
- "type": "docker-hub",
- "details": {
- "existing": {
- "source_id": "651586fca6078e98982dbd90"
}, - "target": "string",
- "username": "string",
- "token": "string"
}
}
}, - "override": {
- "target": "string",
- "targz_url": "string"
}
}, - "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "factory": {
- "node_id": "string",
- "cached": "2021-01-30T08:30:00Z",
- "acknowledged": "2021-01-30T08:30:00Z"
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "meta": {
- "containers_count": {
- "state": {
- "new": 0,
- "starting": 0,
- "running": 5,
- "stopping": 0,
- "deleting": 0,
- "deleted": 0
}, - "total": 5,
- "available": 5
}
}
}, - "includes": {
- "creators": {
- "accounts": {
- "property1": {
- "name": {
- "first": "string",
- "last": "string"
}, - "email": {
- "address": "string"
}, - "id": "string",
- "events": {
- "property1": "2021-01-30T08:30:00Z",
- "property2": "2021-01-30T08:30:00Z",
- "last_login": "2021-01-30T08:30:00Z"
}
}, - "property2": {
- "name": {
- "first": "string",
- "last": "string"
}, - "email": {
- "address": "string"
}, - "id": "string",
- "events": {
- "property1": "2021-01-30T08:30:00Z",
- "property2": "2021-01-30T08:30:00Z",
- "last_login": "2021-01-30T08:30:00Z"
}
}
}, - "employees": null,
- "visitors": null,
- "environments": null,
- "api_keys": null
}, - "stack_builds": {
- "property1": {
- "id": "651586fca6078e98982dbd90",
- "hub_id": "651586fca6078e98982dbd90",
- "stack_id": "string",
- "spec": {
- "version": "1.0",
- "about": {
- "version": "string",
- "description": "string"
}, - "scoped_variables": [
- {
- "identifier": "string",
- "scope": {
- "containers": { }
}, - "access": {
- "env_variable": { },
- "internal_api": { },
- "file": { }
}, - "source": { }
}
], - "containers": {
- "property1": {
- "name": "string",
- "image": {
- "name": null,
- "origin": null,
- "build": { },
- "builder": { }
}, - "annotations": {
- "property1": null,
- "property2": null
}, - "stateful": true,
- "config": {
- "network": null,
- "deploy": null,
- "scaling": null,
- "runtime": null,
- "resources": null,
- "integrations": null
}, - "role": "conductor",
- "volumes": [
- null
], - "deprecate": true,
- "lock": true
}, - "property2": {
- "name": "string",
- "image": {
- "name": null,
- "origin": null,
- "build": { },
- "builder": { }
}, - "annotations": {
- "property1": null,
- "property2": null
}, - "stateful": true,
- "config": {
- "network": null,
- "deploy": null,
- "scaling": null,
- "runtime": null,
- "resources": null,
- "integrations": null
}, - "role": "conductor",
- "volumes": [
- null
], - "deprecate": true,
- "lock": true
}
}, - "services": {
- "discovery": { },
- "loadbalancer": { },
- "scheduler": { },
- "vpn": { }
}, - "annotations": {
- "property1": null,
- "property2": null
}
}, - "about": {
- "version": "string",
- "description": "string",
- "git_commit": {
- "hash": "string",
- "message": "string",
- "time": "2021-01-30T08:30:00Z",
- "author": {
- "name": "string",
- "email": "string"
}
}
}, - "instructions": {
- "git": {
- "type": "hash",
- "value": "string"
}, - "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "meta": {
- "containers_count": {
- "state": {
- "new": 0,
- "starting": 0,
- "running": 5,
- "stopping": 0,
- "deleting": 0,
- "deleted": 0
}, - "total": 5,
- "available": 5
}
}
}, - "property2": {
- "id": "651586fca6078e98982dbd90",
- "hub_id": "651586fca6078e98982dbd90",
- "stack_id": "string",
- "spec": {
- "version": "1.0",
- "about": {
- "version": "string",
- "description": "string"
}, - "scoped_variables": [
- {
- "identifier": "string",
- "scope": {
- "containers": { }
}, - "access": {
- "env_variable": { },
- "internal_api": { },
- "file": { }
}, - "source": { }
}
], - "containers": {
- "property1": {
- "name": "string",
- "image": {
- "name": null,
- "origin": null,
- "build": { },
- "builder": { }
}, - "annotations": {
- "property1": null,
- "property2": null
}, - "stateful": true,
- "config": {
- "network": null,
- "deploy": null,
- "scaling": null,
- "runtime": null,
- "resources": null,
- "integrations": null
}, - "role": "conductor",
- "volumes": [
- null
], - "deprecate": true,
- "lock": true
}, - "property2": {
- "name": "string",
- "image": {
- "name": null,
- "origin": null,
- "build": { },
- "builder": { }
}, - "annotations": {
- "property1": null,
- "property2": null
}, - "stateful": true,
- "config": {
- "network": null,
- "deploy": null,
- "scaling": null,
- "runtime": null,
- "resources": null,
- "integrations": null
}, - "role": "conductor",
- "volumes": [
- null
], - "deprecate": true,
- "lock": true
}
}, - "services": {
- "discovery": { },
- "loadbalancer": { },
- "scheduler": { },
- "vpn": { }
}, - "annotations": {
- "property1": null,
- "property2": null
}
}, - "about": {
- "version": "string",
- "description": "string",
- "git_commit": {
- "hash": "string",
- "message": "string",
- "time": "2021-01-30T08:30:00Z",
- "author": {
- "name": "string",
- "email": "string"
}
}
}, - "instructions": {
- "git": {
- "type": "hash",
- "value": "string"
}, - "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "meta": {
- "containers_count": {
- "state": {
- "new": 0,
- "starting": 0,
- "running": 5,
- "stopping": 0,
- "deleting": 0,
- "deleted": 0
}, - "total": 5,
- "available": 5
}
}
}
}, - "stacks": {
- "property1": {
- "id": "651586fca6078e98982dbd90",
- "identifier": "string",
- "name": "string",
- "hub_id": "651586fca6078e98982dbd90",
- "creator": {
- "type": "account",
- "id": "651586fca6078e98982dbd90"
}, - "source": {
- "type": "git-repo",
- "details": {
- "stack_file": "string",
- "url": "string",
- "branch": "string",
- "auth": {
- "type": "http",
- "credentials": {
- "username": null,
- "password": null
}
}, - "ref": {
- "type": "string",
- "value": "string"
}
}
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "variables": {
- "property1": "string",
- "property2": "string"
}, - "acl": {
- "roles": {
- "property1": {
- "view": true,
- "modify": true,
- "manage": true
}, - "property2": {
- "view": true,
- "modify": true,
- "manage": true
}
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z",
- "last_build": "2021-01-30T08:30:00Z"
}, - "meta": {
- "containers_count": {
- "state": {
- "new": 0,
- "starting": 0,
- "running": 5,
- "stopping": 0,
- "deleting": 0,
- "deleted": 0
}, - "total": 5,
- "available": 5
}, - "builds_count": {
- "state": {
- "new": 0,
- "starting": 0,
- "running": 5,
- "stopping": 0,
- "deleting": 0,
- "deleted": 0
}, - "total": 5,
- "available": 5
}
}
}, - "property2": {
- "id": "651586fca6078e98982dbd90",
- "identifier": "string",
- "name": "string",
- "hub_id": "651586fca6078e98982dbd90",
- "creator": {
- "type": "account",
- "id": "651586fca6078e98982dbd90"
}, - "source": {
- "type": "git-repo",
- "details": {
- "stack_file": "string",
- "url": "string",
- "branch": "string",
- "auth": {
- "type": "http",
- "credentials": {
- "username": null,
- "password": null
}
}, - "ref": {
- "type": "string",
- "value": "string"
}
}
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "variables": {
- "property1": "string",
- "property2": "string"
}, - "acl": {
- "roles": {
- "property1": {
- "view": true,
- "modify": true,
- "manage": true
}, - "property2": {
- "view": true,
- "modify": true,
- "manage": true
}
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z",
- "last_build": "2021-01-30T08:30:00Z"
}, - "meta": {
- "containers_count": {
- "state": {
- "new": 0,
- "starting": 0,
- "running": 5,
- "stopping": 0,
- "deleting": 0,
- "deleted": 0
}, - "total": 5,
- "available": 5
}, - "builds_count": {
- "state": {
- "new": 0,
- "starting": 0,
- "running": 5,
- "stopping": 0,
- "deleting": 0,
- "deleted": 0
}, - "total": 5,
- "available": 5
}
}
}
}, - "stacks:identifiers": {
- "property1": [
- "651586fca6078e98982dbd90"
], - "property2": [
- "651586fca6078e98982dbd90"
]
}, - "sources": {
- "property1": {
- "id": "651586fca6078e98982dbd90",
- "identifier": "string",
- "type": "stack-build",
- "hub_id": "651586fca6078e98982dbd90",
- "name": "string",
- "about": {
- "description": "string"
}, - "origin": {
- "type": "docker-hub",
- "details": {
- "existing": {
- "source_id": "651586fca6078e98982dbd90"
}, - "target": "string",
- "username": "string",
- "token": "string"
}
}, - "builder": {
- "integration_id": "my-image-source"
}, - "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "acl": {
- "roles": {
- "property1": {
- "view": true,
- "modify": true,
- "manage": true
}, - "property2": {
- "view": true,
- "modify": true,
- "manage": true
}
}
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "meta": {
- "images_count": {
- "total": 0,
- "state": {
- "new": 0,
- "downloading": 0,
- "building": 0,
- "verifying": 0,
- "saving": 0,
- "live": 0,
- "deleting": 0
}
}
}
}, - "property2": {
- "id": "651586fca6078e98982dbd90",
- "identifier": "string",
- "type": "stack-build",
- "hub_id": "651586fca6078e98982dbd90",
- "name": "string",
- "about": {
- "description": "string"
}, - "origin": {
- "type": "docker-hub",
- "details": {
- "existing": {
- "source_id": "651586fca6078e98982dbd90"
}, - "target": "string",
- "username": "string",
- "token": "string"
}
}, - "builder": {
- "integration_id": "my-image-source"
}, - "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "acl": {
- "roles": {
- "property1": {
- "view": true,
- "modify": true,
- "manage": true
}, - "property2": {
- "view": true,
- "modify": true,
- "manage": true
}
}
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "meta": {
- "images_count": {
- "total": 0,
- "state": {
- "new": 0,
- "downloading": 0,
- "building": 0,
- "verifying": 0,
- "saving": 0,
- "live": 0,
- "deleting": 0
}
}
}
}
}, - "sources:identifiers": {
- "property1": [
- "651586fca6078e98982dbd90"
], - "property2": [
- "651586fca6078e98982dbd90"
]
}, - "integrations": {
- "property1": {
- "id": "651586fca6078e98982dbd90",
- "name": "string",
- "vendor": "string",
- "identifier": "string",
- "auth": {
- "region": "string",
- "namespace": "string",
- "api_key": "string",
- "key_id": "string",
- "secret": "string",
- "subscription_id": "string",
- "client_id": "string",
- "base64_config": "string"
}, - "extra": {
- "property1": "string",
- "property2": "string"
}, - "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "hub_id": "651586fca6078e98982dbd90",
- "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "meta": {
- "definition": {
- "vendor": "string",
- "name": "string",
- "supports_verification": true,
- "supports_multiple": true,
- "features": [
- "string"
], - "extends": [
- "string"
], - "extended_configuration": {
- "options": [
- { }
]
}, - "fields": {
- "extra": {
- "property1": { },
- "property2": { }
}, - "auth": {
- "property1": { },
- "property2": { }
}
}, - "public": true,
- "usable": true,
- "editable": true
}
}
}, - "property2": {
- "id": "651586fca6078e98982dbd90",
- "name": "string",
- "vendor": "string",
- "identifier": "string",
- "auth": {
- "region": "string",
- "namespace": "string",
- "api_key": "string",
- "key_id": "string",
- "secret": "string",
- "subscription_id": "string",
- "client_id": "string",
- "base64_config": "string"
}, - "extra": {
- "property1": "string",
- "property2": "string"
}, - "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "hub_id": "651586fca6078e98982dbd90",
- "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "meta": {
- "definition": {
- "vendor": "string",
- "name": "string",
- "supports_verification": true,
- "supports_multiple": true,
- "features": [
- "string"
], - "extends": [
- "string"
], - "extended_configuration": {
- "options": [
- { }
]
}, - "fields": {
- "extra": {
- "property1": { },
- "property2": { }
}, - "auth": {
- "property1": { },
- "property2": { }
}
}, - "public": true,
- "usable": true,
- "editable": true
}
}
}
}, - "integrations:identifiers": {
- "property1": [
- "651586fca6078e98982dbd90"
], - "property2": [
- "651586fca6078e98982dbd90"
]
}
}
}
Requires the images-manage
capability.
Returns an Image.
General error response from the platform
{- "name": "string"
}
{- "data": {
- "id": "651586fca6078e98982dbd90",
- "hub_id": "651586fca6078e98982dbd90",
- "name": "string",
- "size": 0,
- "about": {
- "description": "string"
}, - "backend": {
- "provider": "string",
- "size": 0,
- "file_name": "string",
- "file_id": "string"
}, - "requires": {
- "nvidia_gpu": true
}, - "build": {
- "args": {
- "property1": "string",
- "property2": "string"
}
}, - "builder": {
- "integration_id": "651586fca6078e98982dbd90"
}, - "config": {
- "user": "string",
- "ports": [
- {
- "host": 0,
- "container": 0,
- "type": "string"
}
], - "env": {
- "property1": "string",
- "property2": "string"
}, - "labels": {
- "property1": "string",
- "property2": "string"
}, - "command": [
- "string"
], - "entrypoint": [
- "string"
], - "volumes": [
- {
- "path": "string",
- "mode": "ro"
}
], - "workdir": "string",
- "signal_stop": "string"
}, - "source": {
- "type": "direct",
- "details": {
- "id": "string",
- "origin": {
- "type": "docker-hub",
- "details": {
- "existing": {
- "source_id": "651586fca6078e98982dbd90"
}, - "target": "string",
- "username": "string",
- "token": "string"
}
}
}, - "override": {
- "target": "string",
- "targz_url": "string"
}
}, - "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "factory": {
- "node_id": "string",
- "cached": "2021-01-30T08:30:00Z",
- "acknowledged": "2021-01-30T08:30:00Z"
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}, - "meta": {
- "containers_count": {
- "state": {
- "new": 0,
- "starting": 0,
- "running": 5,
- "stopping": 0,
- "deleting": 0,
- "deleted": 0
}, - "total": 5,
- "available": 5
}
}
}
}
Requires the images-manage
capability.
Returns a Job Descriptor.
General error response from the platform
{- "data": {
- "action": "string",
- "job": {
- "id": "string",
- "accepted": true,
- "queue": "string",
- "schedule": "2021-01-30T08:30:00Z",
- "parallel": {
- "sub_queue": "string",
- "tasks": true
}, - "tasks": [
- {
- "caption": "string",
- "header": "string",
- "steps": [
- {
- "caption": "string",
- "description": "string",
- "started": "2021-01-30T08:30:00Z",
- "completed": "2021-01-30T08:30:00Z"
}
], - "input": {
- "property1": null,
- "property2": null
}
}
]
}
}
}
Requires the images-view
capability.
Returns an Image's build log.
General error response from the platform
{- "data": {
- "id": "651586fca6078e98982dbd90",
- "hub_id": "651586fca6078e98982dbd90",
- "image_id": "string",
- "log": "string",
- "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}
}
}
Used to perform different actions on a given image.
Requires the images-manage
capability.
Returns a Job Descriptor.
General error response from the platform
{- "action": "prune",
- "contents": {
- "source_ids": [
- "string"
]
}
}
{- "data": {
- "action": "string",
- "job": {
- "id": "string",
- "accepted": true,
- "queue": "string",
- "schedule": "2021-01-30T08:30:00Z",
- "parallel": {
- "sub_queue": "string",
- "tasks": true
}, - "tasks": [
- {
- "caption": "string",
- "header": "string",
- "steps": [
- {
- "caption": "string",
- "description": "string",
- "started": "2021-01-30T08:30:00Z",
- "completed": "2021-01-30T08:30:00Z"
}
], - "input": {
- "property1": null,
- "property2": null
}
}
]
}
}
}
Used to perform different actions on a given Image.
Requires the images-import
capability.
Returns a Job Descriptor.
General error response from the platform
{- "action": "import"
}
{- "data": {
- "action": "string",
- "job": {
- "id": "string",
- "accepted": true,
- "queue": "string",
- "schedule": "2021-01-30T08:30:00Z",
- "parallel": {
- "sub_queue": "string",
- "tasks": true
}, - "tasks": [
- {
- "caption": "string",
- "header": "string",
- "steps": [
- {
- "caption": "string",
- "description": "string",
- "started": "2021-01-30T08:30:00Z",
- "completed": "2021-01-30T08:30:00Z"
}
], - "input": {
- "property1": null,
- "property2": null
}
}
]
}
}
}