{ "info" : { "name" : "roadquality", "schema" : "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description" : { "content" : "Crowd-sourced road quality data" }, "version" : "0.0.13" }, "item" : [ { "name" : "mapRoutes", "item" : [ { "request" : { "url" : { "raw" : "{{BASE_URL}}/mapRoutes/snap", "host" : [ "{{BASE_URL}}" ], "path" : [ "mapRoutes", "snap" ], "query" : [ { "key" : "lat", "disabled" : false, "description" : { "content" : "Type: double | Required: true" } }, { "key" : "lng", "disabled" : false, "description" : { "content" : "Type: double | Required: true" } } ], "variable" : [ ] }, "method" : "GET", "header" : [ ] }, "name" : "GET /mapRoutes/snap", "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 - point", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/mapRoutes/snap", "host" : [ "{{BASE_URL}}" ], "path" : [ "mapRoutes", "snap" ], "query" : [ { "key" : "lat", "disabled" : false, "description" : { "content" : "Type: double | Required: true" } }, { "key" : "lng", "disabled" : false, "description" : { "content" : "Type: double | Required: true" } } ], "variable" : [ ] }, "method" : "GET", "header" : [ ] }, "body" : "{\n \"lat\" : 1,\n \"lng\" : 1\n}", "code" : 200 } ], "type" : "item" }, { "request" : { "url" : { "raw" : "{{BASE_URL}}/mapRoutes/:points", "host" : [ "{{BASE_URL}}" ], "path" : [ "mapRoutes", ":points" ], "query" : [ ], "variable" : [ { "key" : "points", "value" : "-79.85386,43.263658;-79.855403,43.263368", "description" : { "content" : "Comma separated lnglat, semicolon separated points" }, "disabled" : false } ] }, "method" : "GET", "header" : [ ] }, "name" : "GET /mapRoutes/:points", "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 - mapRoute", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/mapRoutes/:points", "host" : [ "{{BASE_URL}}" ], "path" : [ "mapRoutes", ":points" ], "query" : [ ], "variable" : [ { "key" : "points", "value" : "-79.85386,43.263658;-79.855403,43.263368", "description" : { "content" : "Comma separated lnglat, semicolon separated points" }, "disabled" : false } ] }, "method" : "GET", "header" : [ ] }, "body" : "{\n \"polyline\" : \"ba2d857ab298\",\n \"distance\" : 1\n}", "code" : 200 } ], "type" : "item" } ], "type" : "folder" }, { "name" : "segments", "item" : [ { "request" : { "url" : { "raw" : "{{BASE_URL}}/segments", "host" : [ "{{BASE_URL}}" ], "path" : [ "segments" ], "query" : [ { "key" : "segmentId", "disabled" : true, "description" : { "content" : "Type: uuid | Required: false" } } ], "variable" : [ ] }, "method" : "GET", "description" : { "content" : "Search all segments" }, "header" : [ ] }, "name" : "GET /segments", "description" : { "content" : "Search all segments" }, "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 - [segment]", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/segments", "host" : [ "{{BASE_URL}}" ], "path" : [ "segments" ], "query" : [ { "key" : "segmentId", "disabled" : true, "description" : { "content" : "Type: uuid | Required: false" } } ], "variable" : [ ] }, "method" : "GET", "description" : { "content" : "Search all segments" }, "header" : [ ] }, "body" : "[ {\n \"created_by\" : \"54078263-7674-4cf3-b108-d7fcafe39883\",\n \"name\" : \"e8a38b9d5046\",\n \"polyline\" : \"841747521d63\",\n \"description\" : \"97bf86db8b30\",\n \"hidden\" : true,\n \"id\" : \"501efe60-1278-4fc5-9062-e786acc881e7\"\n} ]", "code" : 200 } ], "type" : "item" }, { "request" : { "url" : { "raw" : "{{BASE_URL}}/segments/boundingbox", "host" : [ "{{BASE_URL}}" ], "path" : [ "segments", "boundingbox" ], "query" : [ { "key" : "xmin", "disabled" : true, "description" : { "content" : "Type: double | Required: false" } }, { "key" : "ymin", "disabled" : true, "description" : { "content" : "Type: double | Required: false" } }, { "key" : "xmax", "disabled" : true, "description" : { "content" : "Type: double | Required: false" } }, { "key" : "ymax", "disabled" : true, "description" : { "content" : "Type: double | Required: false" } } ], "variable" : [ ] }, "method" : "GET", "description" : { "content" : "Search all segments within a bounding box" }, "header" : [ ] }, "name" : "GET /segments/boundingbox", "description" : { "content" : "Search all segments within a bounding box" }, "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 - [segment]", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/segments/boundingbox", "host" : [ "{{BASE_URL}}" ], "path" : [ "segments", "boundingbox" ], "query" : [ { "key" : "xmin", "disabled" : true, "description" : { "content" : "Type: double | Required: false" } }, { "key" : "ymin", "disabled" : true, "description" : { "content" : "Type: double | Required: false" } }, { "key" : "xmax", "disabled" : true, "description" : { "content" : "Type: double | Required: false" } }, { "key" : "ymax", "disabled" : true, "description" : { "content" : "Type: double | Required: false" } } ], "variable" : [ ] }, "method" : "GET", "description" : { "content" : "Search all segments within a bounding box" }, "header" : [ ] }, "body" : "[ {\n \"created_by\" : \"c9af405c-cf49-4d08-aff1-00c29cce85ba\",\n \"name\" : \"e79d620009ab\",\n \"polyline\" : \"0d315ed1b0da\",\n \"description\" : \"ddd10b49b224\",\n \"hidden\" : true,\n \"id\" : \"dbfd3c62-813e-417d-804f-cc1b4c8f76ba\"\n} ]", "code" : 200 }, { "name" : "Example 404 - string", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/segments/boundingbox", "host" : [ "{{BASE_URL}}" ], "path" : [ "segments", "boundingbox" ], "query" : [ { "key" : "xmin", "disabled" : true, "description" : { "content" : "Type: double | Required: false" } }, { "key" : "ymin", "disabled" : true, "description" : { "content" : "Type: double | Required: false" } }, { "key" : "xmax", "disabled" : true, "description" : { "content" : "Type: double | Required: false" } }, { "key" : "ymax", "disabled" : true, "description" : { "content" : "Type: double | Required: false" } } ], "variable" : [ ] }, "method" : "GET", "description" : { "content" : "Search all segments within a bounding box" }, "header" : [ ] }, "body" : "\"4592ac02da3b\"", "code" : 404 } ], "type" : "item" }, { "request" : { "url" : { "raw" : "{{BASE_URL}}/segments", "host" : [ "{{BASE_URL}}" ], "path" : [ "segments" ], "query" : [ { "key" : "currentZoomLevel", "disabled" : true, "description" : { "content" : "Type: integer | Required: false" } }, { "key" : "hidden", "disabled" : true, "description" : { "content" : "Type: boolean | Required: false" } } ], "variable" : [ ] }, "method" : "POST", "header" : [ { "key" : "Content-Type", "value" : "application/json", "description" : { "content" : "Required to send JSON body" } } ], "body" : { "raw" : "{\n \"name\" : \"75fd88bd29de\",\n \"surfaceRating\" : 1,\n \"description\" : \"17cca8918805\",\n \"surfaceType\" : \"gravel\",\n \"pathType\" : \"bikePath\",\n \"polylines\" : [ \"db1e8a889973\" ],\n \"trafficRating\" : 1\n}", "mode" : "raw" } }, "name" : "POST /segments", "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 - segment", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/segments", "host" : [ "{{BASE_URL}}" ], "path" : [ "segments" ], "query" : [ { "key" : "currentZoomLevel", "disabled" : true, "description" : { "content" : "Type: integer | Required: false" } }, { "key" : "hidden", "disabled" : true, "description" : { "content" : "Type: boolean | Required: false" } } ], "variable" : [ ] }, "method" : "POST", "header" : [ { "key" : "Content-Type", "value" : "application/json", "description" : { "content" : "Required to send JSON body" } } ], "body" : { "raw" : "{\n \"name\" : \"75fd88bd29de\",\n \"surfaceRating\" : 1,\n \"description\" : \"17cca8918805\",\n \"surfaceType\" : \"gravel\",\n \"pathType\" : \"bikePath\",\n \"polylines\" : [ \"db1e8a889973\" ],\n \"trafficRating\" : 1\n}", "mode" : "raw" } }, "body" : "{\n \"created_by\" : \"2716e273-93b3-4f7b-a14d-2df4dff8bde6\",\n \"name\" : \"e2027ae31573\",\n \"polyline\" : \"d0f665c48c13\",\n \"description\" : \"bae7c9867c36\",\n \"hidden\" : true,\n \"id\" : \"63cd12e3-8d7a-4429-8c9f-f1245b8da1ea\"\n}", "code" : 201 }, { "name" : "Example 400 - string", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/segments", "host" : [ "{{BASE_URL}}" ], "path" : [ "segments" ], "query" : [ { "key" : "currentZoomLevel", "disabled" : true, "description" : { "content" : "Type: integer | Required: false" } }, { "key" : "hidden", "disabled" : true, "description" : { "content" : "Type: boolean | Required: false" } } ], "variable" : [ ] }, "method" : "POST", "header" : [ { "key" : "Content-Type", "value" : "application/json", "description" : { "content" : "Required to send JSON body" } } ], "body" : { "raw" : "{\n \"name\" : \"75fd88bd29de\",\n \"surfaceRating\" : 1,\n \"description\" : \"17cca8918805\",\n \"surfaceType\" : \"gravel\",\n \"pathType\" : \"bikePath\",\n \"polylines\" : [ \"db1e8a889973\" ],\n \"trafficRating\" : 1\n}", "mode" : "raw" } }, "body" : "\"de69357d2a73\"", "code" : 400 } ], "type" : "item" }, { "request" : { "url" : { "raw" : "{{BASE_URL}}/segments", "host" : [ "{{BASE_URL}}" ], "path" : [ "segments" ], "query" : [ { "key" : "segmentId", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } } ], "variable" : [ ] }, "method" : "PUT", "header" : [ { "key" : "Content-Type", "value" : "application/json", "description" : { "content" : "Required to send JSON body" } } ], "body" : { "raw" : "{\n \"name\" : \"0058aaddec7d\",\n \"surfaceRating\" : 1,\n \"description\" : \"b2a21883c231\",\n \"surfaceType\" : \"dirt\",\n \"trafficRating\" : 1,\n \"pathType\" : \"dedicatedLane\"\n}", "mode" : "raw" } }, "name" : "PUT /segments", "event" : [ { "listen" : "test", "script" : { "exec" : [ "pm.test(\"PUT requests should return 2xx\", function () {", " pm.response.to.be.success;", "});" ], "type" : "text/javascript" } } ], "response" : [ { "name" : "Example 200 - segment", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/segments", "host" : [ "{{BASE_URL}}" ], "path" : [ "segments" ], "query" : [ { "key" : "segmentId", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } } ], "variable" : [ ] }, "method" : "PUT", "header" : [ { "key" : "Content-Type", "value" : "application/json", "description" : { "content" : "Required to send JSON body" } } ], "body" : { "raw" : "{\n \"name\" : \"0058aaddec7d\",\n \"surfaceRating\" : 1,\n \"description\" : \"b2a21883c231\",\n \"surfaceType\" : \"dirt\",\n \"trafficRating\" : 1,\n \"pathType\" : \"dedicatedLane\"\n}", "mode" : "raw" } }, "body" : "{\n \"created_by\" : \"df1b032d-453c-4deb-8132-e1612aab34fa\",\n \"name\" : \"6cc165a4ebc1\",\n \"polyline\" : \"2a3f235fc281\",\n \"description\" : \"c19ea61db59a\",\n \"hidden\" : true,\n \"id\" : \"8fc5bb1d-3c02-4073-a818-d6806390be4f\"\n}", "code" : 200 }, { "name" : "Example 400 - string", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/segments", "host" : [ "{{BASE_URL}}" ], "path" : [ "segments" ], "query" : [ { "key" : "segmentId", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } } ], "variable" : [ ] }, "method" : "PUT", "header" : [ { "key" : "Content-Type", "value" : "application/json", "description" : { "content" : "Required to send JSON body" } } ], "body" : { "raw" : "{\n \"name\" : \"0058aaddec7d\",\n \"surfaceRating\" : 1,\n \"description\" : \"b2a21883c231\",\n \"surfaceType\" : \"dirt\",\n \"trafficRating\" : 1,\n \"pathType\" : \"dedicatedLane\"\n}", "mode" : "raw" } }, "body" : "\"ad703ba82fda\"", "code" : 400 }, { "name" : "Example 404 - string", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/segments", "host" : [ "{{BASE_URL}}" ], "path" : [ "segments" ], "query" : [ { "key" : "segmentId", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } } ], "variable" : [ ] }, "method" : "PUT", "header" : [ { "key" : "Content-Type", "value" : "application/json", "description" : { "content" : "Required to send JSON body" } } ], "body" : { "raw" : "{\n \"name\" : \"0058aaddec7d\",\n \"surfaceRating\" : 1,\n \"description\" : \"b2a21883c231\",\n \"surfaceType\" : \"dirt\",\n \"trafficRating\" : 1,\n \"pathType\" : \"dedicatedLane\"\n}", "mode" : "raw" } }, "body" : "\"768373b29505\"", "code" : 404 } ], "type" : "item" } ], "type" : "folder" }, { "name" : "segmentRatings", "item" : [ { "request" : { "url" : { "raw" : "{{BASE_URL}}/segmentRatings", "host" : [ "{{BASE_URL}}" ], "path" : [ "segmentRatings" ], "query" : [ { "key" : "id", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } } ], "variable" : [ ] }, "method" : "GET", "header" : [ ] }, "name" : "GET /segmentRatings", "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 - segmentRating", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/segmentRatings", "host" : [ "{{BASE_URL}}" ], "path" : [ "segmentRatings" ], "query" : [ { "key" : "id", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } } ], "variable" : [ ] }, "method" : "GET", "header" : [ ] }, "body" : "{\n \"deletedAt\" : \"2026-12-02T04:08:09.123Z\",\n \"updatedAt\" : \"2026-12-02T04:08:09.123Z\",\n \"surfaceRating\" : 1,\n \"segmentId\" : \"75cfb495-ae47-4e77-a2c9-034ec3726a62\",\n \"id\" : \"c3b4c62b-a25c-4a14-ab05-2461eb7a4b69\",\n \"surfaceType\" : \"asphalt\",\n \"createdAt\" : \"2026-12-02T04:08:09.123Z\",\n \"trafficRating\" : 1,\n \"userId\" : \"d83f6fe2-e0e4-427b-9121-b57cb65e16df\",\n \"pathType\" : \"shared\"\n}", "code" : 200 } ], "type" : "item" }, { "request" : { "url" : { "raw" : "{{BASE_URL}}/segmentRatings", "host" : [ "{{BASE_URL}}" ], "path" : [ "segmentRatings" ], "query" : [ { "key" : "id", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } }, { "key" : "currentZoomLevel", "disabled" : true, "description" : { "content" : "Type: integer | Required: false" } } ], "variable" : [ ] }, "method" : "POST", "header" : [ { "key" : "Content-Type", "value" : "application/json", "description" : { "content" : "Required to send JSON body" } } ], "body" : { "raw" : "{\n \"name\" : \"910d4cd1f205\",\n \"surfaceRating\" : 1,\n \"description\" : \"4681b26fc4ef\",\n \"surfaceType\" : \"asphalt\",\n \"pathType\" : \"shared\",\n \"polylines\" : [ \"9d0499405914\" ],\n \"trafficRating\" : 1\n}", "mode" : "raw" } }, "name" : "POST /segmentRatings", "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 - segment", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/segmentRatings", "host" : [ "{{BASE_URL}}" ], "path" : [ "segmentRatings" ], "query" : [ { "key" : "id", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } }, { "key" : "currentZoomLevel", "disabled" : true, "description" : { "content" : "Type: integer | Required: false" } } ], "variable" : [ ] }, "method" : "POST", "header" : [ { "key" : "Content-Type", "value" : "application/json", "description" : { "content" : "Required to send JSON body" } } ], "body" : { "raw" : "{\n \"name\" : \"910d4cd1f205\",\n \"surfaceRating\" : 1,\n \"description\" : \"4681b26fc4ef\",\n \"surfaceType\" : \"asphalt\",\n \"pathType\" : \"shared\",\n \"polylines\" : [ \"9d0499405914\" ],\n \"trafficRating\" : 1\n}", "mode" : "raw" } }, "body" : "{\n \"created_by\" : \"e03c5e26-055d-4ff4-a27d-b624d773db9f\",\n \"name\" : \"64dbf454c0d9\",\n \"polyline\" : \"8f124526eb34\",\n \"description\" : \"2f7bddb4d8bf\",\n \"hidden\" : true,\n \"id\" : \"6fa8a484-bbfc-44c7-8de3-302c382e2146\"\n}", "code" : 201 }, { "name" : "Example 400 - string", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/segmentRatings", "host" : [ "{{BASE_URL}}" ], "path" : [ "segmentRatings" ], "query" : [ { "key" : "id", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } }, { "key" : "currentZoomLevel", "disabled" : true, "description" : { "content" : "Type: integer | Required: false" } } ], "variable" : [ ] }, "method" : "POST", "header" : [ { "key" : "Content-Type", "value" : "application/json", "description" : { "content" : "Required to send JSON body" } } ], "body" : { "raw" : "{\n \"name\" : \"910d4cd1f205\",\n \"surfaceRating\" : 1,\n \"description\" : \"4681b26fc4ef\",\n \"surfaceType\" : \"asphalt\",\n \"pathType\" : \"shared\",\n \"polylines\" : [ \"9d0499405914\" ],\n \"trafficRating\" : 1\n}", "mode" : "raw" } }, "body" : "\"c71c54afd57e\"", "code" : 400 } ], "type" : "item" }, { "request" : { "url" : { "raw" : "{{BASE_URL}}/segmentRatings", "host" : [ "{{BASE_URL}}" ], "path" : [ "segmentRatings" ], "query" : [ { "key" : "id", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } } ], "variable" : [ ] }, "method" : "DELETE", "header" : [ ] }, "name" : "DELETE /segmentRatings", "response" : [ { "name" : "Example 202 - boolean", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/segmentRatings", "host" : [ "{{BASE_URL}}" ], "path" : [ "segmentRatings" ], "query" : [ { "key" : "id", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } } ], "variable" : [ ] }, "method" : "DELETE", "header" : [ ] }, "body" : "true", "code" : 202 }, { "name" : "Example 404 - string", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/segmentRatings", "host" : [ "{{BASE_URL}}" ], "path" : [ "segmentRatings" ], "query" : [ { "key" : "id", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } } ], "variable" : [ ] }, "method" : "DELETE", "header" : [ ] }, "body" : "\"396d80798028\"", "code" : 404 } ], "type" : "item" } ], "type" : "folder" }, { "name" : "users", "item" : [ { "request" : { "url" : { "raw" : "{{BASE_URL}}/users", "host" : [ "{{BASE_URL}}" ], "path" : [ "users" ], "query" : [ ], "variable" : [ ] }, "method" : "GET", "header" : [ ] }, "name" : "GET /users", "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 - [user]", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/users", "host" : [ "{{BASE_URL}}" ], "path" : [ "users" ], "query" : [ ], "variable" : [ ] }, "method" : "GET", "header" : [ ] }, "body" : "[ {\n \"updatedAt\" : \"2026-12-02T04:08:09.123Z\",\n \"stravaToken\" : \"d67850e530d2\",\n \"country\" : \"9b9888db2f20\",\n \"sex\" : \"b7918845b91a\",\n \"lastName\" : \"f49d5c98c118\",\n \"deletedAt\" : \"2026-12-02T04:08:09.123Z\",\n \"city\" : \"93d63cac483f\",\n \"email\" : \"da6bc9956242\",\n \"role\" : \"admin\",\n \"firstName\" : \"9a3f7ca6792c\",\n \"birthdate\" : \"2026-12-02T04:08:09.123Z\",\n \"id\" : \"fd281bed-f769-4136-902f-1f30e7dd3c1a\",\n \"createdAt\" : \"2026-12-02T04:08:09.123Z\",\n \"province\" : \"8657e06e6fbb\"\n} ]", "code" : 200 }, { "name" : "Example 401 - string", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/users", "host" : [ "{{BASE_URL}}" ], "path" : [ "users" ], "query" : [ ], "variable" : [ ] }, "method" : "GET", "header" : [ ] }, "body" : "\"597a99b01d42\"", "code" : 401 } ], "type" : "item" }, { "request" : { "url" : { "raw" : "{{BASE_URL}}/users", "host" : [ "{{BASE_URL}}" ], "path" : [ "users" ], "query" : [ { "key" : "userId", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } } ], "variable" : [ ] }, "method" : "PUT", "header" : [ { "key" : "Content-Type", "value" : "application/json", "description" : { "content" : "Required to send JSON body" } } ], "body" : { "raw" : "{\n \"birthdate\" : \"2026-12-02T04:08:09.123Z\",\n \"sex\" : \"8ebd0431e1c7\"\n}", "mode" : "raw" } }, "name" : "PUT /users", "event" : [ { "listen" : "test", "script" : { "exec" : [ "pm.test(\"PUT requests should return 2xx\", function () {", " pm.response.to.be.success;", "});" ], "type" : "text/javascript" } } ], "response" : [ { "name" : "Example 202 - user", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/users", "host" : [ "{{BASE_URL}}" ], "path" : [ "users" ], "query" : [ { "key" : "userId", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } } ], "variable" : [ ] }, "method" : "PUT", "header" : [ { "key" : "Content-Type", "value" : "application/json", "description" : { "content" : "Required to send JSON body" } } ], "body" : { "raw" : "{\n \"birthdate\" : \"2026-12-02T04:08:09.123Z\",\n \"sex\" : \"8ebd0431e1c7\"\n}", "mode" : "raw" } }, "body" : "{\n \"updatedAt\" : \"2026-12-02T04:08:09.123Z\",\n \"stravaToken\" : \"48b67238564e\",\n \"country\" : \"b855bcaded64\",\n \"sex\" : \"52631479aca0\",\n \"lastName\" : \"b5aa6ecbf5e2\",\n \"deletedAt\" : \"2026-12-02T04:08:09.123Z\",\n \"city\" : \"1e82085a15be\",\n \"email\" : \"590aabd17ae0\",\n \"role\" : \"user\",\n \"firstName\" : \"c817cdd275ae\",\n \"birthdate\" : \"2026-12-02T04:08:09.123Z\",\n \"id\" : \"2ee9f9c1-59a4-4fde-aee5-a9b3ec8d516a\",\n \"createdAt\" : \"2026-12-02T04:08:09.123Z\",\n \"province\" : \"e4fd756dd444\"\n}", "code" : 202 }, { "name" : "Example 404 - string", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/users", "host" : [ "{{BASE_URL}}" ], "path" : [ "users" ], "query" : [ { "key" : "userId", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } } ], "variable" : [ ] }, "method" : "PUT", "header" : [ { "key" : "Content-Type", "value" : "application/json", "description" : { "content" : "Required to send JSON body" } } ], "body" : { "raw" : "{\n \"birthdate\" : \"2026-12-02T04:08:09.123Z\",\n \"sex\" : \"8ebd0431e1c7\"\n}", "mode" : "raw" } }, "body" : "\"4cf065c56738\"", "code" : 404 } ], "type" : "item" }, { "request" : { "url" : { "raw" : "{{BASE_URL}}/users", "host" : [ "{{BASE_URL}}" ], "path" : [ "users" ], "query" : [ { "key" : "userId", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } } ], "variable" : [ ] }, "method" : "DELETE", "header" : [ ] }, "name" : "DELETE /users", "response" : [ { "name" : "Example 202 - user", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/users", "host" : [ "{{BASE_URL}}" ], "path" : [ "users" ], "query" : [ { "key" : "userId", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } } ], "variable" : [ ] }, "method" : "DELETE", "header" : [ ] }, "body" : "{\n \"updatedAt\" : \"2026-12-02T04:08:09.123Z\",\n \"stravaToken\" : \"1e692e865241\",\n \"country\" : \"252ecb8c1550\",\n \"sex\" : \"d9747c92569b\",\n \"lastName\" : \"ba8748092a49\",\n \"deletedAt\" : \"2026-12-02T04:08:09.123Z\",\n \"city\" : \"8528d12e39f4\",\n \"email\" : \"d9237d9bcc48\",\n \"role\" : \"admin\",\n \"firstName\" : \"4761c8414aca\",\n \"birthdate\" : \"2026-12-02T04:08:09.123Z\",\n \"id\" : \"55661cfe-31e1-4302-9add-f3adf9c07b9e\",\n \"createdAt\" : \"2026-12-02T04:08:09.123Z\",\n \"province\" : \"9febb93381cd\"\n}", "code" : 202 }, { "name" : "Example 404 - string", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/users", "host" : [ "{{BASE_URL}}" ], "path" : [ "users" ], "query" : [ { "key" : "userId", "disabled" : false, "description" : { "content" : "Type: uuid | Required: true" } } ], "variable" : [ ] }, "method" : "DELETE", "header" : [ ] }, "body" : "\"007401c4c1f9\"", "code" : 404 } ], "type" : "item" } ], "type" : "folder" }, { "name" : "info", "item" : [ { "request" : { "url" : { "raw" : "{{BASE_URL}}/info", "host" : [ "{{BASE_URL}}" ], "path" : [ "info" ], "query" : [ ], "variable" : [ ] }, "method" : "GET", "header" : [ ] }, "name" : "GET /info", "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 - versionInfo", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/info", "host" : [ "{{BASE_URL}}" ], "path" : [ "info" ], "query" : [ ], "variable" : [ ] }, "method" : "GET", "header" : [ ] }, "body" : "{\n \"name\" : \"04d8c47cb4b9\",\n \"version\" : \"84bb4cd78015\",\n \"scalaVersion\" : \"dce26f64fd26\",\n \"sbtVersion\" : \"ffc1b87a4fa0\"\n}", "code" : 200 } ], "type" : "item" } ], "type" : "folder" } ], "event" : [ ], "variable" : [ { "key" : "BASE_URL", "value" : "", "type" : "string" } ] }