...
Type | Path | Body | Headers | Description | ||
---|---|---|---|---|---|---|
GET | /v3/namespaces/<namespace-id>/apps?artifactName=<name>[&artifactVersion=<version>] | get all apps using the given artifact name and version | ||||
POST | /v3/namespaces/<namespace-id>/apps | application jar contents | Application-Config: <json of config> | same as deploy api today, except allows passing config as a header | ||
PUT | /v3/namespaces/<namespace-id>/apps/<app-name> | application jar contents | Application-Config: <json of config> | same as deploy api today, except allows passing config as a header | ||
PUT | /v3/namespaces/<namespace-id>/apps/<app-name> |
| Content-Type: application/json | create an application from an existing artifact. Note: Edits existing API, different behavior based on content-type | ||
PUTPOST | /v3/namespaces/<namespace-id>/apps/<app-name>/propertiesupdate |
| update an existing application. No programs can be running |
...
Type | Path | Body | Headers | Description | ||
---|---|---|---|---|---|---|
GET | /v3/namespaces/<namespace-id>/artifacts | |||||
GET | /v3/namespaces/<namespace-id>/artifacts/<artifact-name> | Get data about all artifact versions | ||||
POST | /v3/namespaces/<namespace-id>/artifacts/<artifact-name> | jar contents | Artifact-Version: <version> | Add a new artifact. Version header only needed if Bundle-Version is not in jar Manifest. If both present, header wins. | ||
GET | /v3/namespaces/<namespace-id>/artifacts/<artifact-name>/versions/<version> | Get details about the artifact, such as what plugins and applications are in the artifact and properties they support | ||||
PUT | /v3/namespaces/<namespace-id>/artifacts/<artifact-name>/versions/<version>/classes | list of classes contained in the jar | This is required for 3rd party jars, such as the mysql jdbc connector. It is the equivalent of the .json file we have in 3.0 | |||
GET | /v3/namespaces/<namespace-id>/classes/plugintypes/artifacts/<artifact-name>/versions/<version>/extensions |
| ||||
GET | /v3/namespaces/<namespace-id>/classes/plugintypes/artifacts/<artifact-name>/versions/<version>/extensions/<plugin-type> | |||||
GET | /v3/namespaces/<namespace-id>/classes/plugintypesartifacts/<artifact-name>/versions/<version>/extensions/<plugin-type>/plugins/<plugin-name> | config properties can be nested now. For example:
| ||||
GET | /v3/namespaces/<namespace-id>/classes/appsappClasses | |||||
GET | /v3/namespaces/<namespace-id>/classesappClasses/apps/<app-classname> |
Template APIs (will be removed)
Type | Path | Replaced By |
---|---|---|
GET | /v3/templates | |
GET | /v3/templates/<template-name> | |
GET | /v3/templates/<template-name>/extensions/<plugin-type> | /v3/namespaces/<namespace-id>/classes/plugintypesartifacts/<artifact-name>/versions/<version>/extensions/<plugin-type> |
GET | /v3/templates/<template-name>/extensions/<plugin-type>/plugins/<plugin-name> | /v3/namespaces/<namespace-id>/classes/plugintypes/artifacts/<artifact-name>/versions/<version>/extensions/<plugin-type>/plugins/<plugin-name> |
PUT | /v3/namespaces/<namespace-id>/templates/<template-id> | |
GET | /v3/namespaces/<namespace-id>/adapters | |
GET | /v3/namespaces/<namespace-id>/adapters/<adapter-name> | |
POST | /v3/namespaces/<namespace-id>/adapters/<adapter-name>/start | |
POST | /v3/namespaces/<namespace-id>/adapters/<adapter-name>/stop | |
GET | /v3/namespaces/<namespace-id>/adapters/<adapter-name>/status | |
GET | /v3/namespaces/<namespace-id>/adapters/<adapter-name>/runs | |
GET | /v3/namespaces/<namespace-id>/adapters/<adapter-name>/runs/<run-id> | |
DELETE | /v3/namespaces/<namespace-id>/adapters/<adapter-name> |