Closed gwarmstrong closed 3 years ago
The escaped keywords, namely schema.metadata_kw are located in the same place as the dataset keywords we are looking for, but contain different information. E.g., the structure is something like this:
├── __metadata__
├── fecal
│ ├── alpha
│ ├── beta
│ └── pcoa
└── oral
├── alpha
├── beta
└── pcoa
And the result we want back is ['fecal', 'oral']
, instead of ['__metadata__', 'fecal', 'oral']
.
No concerns about trying to block users from accessing information. The results API at this point is only concerned with totally public data.
Adds two new endpoints,
/metadata/category/available
and/avaialable/dataset
that list the available metadata categories and available datasets, respectively.