CRREL / GRiD-API

9 stars 3 forks source link

Data Holdings and coverage endpoint #47

Closed AlexMountain closed 5 years ago

AlexMountain commented 5 years ago

With the next release of GRiD (1.4.6) we are looking to enhance v3 with a new /holdings endpoint. The purpose of this endpoint is to provide top level information of all GRiD's holdings as well as provide coverage shapes where the data can be found. Current holding return will look like such:

{
  "holdings": [
    {
      "program": "string",
      "program_description": "string",
      "datatype": "string",
      "area": 0,
      "access_tag": "string",
      "latest_load": "2018-12-17T15:43:05.784Z",
      "geom": "string",
      "coverage_download_urls": [
        "string"
      ],
      "filesize": 0,
      "file_count": 0,
      "point_count": 0,
      "global_dataset": true
    }
  ]
}

Current filtering options include: by geom, datatype, access_tag, and program.

AlexMountain commented 5 years ago

The /holdings endpoint is live on GRiD UC. Secure GRiD systems should receive this in the coming weeks.