{
  "opencollection": "1.0.0",
  "info": {
    "name": "OS NGD API – Features",
    "version": "v1.8.1"
  },
  "items": [
    {
      "info": {
        "name": "Landing Page",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "OS NGD API – Features landing page",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.os.uk/features/ngd/ofa/v1/"
          },
          "docs": "OS NGD API – Features landing page"
        },
        {
          "info": {
            "name": "OS NGD API – Features conformance page",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.os.uk/features/ngd/ofa/v1/conformance"
          },
          "docs": "OS NGD API – Features conformance page"
        }
      ]
    },
    {
      "info": {
        "name": "Collections",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get list of all OS NGD feature collections",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.os.uk/features/ngd/ofa/v1/collections"
          },
          "docs": "Get a list of all the available OS NGD feature collections"
        },
        {
          "info": {
            "name": "Get a single OS NGD feature collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.os.uk/features/ngd/ofa/v1/collections/:collectionId",
            "params": [
              {
                "name": "collectionId",
                "value": "asu-gbpcd-postcodeunitarea-1",
                "type": "path",
                "description": "A known collection ID."
              }
            ]
          },
          "docs": "Get information about an OS NGD feature collection"
        },
        {
          "info": {
            "name": "Get schema for a single OS NGD feature collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.os.uk/features/ngd/ofa/v1/collections/:collectionId/schema",
            "params": [
              {
                "name": "collectionId",
                "value": "asu-gbpcd-postcodeunitarea-1",
                "type": "path",
                "description": "A known collection ID."
              }
            ]
          },
          "docs": "Get schema for a single OS NGD feature collection"
        },
        {
          "info": {
            "name": "Get a list of queryable attributes for this feature collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.os.uk/features/ngd/ofa/v1/collections/:collectionId/queryables",
            "params": [
              {
                "name": "collectionId",
                "value": "asu-gbpcd-postcodeunitarea-1",
                "type": "path",
                "description": "A known collection ID."
              }
            ]
          },
          "docs": "Get a list of queryable attributes for this feature collection"
        }
      ]
    },
    {
      "info": {
        "name": "Features",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve features in the feature collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.os.uk/features/ngd/ofa/v1/collections/:collectionId/items",
            "params": [
              {
                "name": "collectionId",
                "value": "asu-gbpcd-postcodeunitarea-1",
                "type": "path",
                "description": "A known collection ID."
              },
              {
                "name": "bbox",
                "value": "-0.183678,51.474968,-0.068321,51.540143",
                "type": "query",
                "description": "The optional bbox parameter specifies a supported bounding box. Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four comma-separated numbers:  <ul><li>Lower left corner, coordinate axis 1 (e.g. min x axis)</li><li> Lower left corner, coordinate axis 2 (e.g. min y axis)</li><li> Upper right corner, coordinate axis 1 (e.g. max x axis)</li><li> Upper right corner, coordinate axis 2 (e.g. max y axis)</li></ul>The default coordinate reference system of the values is WGS 84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84) unless a different coordinate reference system is specified in the parameter `bbox-crs`."
              },
              {
                "name": "bbox-crs",
                "value": "",
                "type": "query",
                "description": "The coordinate reference system of the `bbox` parameter. It must be a 2D coordinate reference system supported by the collection. Default is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84)."
              },
              {
                "name": "crs",
                "value": "",
                "type": "query",
                "description": "The coordinate reference system of the response geometries. It must be a coordinate reference system supported by the collection. Default is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84)."
              },
              {
                "name": "datetime",
                "value": "2018-02-12T00:00:00Z/..",
                "type": "query",
                "description": "Either a local date, a date-time with UTC time zone (Z) or an open or closed interval. Open ranges in time intervals at the start or end are supported using a double-dot (..) or an empty string for the start/end. Date and time expressions adhere to RFC 3339. Examples:<ul><li>A date-time: '2021-12-12T23:20:50Z'</li><li>A closed interval: '2021-12-12T00:00:00Z/2021-12-18T12:31:12Z'</li><li>Open intervals: '2021-12-12T00:00:00Z/..' or '../2021-12-18T12:31:12Z'</li><li>An interval until now: '2018-02-12T00:00:00Z/..' or '2018-02-12T00:00:00Z/'</li></ul>Selects features that have a temporal property that intersects the value of the parameter."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The optional limit parameter limits the number of items that are presented in the response document. Minimum = 1. Maximum = 100. Default = 100."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The optional offset parameter skips past the specified number of features in the collection. Minimum = 0. Default = 0."
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "The optional filter parameter is a filter expression in CQL format which is applied when retrieving resources to determine which resources are included in a result set."
              },
              {
                "name": "filter-crs",
                "value": "",
                "type": "query",
                "description": "Specify which of the supported CRSs to use to encode geometric values in a filter expression. It must be a 2D coordinate reference system supported by the collection. Default is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84)."
              },
              {
                "name": "filter-lang",
                "value": "",
                "type": "query",
                "description": "The optional filter-lang parameter is the specific language used for the filter parameter. Default = cql-text"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "key",
              "value": "{{key}}",
              "placement": "query"
            }
          },
          "docs": "Retrieve features in the feature collection"
        },
        {
          "info": {
            "name": "Retrieve a feature from the feature collection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.os.uk/features/ngd/ofa/v1/collections/:collectionId/items/:featureId",
            "params": [
              {
                "name": "collectionId",
                "value": "asu-gbpcd-postcodeunitarea-1",
                "type": "path",
                "description": "A known collection ID."
              },
              {
                "name": "featureId",
                "value": "11111111-1111-1111-1111-111111111111",
                "type": "path",
                "description": "A feature ID which is the identifier(id) for the feature."
              },
              {
                "name": "crs",
                "value": "",
                "type": "query",
                "description": "The coordinate reference system of the response geometries. It must be a coordinate reference system supported by the collection. Default is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84)."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "key",
              "value": "{{key}}",
              "placement": "query"
            }
          },
          "docs": "Retrieve a feature from the feature collection"
        }
      ]
    }
  ],
  "bundled": true
}