{"info":{"_postman_id":"d9a496fb-4ac6-4d17-9316-67837e30cd14","name":"Splitwise API (Setu)","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"4935333","collectionId":"d9a496fb-4ac6-4d17-9316-67837e30cd14","publishedId":"TzJoDzxS","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-04-12T18:39:44.000Z"},"item":[{"name":"User","item":[{"name":"Get the list of users","id":"122f92f6-877d-4ca8-86da-ada354cf7a3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://setu-flask-app.herokuapp.com/api/v1/user","urlObject":{"protocol":"https","path":["api","v1","user"],"host":["setu-flask-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"122f92f6-877d-4ca8-86da-ada354cf7a3d"},{"name":"Get the user details with user_id","id":"3c7da914-f2a3-4df0-8e76-cc9d74ade419","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://setu-flask-app.herokuapp.com/api/v1/user/60744c2592f913ba0c9864e2","urlObject":{"protocol":"https","path":["api","v1","user","60744c2592f913ba0c9864e2"],"host":["setu-flask-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c7da914-f2a3-4df0-8e76-cc9d74ade419"},{"name":"Create user","id":"860ded23-cdae-4838-9dcb-744784ff04e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Eve\"\n}","options":{"raw":{"language":"json"}}},"url":"https://setu-flask-app.herokuapp.com/api/v1/user","urlObject":{"protocol":"https","path":["api","v1","user"],"host":["setu-flask-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"860ded23-cdae-4838-9dcb-744784ff04e8"}],"id":"52e2962b-9f5b-4345-978b-0248fc0f3db0","_postman_id":"52e2962b-9f5b-4345-978b-0248fc0f3db0","description":""},{"name":"Group","item":[{"name":"Create group with members","id":"4b45fe6c-267b-4a95-abc4-5b01b30db809","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Home\",\n    \"members\": [\n        \"60744c2592f913ba0c9864e2\",\n        \"60744d4c9d89ecdf6fc18955\",\n        \"60744d569d89ecdf6fc18956\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://setu-flask-app.herokuapp.com/api/v1/group","urlObject":{"protocol":"https","path":["api","v1","group"],"host":["setu-flask-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4b45fe6c-267b-4a95-abc4-5b01b30db809"},{"name":"Get list of groups","id":"9620f786-038c-4a86-b1f6-a0c49e97852c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://setu-flask-app.herokuapp.com/api/v1/group","urlObject":{"protocol":"https","path":["api","v1","group"],"host":["setu-flask-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9620f786-038c-4a86-b1f6-a0c49e97852c"},{"name":"Get the details of group with group_id","id":"91c68a2e-615e-4820-a76e-48f94f5d1387","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://setu-flask-app.herokuapp.com/api/v1/group/6074931c8d93c103a4577d8e","urlObject":{"protocol":"https","path":["api","v1","group","6074931c8d93c103a4577d8e"],"host":["setu-flask-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"91c68a2e-615e-4820-a76e-48f94f5d1387"}],"id":"dc0ee11e-7010-4f8e-b9d9-6025cd583e42","_postman_id":"dc0ee11e-7010-4f8e-b9d9-6025cd583e42","description":""},{"name":"Expenses","item":[{"name":"Get the list of all expenses","id":"2d0984b8-028b-40dd-94eb-b577c19b4f2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://setu-flask-app.herokuapp.com/api/v1/expense","urlObject":{"protocol":"https","path":["api","v1","expense"],"host":["setu-flask-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2d0984b8-028b-40dd-94eb-b577c19b4f2b"},{"name":"Get the list of all expenses in a group","id":"0b4514af-5714-4210-bf0d-d7c6d69aaea0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://setu-flask-app.herokuapp.com/api/v1/expense/group/60745429295c0aa36cef3806","urlObject":{"protocol":"https","path":["api","v1","expense","group","60745429295c0aa36cef3806"],"host":["setu-flask-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0b4514af-5714-4210-bf0d-d7c6d69aaea0"},{"name":"Get expense details with expense_Id","id":"989c83b6-cdab-45fc-abb9-8a50112a18b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://setu-flask-app.herokuapp.com/api/v1/expense/60746945c42ff36cf8a1bec0","urlObject":{"protocol":"https","path":["api","v1","expense","60746945c42ff36cf8a1bec0"],"host":["setu-flask-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"989c83b6-cdab-45fc-abb9-8a50112a18b0"},{"name":"Add expense to group","id":"9e9b7ca7-1c7a-4955-b25c-8b0ce946be2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Bus Tickets\",\n    \"group\": \"60745429295c0aa36cef3806\",\n    \"amount\": 100,\n    \"spender\": [\n        {\n            \"user_id\": \"60744d4c9d89ecdf6fc18955\",\n            \"share\": 30\n        },\n        {\n            \"user_id\": \"60744c2592f913ba0c9864e2\",\n            \"share\": 70\n        },\n        {\n            \"user_id\": \"60744d569d89ecdf6fc18956\",\n            \"share\": 0\n        }\n    ],\n    \"splits\": [\n        {\n            \"user_id\": \"60744d4c9d89ecdf6fc18955\",\n            \"share\": 0\n        },\n        {\n            \"user_id\": \"60744c2592f913ba0c9864e2\",\n            \"share\": 50\n        },\n        {\n            \"user_id\": \"60744d569d89ecdf6fc18956\",\n            \"share\": 50\n        }\n    ]\n\n}","options":{"raw":{"language":"json"}}},"url":"https://setu-flask-app.herokuapp.com/api/v1/expense","urlObject":{"protocol":"https","path":["api","v1","expense"],"host":["setu-flask-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9e9b7ca7-1c7a-4955-b25c-8b0ce946be2f"}],"id":"9ccbd90d-c9b6-4dee-b54c-c8908ef6b36b","_postman_id":"9ccbd90d-c9b6-4dee-b54c-c8908ef6b36b","description":""},{"name":"Transaction","item":[{"name":"Get list of transactions","id":"90210270-dcf0-40cf-affd-69960d7b12e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://setu-flask-app.herokuapp.com/api/v1/transaction","urlObject":{"protocol":"https","path":["api","v1","transaction"],"host":["setu-flask-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"90210270-dcf0-40cf-affd-69960d7b12e3"},{"name":"Get transaction details with transaction_id","id":"8e8b6255-d666-42f1-898d-8382736dd6e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://setu-flask-app.herokuapp.com/api/v1/transaction/607471e0dc8a0419ab319fc8","urlObject":{"protocol":"https","path":["api","v1","transaction","607471e0dc8a0419ab319fc8"],"host":["setu-flask-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8e8b6255-d666-42f1-898d-8382736dd6e3"}],"id":"ec74b671-ae86-4a19-a408-0a4ac7c391d9","_postman_id":"ec74b671-ae86-4a19-a408-0a4ac7c391d9","description":""},{"name":"Simplified Debt","item":[{"name":"Get pending simplified debt transactions","id":"3013a5dd-133c-4cc1-8804-bd4bdacfa30a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://setu-flask-app.herokuapp.com/api/v1/simplify/60745429295c0aa36cef3806","urlObject":{"protocol":"https","path":["api","v1","simplify","60745429295c0aa36cef3806"],"host":["setu-flask-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3013a5dd-133c-4cc1-8804-bd4bdacfa30a"},{"name":"Get pending simplified debt transactions for a user","id":"7792a1fe-ca68-4cff-ada0-41a2f597500c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://setu-flask-app.herokuapp.com/api/v1/simplify/60745429295c0aa36cef3806/60744c2592f913ba0c9864e2","urlObject":{"protocol":"https","path":["api","v1","simplify","60745429295c0aa36cef3806","60744c2592f913ba0c9864e2"],"host":["setu-flask-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7792a1fe-ca68-4cff-ada0-41a2f597500c"}],"id":"096b6272-6062-41af-9b44-ed82156a502d","_postman_id":"096b6272-6062-41af-9b44-ed82156a502d","description":""},{"name":"Index API","id":"745ac7af-572d-4e71-a8b1-474916930661","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://setu-flask-app.herokuapp.com/","description":"<p>This is just to test and welcome the devs to backend API</p>\n","urlObject":{"protocol":"https","path":[""],"host":["setu-flask-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"745ac7af-572d-4e71-a8b1-474916930661"}]}