...
Type | Path | Body | Headers | Description |
---|---|---|---|---|
GET | /v3/namespaces/<namespace-id>/apps?label=<label> | for example, to get all "ETLBatch" applications | ||
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> | { 'artifact': 'name-version', 'config': { ... } } | Content-Type: application/json | create an application from an existing artifact. Note: Edits existing API, different behavior based on content-type |
PUT | /v3/namespaces/<namespace-id>/apps/<app-name>/properties | { 'artifact': 'name-version', 'config': { ... } } | update an existing application. No programs can be running |
...