Initial Rest companion 5/21/19
Attach to twmanagedb, twversiondb
run queries from json files alternative put metadata in db connections queries CLI-pass-thru
Basic Authentication: curl -H "Accept:application/json" -H "Authentication:Basic username:token"
REST Examples: List of projects GET/api/projects Single project GET/api/projects/:id Project environments GET/api/projects/:id/environments Packages in project GET/api/projects/:id/packages Package details GET/api/projects/:project_id/packages/:id Deploy a package POST/api/projects/:project_id/packages/:id/deploy {environment: DEV} Create a package POST/api/projects/:project_id/packages/upload {packageName: V2.1, scripts [script1.sql, script2.sql]} (multipart with zip attachment) Project environment report GET/api/projects/:project_id/environments/:id/report > report.html