...
Code Block |
---|
GET /namespaces/default/appClassesclasses/apps [ { "className": "co.cask.cdap.examples.myapp.MyApp", "artifact": { "name": "myapp", "version": "1.0.0" } } ] |
...
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> Artifact-Plugins: <json of plugins in the artifact> | Add a new artifact. Version header only needed if Bundle-Version is not in jar Manifest. If both present, header wins. Artifact plugins can be explicitly given as a header. This is to support the use case of 3rd party classes used as plugins, such as jdbc drivers | ||
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 | ||||
GET | /v3/namespaces/<namespace-id>/artifacts/<artifact-name>/versions/<version>/extensions |
| ||||
GET | /v3/namespaces/<namespace-id>/artifacts/<artifact-name>/versions/<version>/extensions/<plugin-type> | |||||
GET | /v3/namespaces/<namespace-id>/artifacts/<artifact-name>/versions/<version>/extensions/<plugin-type>/plugins/<plugin-name> | config properties can be nested now. For example:
| ||||
GET | /v3/namespaces/<namespace-id>/classes/appClassesapps | |||||
GET | /v3/namespaces/<namespace-id>/classes/appClassesapps/<app-classname> |
Template APIs (will be removed)
...