glygener / glygen-issues

Repository for public GlyGen tickets
GNU General Public License v3.0
0 stars 0 forks source link

biomarker details api needs to support biomarker_canonical_id format. #1265

Closed sujeetvkulkarni closed 2 weeks ago

sujeetvkulkarni commented 3 weeks ago

Biomarker list api returns biomarker_canonical_id but biomarker details api needs to support both format.

API: https://api.tst.glygen.org/biomarker/list id: 1e14c465c506a9fe2a55d1acc878199b returns

"results": [
    {
      "biomarker_canonical_id": "A0001.1",
      "biomarker": "increased IL6 level",
      "assessed_biomarker_entity_id": "P05231-1",
      "assessed_entity_type": "protein",
      "assessed_biomarker_entity": "Interleukin-6",
      "specimen": "blood (0000178)",
      "best_biomarker_role": "prognostic",
}
]

biomarker details api needs to support both formats A0001 and A0001.1. https://api.glygen.org/biomarker/detail/A0001 https://api.glygen.org/biomarker/detail/A0001.1

rykahsay commented 3 weeks ago

Please check now

sujeetvkulkarni commented 2 weeks ago

closing.