{
  "info": {
    "name": "Hugeicons API",
    "description": "API collection for Hugeicons - A comprehensive icon management system",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "x-api-key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "item": [
    {
      "name": "Icons",
      "description": "Endpoints for retrieving icons",
      "item": [
        {
          "name": "List All Icons",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/icons?page=1&per_page=20&q=search&list_all=false",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "icons"],
              "query": [
                {
                  "key": "page",
                  "value": "1",
                  "description": "Page number for pagination"
                },
                {
                  "key": "per_page",
                  "value": "20",
                  "description": "Number of items per page"
                },
                {
                  "key": "q",
                  "value": "search",
                  "description": "Search query to filter icons"
                },
                {
                  "key": "list_all",
                  "value": "false",
                  "description": "If true, returns all icons without pagination"
                }
              ]
            },
            "description": "Get a list of all icons with optional filtering and pagination"
          }
        },
        {
          "name": "Get Icon Details",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/icon/:name?style=stroke",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "icon", ":name"],
              "query": [
                {
                  "key": "style",
                  "value": "stroke",
                  "description": "Icon style (e.g., stroke, fill)"
                }
              ],
              "variable": [
                {
                  "key": "name",
                  "value": "icon-name",
                  "description": "Name of the icon"
                }
              ]
            },
            "description": "Get detailed information about a specific icon"
          }
        },
        {
          "name": "Get Icon SVG",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/icon/:name/svg?style=stroke",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "icon", ":name", "svg"],
              "query": [
                {
                  "key": "style",
                  "value": "stroke",
                  "description": "Icon style (defaults to stroke-rounded if no hyphen is present)"
                }
              ],
              "variable": [
                {
                  "key": "name",
                  "value": "icon-name",
                  "description": "Name of the icon"
                }
              ]
            },
            "description": "Get the SVG content of a specific icon"
          }
        }
      ]
    },
    {
      "name": "Categories",
      "description": "Endpoints for managing categories",
      "item": [
        {
          "name": "List All Categories",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/categories",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "categories"]
            },
            "description": "Get a list of all available icon categories"
          }
        },
        {
          "name": "Get Icons by Category",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/icons/category/:category?page=1&per_page=20&list_all=false",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "icons", "category", ":category"],
              "query": [
                {
                  "key": "page",
                  "value": "1",
                  "description": "Page number for pagination"
                },
                {
                  "key": "per_page",
                  "value": "20",
                  "description": "Number of items per page"
                },
                {
                  "key": "list_all",
                  "value": "false",
                  "description": "If true, returns all icons without pagination"
                }
              ],
              "variable": [
                {
                  "key": "category",
                  "value": "category-name",
                  "description": "Category name or slug"
                }
              ]
            },
            "description": "Get all icons belonging to a specific category"
          }
        }
      ]
    },
    {
      "name": "Search",
      "description": "Search functionality for icons",
      "item": [
        {
          "name": "Search Icons",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/search?q=search&category=games&page=1&per_page=20&sort=relevance",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "search"],
              "query": [
                {
                  "key": "q",
                  "value": "search",
                  "description": "Search query for name or tags"
                },
                {
                  "key": "category",
                  "value": "games",
                  "description": "Filter by category"
                },
                {
                  "key": "page",
                  "value": "1",
                  "description": "Page number for pagination"
                },
                {
                  "key": "per_page",
                  "value": "20",
                  "description": "Number of items per page"
                },
                {
                  "key": "sort",
                  "value": "relevance",
                  "description": "Sort order (relevance, name_asc, name_desc)"
                }
              ]
            },
            "description": "Search for icons with various filters and sorting options"
          }
        }
      ]
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.hugeicons.com",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "your-api-key-here",
      "type": "string"
    }
  ]
} 