-
Notifications
You must be signed in to change notification settings - Fork 0
/
postman.json
1 lines (1 loc) · 8.34 KB
/
postman.json
1
{"variable":[{"key":"base_url","value":"http:\/\/localhost"}],"info":{"name":"2023_05_27_164344_laravel_collection.json","schema":"https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"},"item":[{"name":"auth","item":[{"name":"login","item":[{"name":"api\/auth\/login","request":{"method":"POST","header":[{"key":"Accept","value":"application\/json"},{"key":"Content-Type","value":"application\/json"}],"url":{"raw":"{{base_url}}\/api\/auth\/login","host":["{{base_url}}"],"path":["api","auth","login"],"variable":[]},"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"[email protected]","type":"text","description":"The email field is required., The email field must be a valid email address."},{"key":"password","value":"[email protected]","type":"text","description":"The password field is required., The password field must be a string., The password field must be at least 8 characters."}]}}}]},{"name":"register","item":[{"name":"api\/auth\/register","request":{"method":"POST","header":[{"key":"Accept","value":"application\/json"},{"key":"Content-Type","value":"application\/json"}],"url":{"raw":"{{base_url}}\/api\/auth\/register","host":["{{base_url}}"],"path":["api","auth","register"],"variable":[]},"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"shbov","type":"text","description":"The username field is required., The username field must be a string."},{"key":"email","value":"[email protected]","type":"text","description":"The email field is required., The email field must be a string., The email field must be a valid email address., The email field must not be greater than 100 characters., The email has already been taken."},{"key":"password","value":"[email protected]","type":"text","description":"The password field is required., The password field must be a string., The password field must be at least 8 characters."}]}}}]},{"name":"logout","item":[{"name":"api\/auth\/logout","request":{"method":"POST","header":[{"key":"Accept","value":"application\/json"},{"key":"Content-Type","value":"application\/json"}],"url":{"raw":"{{base_url}}\/api\/auth\/logout","host":["{{base_url}}"],"path":["api","auth","logout"],"variable":[]}}}]},{"name":"refresh","item":[{"name":"api\/auth\/refresh","request":{"method":"POST","header":[{"key":"Accept","value":"application\/json"},{"key":"Content-Type","value":"application\/json"}],"url":{"raw":"{{base_url}}\/api\/auth\/refresh","host":["{{base_url}}"],"path":["api","auth","refresh"],"variable":[]}}}]},{"name":"user-profile","item":[{"name":"api\/auth\/user-profile","request":{"method":"GET","header":[{"key":"Accept","value":"application\/json"},{"key":"Content-Type","value":"application\/json"}],"url":{"raw":"{{base_url}}\/api\/auth\/user-profile","host":["{{base_url}}"],"path":["api","auth","user-profile"],"variable":[]}}}]},{"name":"set-role","item":[{"name":"api\/auth\/set-role","request":{"method":"GET","header":[{"key":"Accept","value":"application\/json"},{"key":"Content-Type","value":"application\/json"}],"url":{"raw":"{{base_url}}\/api\/auth\/set-role","host":["{{base_url}}"],"path":["api","auth","set-role"],"variable":[]},"body":{"mode":"urlencoded","urlencoded":[{"key":"user_id","value":null,"type":"text","description":"The user id field is required., The user id field must be an integer."},{"key":"role","value":null,"type":"text","description":"The role field is required., The role field must be a string."}]}}}]}]},{"name":"order","item":[{"name":"api\/order","request":{"method":"GET","header":[{"key":"Accept","value":"application\/json"},{"key":"Content-Type","value":"application\/json"}],"url":{"raw":"{{base_url}}\/api\/order","host":["{{base_url}}"],"path":["api","order"],"variable":[]}}},{"name":"api\/order","request":{"method":"POST","header":[{"key":"Accept","value":"application\/json"},{"key":"Content-Type","value":"application\/json"}],"url":{"raw":"{{base_url}}\/api\/order","host":["{{base_url}}"],"path":["api","order"],"variable":[]},"body":{"mode":"urlencoded","urlencoded":[{"key":"special_requests","value":null,"type":"text","description":"(Nullable), The special requests field must be a string."},{"key":"dishes","value":{"id":1,"quantity":3},"type":"text","description":"The dishes field is required., The dishes field must be an array."}]}}},{"name":"api\/order\/{order}","request":{"method":"GET","header":[{"key":"Accept","value":"application\/json"},{"key":"Content-Type","value":"application\/json"}],"url":{"raw":"{{base_url}}\/api\/order\/:order","host":["{{base_url}}"],"path":["api","order",":order"],"variable":[]}}},{"name":"api\/order\/{order}","request":{"method":"DELETE","header":[{"key":"Accept","value":"application\/json"},{"key":"Content-Type","value":"application\/json"}],"url":{"raw":"{{base_url}}\/api\/order\/:order","host":["{{base_url}}"],"path":["api","order",":order"],"variable":[]}}}]},{"name":"dish","item":[{"name":"api\/dish","request":{"method":"GET","header":[{"key":"Accept","value":"application\/json"},{"key":"Content-Type","value":"application\/json"}],"url":{"raw":"{{base_url}}\/api\/dish","host":["{{base_url}}"],"path":["api","dish"],"variable":[]}}},{"name":"api\/dish","request":{"method":"POST","header":[{"key":"Accept","value":"application\/json"},{"key":"Content-Type","value":"application\/json"}],"url":{"raw":"{{base_url}}\/api\/dish","host":["{{base_url}}"],"path":["api","dish"],"variable":[]},"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435","type":"text","description":"The name field is required., The name field must be a string."},{"key":"description","value":"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435","type":"text","description":"The description field is required., The description field must be a string."},{"key":"price","value":"100.01","type":"text","description":"The price field is required., The price field must have 0-2 decimal places., The price field must be at least 0."},{"key":"quantity","value":4,"type":"text","description":"The quantity field is required., The quantity field must be an integer., The quantity field must be at least 0."}]}}},{"name":"api\/dish\/{dish}","request":{"method":"GET","header":[{"key":"Accept","value":"application\/json"},{"key":"Content-Type","value":"application\/json"}],"url":{"raw":"{{base_url}}\/api\/dish\/:dish","host":["{{base_url}}"],"path":["api","dish",":dish"],"variable":[]}}},{"name":"api\/dish\/{dish}","request":{"method":"PUT","header":[{"key":"Accept","value":"application\/json"},{"key":"Content-Type","value":"application\/json"}],"url":{"raw":"{{base_url}}\/api\/dish\/:dish","host":["{{base_url}}"],"path":["api","dish",":dish"],"variable":[]},"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435","type":"text","description":"The name field must be a string."},{"key":"description","value":"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435","type":"text","description":"The description field must be a string."},{"key":"price","value":"100.01","type":"text","description":"The price field must have 0-2 decimal places., The price field must be at least 0."},{"key":"quantity","value":4,"type":"text","description":"The quantity field must be an integer., The quantity field must be at least 0."}]}}},{"name":"api\/dish\/{dish}","request":{"method":"PATCH","header":[{"key":"Accept","value":"application\/json"},{"key":"Content-Type","value":"application\/json"}],"url":{"raw":"{{base_url}}\/api\/dish\/:dish","host":["{{base_url}}"],"path":["api","dish",":dish"],"variable":[]},"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435","type":"text","description":"The name field must be a string."},{"key":"description","value":"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435","type":"text","description":"The description field must be a string."},{"key":"price","value":"100.01","type":"text","description":"The price field must have 0-2 decimal places., The price field must be at least 0."},{"key":"quantity","value":4,"type":"text","description":"The quantity field must be an integer., The quantity field must be at least 0."}]}}},{"name":"api\/dish\/{dish}","request":{"method":"DELETE","header":[{"key":"Accept","value":"application\/json"},{"key":"Content-Type","value":"application\/json"}],"url":{"raw":"{{base_url}}\/api\/dish\/:dish","host":["{{base_url}}"],"path":["api","dish",":dish"],"variable":[]}}}]}],"event":[]}