Skip to content

Commit

Permalink
mydisease: update biolink-version, comment
Browse files Browse the repository at this point in the history
  • Loading branch information
colleenXu committed Sep 8, 2021
1 parent f77f111 commit 519cf2f
Show file tree
Hide file tree
Showing 2 changed files with 225 additions and 123 deletions.
6 changes: 3 additions & 3 deletions mydisease.info/smartapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ info:
component: KP
team:
- Service Provider
biolink-version: "2.1.0"
biolink-version: "2.2.3"
description: Documentation of the MyDisease.info disease query web services. Learn
more about [mydisease.info](http://mydisease.info/)
termsOfService: http://mydisease.info/terms
Expand Down Expand Up @@ -544,9 +544,9 @@ components:
requestBody:
body:
q: "{inputs[0]}" ## no prefix
scopes: hpo.omim
## example: put 246900 here (Dihydrolipoamide Dehydrogenase Deficiency)
## should get HP:0001254 (Lethargy) in response
scopes: hpo.omim
header: application/x-www-form-urlencoded
inputs:
- id: OMIM
Expand Down Expand Up @@ -626,7 +626,7 @@ components:
fields: ctd.chemical_related_to_disease
requestBody:
body:
q: "{inputs[0]}"
q: "{inputs[0]}" ## no prefix
## example: put 146850 here (IMMUNE SUPPRESSION)
## should get D014810 (Vitamin E) in response
scopes: ctd.omim
Expand Down
Loading

0 comments on commit 519cf2f

Please sign in to comment.