{
  "opencollection": "1.0.0",
  "info": {
    "name": "Platzi Fake Store API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Products",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List products",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.escuelajs.co/api/v1/products",
            "params": [
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "title",
                "value": "",
                "type": "query"
              },
              {
                "name": "price",
                "value": "",
                "type": "query"
              },
              {
                "name": "price_min",
                "value": "",
                "type": "query"
              },
              {
                "name": "price_max",
                "value": "",
                "type": "query"
              },
              {
                "name": "categoryId",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List products"
        },
        {
          "info": {
            "name": "Create product",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.escuelajs.co/api/v1/products",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create product"
        },
        {
          "info": {
            "name": "Get product by id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.escuelajs.co/api/v1/products/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get product by id"
        },
        {
          "info": {
            "name": "Update product",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.escuelajs.co/api/v1/products/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update product"
        },
        {
          "info": {
            "name": "Delete product",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.escuelajs.co/api/v1/products/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete product"
        },
        {
          "info": {
            "name": "Get product by slug",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.escuelajs.co/api/v1/products/slug/:slug",
            "params": [
              {
                "name": "slug",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get product by slug"
        },
        {
          "info": {
            "name": "Get related products by id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.escuelajs.co/api/v1/products/:id/related",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get related products by id"
        },
        {
          "info": {
            "name": "Get related products by slug",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.escuelajs.co/api/v1/products/slug/:slug/related",
            "params": [
              {
                "name": "slug",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get related products by slug"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.escuelajs.co/api/v1/users",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List users"
        },
        {
          "info": {
            "name": "Create user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.escuelajs.co/api/v1/users",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create user"
        },
        {
          "info": {
            "name": "Get user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.escuelajs.co/api/v1/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get user"
        },
        {
          "info": {
            "name": "Update user",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.escuelajs.co/api/v1/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update user"
        },
        {
          "info": {
            "name": "Check email availability",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.escuelajs.co/api/v1/users/is-available",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Check email availability"
        }
      ]
    },
    {
      "info": {
        "name": "Auth",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Login and obtain JWT tokens",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.escuelajs.co/api/v1/auth/login",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Login and obtain JWT tokens"
        },
        {
          "info": {
            "name": "Get authenticated user profile",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.escuelajs.co/api/v1/auth/profile",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get authenticated user profile"
        },
        {
          "info": {
            "name": "Refresh access token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.escuelajs.co/api/v1/auth/refresh-token",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Refresh access token"
        }
      ]
    },
    {
      "info": {
        "name": "Files",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Upload a file",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.escuelajs.co/api/v1/files/upload",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Upload a file"
        },
        {
          "info": {
            "name": "Retrieve uploaded file",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.escuelajs.co/api/v1/files/:filename",
            "params": [
              {
                "name": "filename",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve uploaded file"
        }
      ]
    }
  ],
  "bundled": true
}