{"info":{"_postman_id":"9df062a8-f5dd-4051-ab50-6cef7c0a5924","name":"PostgresSQL - FastAPI","description":"<html><head></head><body><p>This collection is written for this <a href=\"https://github.com/jonathancychow/postgresql-fastapi\">repo</a>. It is a Python FastAPI wraper around PostgreSQL, the primarily use case is to record my running record but it can be modified easily. </p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"12154423","collectionId":"9df062a8-f5dd-4051-ab50-6cef7c0a5924","publishedId":"TW77g3o7","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-02-10T11:44:37.000Z"},"item":[{"name":"Add entry","id":"d1426f9e-5809-4a37-959c-9f423325d237","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:8000/add?intensity=3&distance=10&totaltime=00:23:45&date='01-Feb-2021'","urlObject":{"protocol":"http","port":"8000","path":["add"],"host":["localhost"],"query":[{"key":"intensity","value":"3"},{"key":"distance","value":"10"},{"key":"totaltime","value":"00:23:45"},{"key":"date","value":"'01-Feb-2021'"}],"variable":[]}},"response":[],"_postman_id":"d1426f9e-5809-4a37-959c-9f423325d237"},{"name":"Read All Entry","id":"9758793c-36e0-4c8b-818c-8643454245eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/readAll","urlObject":{"protocol":"http","port":"8000","path":["readAll"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"9758793c-36e0-4c8b-818c-8643454245eb"},{"name":"Read by Intensity level","event":[{"listen":"test","script":{"id":"47b8b4d4-5763-4b60-bec9-7a79841323ec","exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"response must be valid and have a body\", function () {\r","     pm.response.to.be.ok;\r","     pm.response.to.be.withBody;\r","     pm.response.to.be.json;\r","});"],"type":"text/javascript"}}],"id":"3c773a7e-9d2b-42a3-b7fc-7dc6a2500769","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/read/intensity?level=1","urlObject":{"protocol":"http","port":"8000","path":["read","intensity"],"host":["localhost"],"query":[{"key":"level","value":"1"}],"variable":[]}},"response":[],"_postman_id":"3c773a7e-9d2b-42a3-b7fc-7dc6a2500769"},{"name":"Read by Distance","id":"6e663dea-e503-4376-8510-925a4b4f6fcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/read/distance?distance=10","urlObject":{"protocol":"http","port":"8000","path":["read","distance"],"host":["localhost"],"query":[{"key":"distance","value":"10"}],"variable":[]}},"response":[],"_postman_id":"6e663dea-e503-4376-8510-925a4b4f6fcf"},{"name":"Read by Time","id":"35479a26-bb8a-4095-b453-c5c839a57e01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8000/read/time?time='00:25:30'","urlObject":{"protocol":"http","port":"8000","path":["read","time"],"host":["localhost"],"query":[{"key":"time","value":"'00:25:30'"}],"variable":[]}},"response":[],"_postman_id":"35479a26-bb8a-4095-b453-c5c839a57e01"},{"name":"Create Table","id":"665d5060-7af1-4257-97ff-9bbbfe76efa0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:8000/createTable","urlObject":{"protocol":"http","port":"8000","path":["createTable"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"665d5060-7af1-4257-97ff-9bbbfe76efa0"}],"event":[{"listen":"prerequest","script":{"id":"f8120ed1-0e3a-4e89-a3fe-df6e6e071e40","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6d9c061a-8f15-4b72-9f2f-9ffb583f4598","type":"text/javascript","exec":[""]}}]}