{
  "opencollection": "1.0.0",
  "info": {
    "name": "Flynet App Locations API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Locations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List locations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.staging.blackbird.xyz/flynet/v1/locations",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Zero-indexed page number."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Items per page. Default `50`."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Paginated list of locations."
        },
        {
          "info": {
            "name": "Get a location",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.staging.blackbird.xyz/flynet/v1/locations/:id",
            "params": [
              {
                "name": "id",
                "value": "c54a3b6a-c31b-49b4-8af1-2dfb70ff3eec",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Single location by UUID. Embeds parent restaurant and neighborhood."
        },
        {
          "info": {
            "name": "List a location's open hours",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.staging.blackbird.xyz/flynet/v1/locations/:id/open_hours",
            "params": [
              {
                "name": "id",
                "value": "c54a3b6a-c31b-49b4-8af1-2dfb70ff3eec",
                "type": "path"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Weekly open hours for a location. Not paginated — always returns\nthe full set, with missing days implying the location is closed.\n"
        }
      ]
    }
  ],
  "bundled": true
}