...
Code Block |
---|
GET /groups/<group>/packages/<package>/versions/<version>/spec ex: GET /groups/examples/packages/PurchaseExample/versions/4.0.1/spec { "metadata": { "spec-version": "1.0", }, "name": "PurchaseExample", "label": "Purchase History", "description": "Example Application demonstrating usage of flows, workflows, mapreduce, and services.", "author": "Cask", "org": "Cask Data Inc.", "version": "4.0.1", "created": 1234567899, "changelog": [ "fixed a small parsing bug" ], "actions": [ { "type": "create_artifact", "arguments": [ { "widget-type": "constant", "name": "name", "value": "PurchaseHistoryExample" }, { "widget-type": "constant", "name": "version", "value": "4.0.1" }, { "widget-type": "constant", "name": "scope", "value": "user" }, { "widget-type": "constant", "name": "jar", "value": "PurchaseHistoryExample-4.0.1.jar" } ] }, { "type": "create_app", "arguments": [ { "widget-type": "textbox", "name": "name", "default": "PurchaseHistory" } ] } ], "dependencies": { "cdap": { "minVersion": "4.0.0", "maxVersion": "4.1.0" } } } |
...