cancerDHC / ccdh-terminology-service

CCDH Terminology and Mapping Service
3 stars 4 forks source link

Merge enumerations endpoints #95

Closed joeflack4 closed 3 years ago

joeflack4 commented 3 years ago

Description

Endpoint 1: ​/models​/{model}​/entities​/{entity}​/attributes​/{attribute}​/enumerations

This is currently returning no useful information.

Example https://terminology.ccdh.io/models/CRDC-H/entities/BodySite/attributes/qualifier/enumerations

[
  {
    "name": "CRDC-H.BodySite.qualifier"
  }
]

Endpoint 2: /enumerations/

Returning useful information. We just really don't need 2 endpoints.