{
  "opencollection": "1.0.0",
  "info": {
    "name": "Searchcraft Authentication Search API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Search",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Returns search results that match the query criteria.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://your-cluster.searchcraft.io/index/:index/search",
            "params": [
              {
                "name": "index",
                "value": "",
                "type": "path",
                "description": "The name of the index."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns search results that match the query criteria."
        },
        {
          "info": {
            "name": "Returns search results across all indexes defined in a federation.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://your-cluster.searchcraft.io/federation/:federation_name/search",
            "params": [
              {
                "name": "federation_name",
                "value": "",
                "type": "path",
                "description": "The name of the federation."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns search results across all indexes defined in a federation."
        }
      ]
    }
  ],
  "bundled": true
}