{ "opencollection": "1.0.0", "info": { "name": "Platzi Fake Store Auth Categories API", "version": "1.0.0" }, "items": [ { "info": { "name": "Categories", "type": "folder" }, "items": [ { "info": { "name": "List categories", "type": "http" }, "http": { "method": "GET", "url": "https://api.escuelajs.co/api/v1/categories", "params": [ { "name": "limit", "value": "", "type": "query" } ] }, "docs": "List categories" }, { "info": { "name": "Create category", "type": "http" }, "http": { "method": "POST", "url": "https://api.escuelajs.co/api/v1/categories", "body": { "type": "json", "data": "{}" } }, "docs": "Create category" }, { "info": { "name": "Get category", "type": "http" }, "http": { "method": "GET", "url": "https://api.escuelajs.co/api/v1/categories/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get category" }, { "info": { "name": "Update category", "type": "http" }, "http": { "method": "PUT", "url": "https://api.escuelajs.co/api/v1/categories/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update category" }, { "info": { "name": "Delete category", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.escuelajs.co/api/v1/categories/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Delete category" }, { "info": { "name": "Get category by slug", "type": "http" }, "http": { "method": "GET", "url": "https://api.escuelajs.co/api/v1/categories/slug/:slug", "params": [ { "name": "slug", "value": "", "type": "path" } ] }, "docs": "Get category by slug" }, { "info": { "name": "List products in a category", "type": "http" }, "http": { "method": "GET", "url": "https://api.escuelajs.co/api/v1/categories/:id/products", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "List products in a category" } ] } ], "bundled": true }