{"info":{"_postman_id":"c68bb2bf-b2ae-4d16-8e9d-d96a7f755a57","name":"food court assessment.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"22009828","collectionId":"c68bb2bf-b2ae-4d16-8e9d-d96a7f755a57","publishedId":"2s8Z75RUcz","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-01-07T01:21:19.000Z"},"item":[{"name":"Get Admin token","id":"8728b2a5-00cb-4a8b-88f4-1d4dec689ea3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\":\"testuser\"\n}","options":{"raw":{"language":"json"}}},"url":"https://fctest-production.up.railway.app/auth","description":"<p>Used to retrieve an admin `Bearer token` which is used to make subsequent requests</p>\n","urlObject":{"path":["auth"],"host":["https://fctest-production.up.railway.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"8728b2a5-00cb-4a8b-88f4-1d4dec689ea3"},{"name":"Delete Addon","id":"d7821cc8-f52c-4138-b1dc-0a4892001307","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://fctest-production.up.railway.app/brands/3/addons/6","urlObject":{"path":["brands","3","addons","6"],"host":["https://fctest-production.up.railway.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7821cc8-f52c-4138-b1dc-0a4892001307"},{"name":"Update addon","id":"28d5af71-3aae-4c93-b5c4-5b7fe7204961","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"price\": 2000,\n    \"description\": \"Very nice meal 1\"\n}","options":{"raw":{"language":"json"}}},"url":"https://fctest-production.up.railway.app/brands/3/addons/6","description":"<p>Update a single meal addon by its ID for the specified brand.</p>\n","urlObject":{"path":["brands","3","addons","6"],"host":["https://fctest-production.up.railway.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"28d5af71-3aae-4c93-b5c4-5b7fe7204961"},{"name":"Create New Addon","id":"ca9ad479-056e-4bc6-8ff5-05d366a1fdfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"Top Dog\",\n    \"price\": 1500,\n    \"category\": \"Hot Dog\"\n}","options":{"raw":{"language":"json"}}},"url":"https://fctest-production.up.railway.appbrands/3/addons","description":"<p>Create a new meal addon for the specified brand.</p>\n","urlObject":{"path":["3","addons"],"host":["https://fctest-production.up.railway.appbrands"],"query":[],"variable":[]}},"response":[],"_postman_id":"ca9ad479-056e-4bc6-8ff5-05d366a1fdfc"},{"name":"Create New Addon Category","id":"bff84441-231a-47ab-9871-09742924cb20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\":\"Top Dog\"\n}","options":{"raw":{"language":"json"}}},"url":"https://fctest-production.up.railway.appbrands/3/addon-categories","description":"<p>Create a new category for meal addons for the specifiedbrand</p>\n","urlObject":{"path":["3","addon-categories"],"host":["https://fctest-production.up.railway.appbrands"],"query":[],"variable":[]}},"response":[],"_postman_id":"bff84441-231a-47ab-9871-09742924cb20"},{"name":"Retrieve all addons for a particular brand","id":"299a0fd8-c47b-4bcf-b0ed-ee7b05936e03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://fctest-production.up.railway.app/brands/3/addons","description":"<p>Retrieve a list of all meal addons for the specified brand.</p>\n","urlObject":{"path":["brands","3","addons"],"host":["https://fctest-production.up.railway.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"299a0fd8-c47b-4bcf-b0ed-ee7b05936e03"},{"name":"Retrieve a particular addon for a particular brand using its id ","id":"a2a594f4-e2ba-44f9-bf08-ad12f111d95d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://fctest-production.up.railway.app/brands/3/addons/6","description":"<p>Retrieve a single meal addon by its ID for the specified brand.</p>\n","urlObject":{"path":["brands","3","addons","6"],"host":["https://fctest-production.up.railway.app"],"query":[],"variable":[]}},"response":[],"_postman_id":"a2a594f4-e2ba-44f9-bf08-ad12f111d95d"}],"event":[{"listen":"prerequest","script":{"id":"0fde275f-4d8a-4f97-bf2a-3d06a2d9f368","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"af8aff7e-5901-4b65-a2ed-aae97d638159","type":"text/javascript","exec":[""]}}],"variable":[{"key":"brandId","value":"3"},{"key":"addonId","value":"6"},{"key":"foodcourt-prod","value":"https://fctest-production.up.railway.app","type":"string"}]}