{ "info" : { "name" : "questlog api", "schema" : "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description" : { "content" : "Adventure planing tool." }, "version" : "0.0.1-dev" }, "item" : [ { "name" : "adventures", "item" : [ { "request" : { "url" : { "raw" : "{{BASE_URL}}/adventures", "host" : [ "{{BASE_URL}}" ], "path" : [ "adventures" ], "query" : [ ], "variable" : [ ] }, "method" : "POST", "header" : [ ] }, "name" : "POST /adventures", "event" : [ { "listen" : "test", "script" : { "exec" : [ "pm.test(\"POST requests should return 2xx\", function () {", " pm.response.to.be.success;", "});" ], "type" : "text/javascript" } } ], "response" : [ { "name" : "Example 201 - adventure", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/adventures", "host" : [ "{{BASE_URL}}" ], "path" : [ "adventures" ], "query" : [ ], "variable" : [ ] }, "method" : "POST", "header" : [ ] }, "body" : "{\n \"name\" : \"00b887dc566a\",\n \"location\" : \"db3a958927b0\",\n \"guid\" : \"6fc7736f-020a-45c6-96ad-d10d3b86ccbe\",\n \"description\" : \"95722ecff349\",\n \"participants\" : [ {\n \"person\" : {\n \"discriminator\" : \"guest\",\n \"email\" : \"46159f7eca07\",\n \"name\" : \"11980b01b54c\"\n },\n \"items\" : [ {\n \"name\" : \"0f62df326030\",\n \"size\" : 1,\n \"description\" : \"16eb0934aee4\",\n \"type\" : \"Utensils\"\n } ]\n } ],\n \"pack_lists\" : [ {\n \"name\" : \"42146b057013\",\n \"size\" : 1,\n \"description\" : \"6293a4ecb542\",\n \"type\" : \"Camp\"\n } ]\n}", "code" : 201 }, { "name" : "Example 409 - [error]", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/adventures", "host" : [ "{{BASE_URL}}" ], "path" : [ "adventures" ], "query" : [ ], "variable" : [ ] }, "method" : "POST", "header" : [ ] }, "body" : "[ {\n \"code\" : \"d8965262b04d\",\n \"message\" : \"5cd7a7904053\"\n} ]", "code" : 409 } ], "type" : "item" }, { "request" : { "url" : { "raw" : "{{BASE_URL}}/adventures", "host" : [ "{{BASE_URL}}" ], "path" : [ "adventures" ], "query" : [ { "key" : "guid", "disabled" : true, "description" : { "content" : "Type: uuid | Required: false" } }, { "key" : "name", "disabled" : true, "description" : { "content" : "Type: string | Required: false" } } ], "variable" : [ ] }, "method" : "GET", "header" : [ ] }, "name" : "GET /adventures", "event" : [ { "listen" : "test", "script" : { "exec" : [ "pm.test(\"GET requests should return 2xx\", function () {", " pm.response.to.be.success;", "});" ], "type" : "text/javascript" } } ], "response" : [ { "name" : "Example 200 - [adventure]", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/adventures", "host" : [ "{{BASE_URL}}" ], "path" : [ "adventures" ], "query" : [ { "key" : "guid", "disabled" : true, "description" : { "content" : "Type: uuid | Required: false" } }, { "key" : "name", "disabled" : true, "description" : { "content" : "Type: string | Required: false" } } ], "variable" : [ ] }, "method" : "GET", "header" : [ ] }, "body" : "[ {\n \"name\" : \"43f563c2806b\",\n \"location\" : \"9669a14454fe\",\n \"guid\" : \"01e49905-3571-4b7d-a736-67d0b601b7e2\",\n \"description\" : \"8a00cb77ac9d\",\n \"participants\" : [ {\n \"person\" : {\n \"discriminator\" : \"guest\",\n \"email\" : \"302048cf7b74\",\n \"name\" : \"09e0913242e2\"\n },\n \"items\" : [ {\n \"name\" : \"3e3e3c798cb2\",\n \"size\" : 1,\n \"description\" : \"9d7378649a44\",\n \"type\" : \"Food\"\n } ]\n } ],\n \"pack_lists\" : [ {\n \"name\" : \"900f40eb738d\",\n \"size\" : 1,\n \"description\" : \"b6fd49fa7739\",\n \"type\" : \"Gear\"\n } ]\n} ]", "code" : 200 } ], "type" : "item" }, { "request" : { "url" : { "raw" : "{{BASE_URL}}/adventures/:guid", "host" : [ "{{BASE_URL}}" ], "path" : [ "adventures", ":guid" ], "query" : [ ], "variable" : [ { "key" : "guid", "value" : "{{guid}}", "description" : { "content" : "Type: uuid | Required: true" }, "disabled" : false } ] }, "method" : "GET", "header" : [ ] }, "name" : "GET /adventures/:guid", "event" : [ { "listen" : "test", "script" : { "exec" : [ "pm.test(\"GET requests should return 2xx\", function () {", " pm.response.to.be.success;", "});" ], "type" : "text/javascript" } } ], "response" : [ { "name" : "Example 200 - adventure", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/adventures/:guid", "host" : [ "{{BASE_URL}}" ], "path" : [ "adventures", ":guid" ], "query" : [ ], "variable" : [ { "key" : "guid", "value" : "{{guid}}", "description" : { "content" : "Type: uuid | Required: true" }, "disabled" : false } ] }, "method" : "GET", "header" : [ ] }, "body" : "{\n \"name\" : \"1c4d203aa5c9\",\n \"location\" : \"b6f11bf9b46d\",\n \"guid\" : \"66ef51e8-e021-4db3-bde4-b55e3a7dd70c\",\n \"description\" : \"a8b9a1d57898\",\n \"participants\" : [ {\n \"person\" : {\n \"discriminator\" : \"guest\",\n \"email\" : \"c1988cf6bc8d\",\n \"name\" : \"73b21d94b525\"\n },\n \"items\" : [ {\n \"name\" : \"443bc77c676e\",\n \"size\" : 1,\n \"description\" : \"71ec346eef9c\",\n \"type\" : \"Utensils\"\n } ]\n } ],\n \"pack_lists\" : [ {\n \"name\" : \"cd0943d0202b\",\n \"size\" : 1,\n \"description\" : \"fd197fe74f00\",\n \"type\" : \"Gear\"\n } ]\n}", "code" : 200 } ], "type" : "item" } ], "type" : "folder" } ], "event" : [ ], "variable" : [ { "key" : "BASE_URL", "value" : "https://api.questlog.io", "type" : "string" } ] }