SmartAPI/smartAPI

index subfields under `servers`

newgene opened this issue · 1 comments

We should index all three sub fields under servers from the metadata:

https://smart-api.info/api/metadata/dc91716f44207d2e1287c727f281d339?fields=servers

{
    "servers": [
        {
            "description": "Production server",
            "url": "https://api.bte.ncats.io/v1",
            "x-maturity": "production"
        },
        {
            "description": "Dev server",
            "url": "https://dev.api.bte.ncats.io/v1/",
            "x-maturity": "development"
        },
        {
            "description": "CI Dev server",
            "url": "https://bte.ci.transltr.io/v1/",
            "x-maturity": "staging"
        }
    ]
}

Oops, dup of #135