PMA-2020 / pma-api

The best way to programmatically access PMA2020 data.
http://api.pma2020.org
MIT License
1 stars 3 forks source link

Resources endpoint should have the key "url", not "resource" #24

Open joeflack4 opened 6 years ago

joeflack4 commented 6 years ago

Expected behavior

{
  "metadata": {
    ...
  },
  "resultSize": 1,
  "results": {
    "resources": [
      {
        "name": "countries",
        "url": "http://api.pma2020.org/v1/countries"
      },
      ...
    ]
  }
}

Current behavior

{
  "metadata": {
    ...
  },
  "resultSize": 1,
  "results": {
    "resources": [
      {
        "name": "countries",
        "resource": "http://api.pma2020.org/v1/countries"
      },
      ...
    ]
  }
}