{"info":{"_postman_id":"2f465799-c7bf-633a-a018-f2e52a58f4e8","name":"Zorya API Docs","description":"<html><head></head><body><p>Zorya GCP Instance Scheduler</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"1833850","collectionId":"2f465799-c7bf-633a-a018-f2e52a58f4e8","publishedId":"RVfyAV88","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2018-02-18T07:33:53.000Z"},"item":[{"name":"Add a  schedule","id":"cee90ec4-893f-1a76-5853-1b6cf6256b76","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"Shape\": [\n    7,\n    24\n  ],\n  \"timezone\": \"Europe/Amsterdam\",\n  \"Corder\": true,\n  \"__ndarray__\": [\n    [\n      0,\n      1,\n      1,\n      1,\n      1,\n      1,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0\n    ],\n    [\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      1,\n      1,\n      1,\n      1,\n      1,\n      1,\n      1,\n      1,\n      1,\n      1,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0\n    ],\n    [\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      1,\n      1,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0\n    ],\n    [\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0\n    ],\n    [\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      1,\n      1,\n      1,\n      1,\n      1,\n      0,\n      0,\n      0,\n      0,\n      0\n    ],\n    [\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0\n    ],\n    [\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0,\n      0\n    ]\n  ],\n  \"dtype\": \"int64\",\n  \"name\": \"my schedule name\"\n}"},"url":"http://localhost:8080/api/v1/add_schedule","urlObject":{"protocol":"http","port":"8080","path":["api","v1","add_schedule"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"cee90ec4-893f-1a76-5853-1b6cf6256b76"},{"name":"List schedules","id":"262c8e26-de48-01da-bda7-db3dc4797971","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:8080/api/v1/list_schedules","urlObject":{"protocol":"http","port":"8080","path":["api","v1","list_schedules"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"262c8e26-de48-01da-bda7-db3dc4797971"},{"name":"Delete  schedule","id":"4206b8ac-d27f-72c6-9c89-f4fad9149074","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:8080/api/v1/del_schedule?schedule=my schedule name","urlObject":{"protocol":"http","port":"8080","path":["api","v1","del_schedule"],"host":["localhost"],"query":[{"key":"schedule","value":"my schedule name"}],"variable":[]}},"response":[],"_postman_id":"4206b8ac-d27f-72c6-9c89-f4fad9149074"},{"name":"Get  schedule","id":"c86807e5-245d-e232-ed96-bedf01094f0a","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:8080/api/v1/get_schedule?schedule=my schedule name","urlObject":{"protocol":"http","port":"8080","path":["api","v1","get_schedule"],"host":["localhost"],"query":[{"key":"schedule","value":"my schedule name"}],"variable":[]}},"response":[],"_postman_id":"c86807e5-245d-e232-ed96-bedf01094f0a"},{"name":"Add policy","id":"92253587-03c0-cc7d-a8c0-11552ceee007","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"My policy\",\n  \"tags\": [\n    {\n      \"dev\": \"sleeper\",\n      \"staging\": \"resting\"\n    }\n  ],\n  \"projetcs\": [\n    \"project-x\",\n    \"y-project\"\n  ],\n  \"schedulename\": \"my schedule name\"\n}"},"url":"http://localhost:8080/api/v1/add_policy","urlObject":{"protocol":"http","port":"8080","path":["api","v1","add_policy"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"92253587-03c0-cc7d-a8c0-11552ceee007"},{"name":"Get policy","id":"62218845-cb92-7692-2bef-3c4b9f02d8c3","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"My policy\",\n  \"tags\": [\n    {\n      \"dev\": \"sleeper\",\n      \"staging\": \"resting\"\n    }\n  ],\n  \"projetcs\": [\n    \"project-x\",\n    \"y-project\"\n  ],\n  \"schedulename\": \"my schedule name\"\n}"},"url":"http://localhost:8080/api/v1/get_policy?policy=My policy","urlObject":{"protocol":"http","port":"8080","path":["api","v1","get_policy"],"host":["localhost"],"query":[{"key":"policy","value":"My policy"}],"variable":[]}},"response":[],"_postman_id":"62218845-cb92-7692-2bef-3c4b9f02d8c3"},{"name":"List policies","id":"1885e777-11d8-4378-35d9-10e689252e0c","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"My policy\",\n  \"tags\": [\n    {\n      \"dev\": \"sleeper\",\n      \"staging\": \"resting\"\n    }\n  ],\n  \"projetcs\": [\n    \"project-x\",\n    \"y-project\"\n  ],\n  \"schedulename\": \"my schedule name\"\n}"},"url":"http://localhost:8080/api/v1/list_policies","urlObject":{"protocol":"http","port":"8080","path":["api","v1","list_policies"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"1885e777-11d8-4378-35d9-10e689252e0c"},{"name":"Delete  policy","id":"9ceaaaff-9134-6ea3-f111-5a340f6187ea","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"My policy\",\n  \"tags\": [\n    {\n      \"dev\": \"sleeper\",\n      \"staging\": \"resting\"\n    }\n  ],\n  \"projetcs\": [\n    \"project-x\",\n    \"y-project\"\n  ],\n  \"schedulename\": \"my schedule name\"\n}"},"url":"http://localhost:8080/api/v1/del_policy?policy=My policy","urlObject":{"protocol":"http","port":"8080","path":["api","v1","del_policy"],"host":["localhost"],"query":[{"key":"policy","value":"My policy"}],"variable":[]}},"response":[],"_postman_id":"9ceaaaff-9134-6ea3-f111-5a340f6187ea"}]}