{ "info": { "_postman_id": "b197a952-f8b2-48b9-a65c-f26786ff4f6b", "name": "Releasr", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Create Environment", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"name\": \"dev\",\n \"version_url\": \"https://a.yat.fyi/version\",\n \"last_deployed_version\": 0\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://localhost:8080/environments", "protocol": "http", "host": [ "localhost" ], "port": "8080", "path": [ "environments" ] } }, "response": [] }, { "name": "New Note 1.0.0", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"version\": \"1.0.0\",\n \"note\": \"First release note\",\n \"environment\": \"dev\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://localhost:8080/notes", "protocol": "http", "host": [ "localhost" ], "port": "8080", "path": [ "notes" ] } }, "response": [] }, { "name": "New Note 1.0.2", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"version\": \"1.0.2\",\n \"note\": \"Second version release note\",\n \"environment\": \"dev\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://localhost:8080/notes", "protocol": "http", "host": [ "localhost" ], "port": "8080", "path": [ "notes" ] } }, "response": [] }, { "name": "New Note 1.0.3 all envs", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"version\": \"1.0.3\",\n \"note\": \"Third version release note for all envs\",\n \"environment\": \"*\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://localhost:8080/notes", "protocol": "http", "host": [ "localhost" ], "port": "8080", "path": [ "notes" ] } }, "response": [] }, { "name": "Get All Notes", "request": { "method": "GET", "header": [], "url": { "raw": "http://localhost:8080/notes", "protocol": "http", "host": [ "localhost" ], "port": "8080", "path": [ "notes" ] } }, "response": [] }, { "name": "Get <= 1.0.0 Notes", "request": { "method": "GET", "header": [], "url": { "raw": "http://localhost:8080/notes?version=1.0.0", "protocol": "http", "host": [ "localhost" ], "port": "8080", "path": [ "notes" ], "query": [ { "key": "version", "value": "1.0.0" } ] } }, "response": [] }, { "name": "Complete Release 1.0.1", "request": { "method": "PATCH", "header": [], "body": { "mode": "raw", "raw": "{\n \"version\": \"1.0.1\",\n \"environment\": \"dev\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://localhost:8080/notes", "protocol": "http", "host": [ "localhost" ], "port": "8080", "path": [ "notes" ] } }, "response": [] }, { "name": "Get <= 1.0.2 Notes", "request": { "method": "GET", "header": [], "url": { "raw": "http://localhost:8080/notes?version=1.0.2", "protocol": "http", "host": [ "localhost" ], "port": "8080", "path": [ "notes" ], "query": [ { "key": "version", "value": "1.0.2" } ] } }, "response": [] } ] }