-
Notifications
You must be signed in to change notification settings - Fork 0
/
postman.json
1 lines (1 loc) · 5.87 KB
/
postman.json
1
{"item":[{"id":"c675fcc4-c5bd-4bae-84e6-6d8312196826","name":"v1/users","item":[{"id":"4293df05-5e8f-4f02-bd83-78f2b5494a3f","name":"Get all users","request":{"name":"Get all users","description":{"content":"list all users ordered by joining date descending","type":"text/plain"},"url":{"path":["v1","users"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"key":"lastKey","value":"<string>","description":"used to paginated items based on joining date. pass lastKey received in last request"},{"disabled":false,"key":"pageSize","value":"<number>","description":"docs per request"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"f2496b8f-5d08-46c2-b14b-e2f2456c33d2","name":"list of users","originalRequest":{"url":{"path":["v1","users"],"host":["{{baseUrl}}"],"query":[{"key":"lastKey","value":"<string>"},{"key":"pageSize","value":"<number>"}],"variable":[]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": {},\n \"data\": {\n \"docs\": [\n {\n \"id\": 321934.51429387927,\n \"firstName\": \"dolore\",\n \"lastName\": \"minim ad mollit tempor\",\n \"email\": \"I8bQU8eHfRSq@NarhXdZ.smd\",\n \"gender\": \"Female\",\n \"ipAddress\": \"154.82.93.177\",\n \"dateJoined\": 40702189.72410324\n },\n {\n \"id\": -25641182.599361345,\n \"firstName\": \"et ullamco cillum\",\n \"lastName\": \"adipisi\",\n \"email\": \"5-NGVq3fU6r@AUzVgBljocFnnyQjqVBJw.fmhs\",\n \"gender\": \"Female\",\n \"ipAddress\": \"29.24.122.235\",\n \"dateJoined\": 87964636.26450288\n }\n ],\n \"lastKey\": \"voluptate labore re\"\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"73820cb6-22d8-48b0-b5a3-e8b02c28952a","name":"validation error","originalRequest":{"url":{"path":["v1","users"],"host":["{{baseUrl}}"],"query":[{"key":"lastKey","value":"<string>"},{"key":"pageSize","value":"<number>"}],"variable":[]},"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"ut enim sunt\",\n \"data\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cd28be17-0ef4-4994-bab4-2052a1dda8d2","name":"something went wrong","originalRequest":{"url":{"path":["v1","users"],"host":["{{baseUrl}}"],"query":[{"key":"lastKey","value":"<string>"},{"key":"pageSize","value":"<number>"}],"variable":[]},"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"ut enim sunt\",\n \"data\": {}\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"cda83a61-2515-4fbd-a6b6-800a7c312579","name":"Get a user by id","request":{"name":"Get a user by id","description":{"content":"","type":"text/plain"},"url":{"path":["v1","users",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) user's id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"6df86b72-fbad-4508-8c11-df9e30d9097e","name":"list of users","originalRequest":{"url":{"path":["v1","users",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) user's id"}]},"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": {},\n \"data\": {\n \"id\": -56944428.36435636,\n \"firstName\": \"cupidatat Ut in\",\n \"lastName\": \"quis dolor nisi nulla esse\",\n \"email\": \"kCW5H6YnEZzgh4@JF.gef\",\n \"gender\": \"Genderfluid\",\n \"ipAddress\": \"116.205.1.158\",\n \"dateJoined\": -65018045.852129355\n }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"05810a6c-798d-41f7-8c9e-72a4ef44cad2","name":"validation error","originalRequest":{"url":{"path":["v1","users",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) user's id"}]},"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"ut enim sunt\",\n \"data\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3dfb542a-6998-450d-a5ff-f43e859877e1","name":"Item not found","originalRequest":{"url":{"path":["v1","users",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) user's id"}]},"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"ut enim sunt\",\n \"data\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d2f6532e-aaf9-4f35-8a9f-f5e832f3c18c","name":"something went wrong","originalRequest":{"url":{"path":["v1","users",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"<number>","key":"id","description":"(Required) user's id"}]},"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n \"error\": \"ut enim sunt\",\n \"data\": {}\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]}],"event":[],"variable":[{"type":"string","value":"https://cbziucvnqf.execute-api.ap-south-1.amazonaws.com/","key":"baseUrl"}],"info":{"_postman_id":"c768e57d-b21a-4187-9c45-451ab49231af","name":"Falcon User APIs","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":{"content":"","type":"text/plain"}}}