Skip to content

Commit

Permalink
New source_dictionary_url key in sources endpoint return
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanSimmons committed Jul 17, 2024
1 parent 8ee0632 commit 9a9bff8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions dd-api-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1558,6 +1558,10 @@ components:
items:
type: string
example: "https://obofoundry.org/ontology/doid.html"
source_dictionary_url:
type: string
description: URL to the section of the CFDE Data Distillery Data Dictionary for the source
example: https://github.com/nih-cfde/data-distillery/blob/main/DataDistilleryDataDictionary.md#the-library-of-integrated-network-based-cellular-signatures-lincs-dcc
licenses:
type: array
description: applicable licenses or terms of use of the source specified by stewards
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ubkg_api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ echo | tee -a test.out
echo "1. sources GET => should return 200" | tee -a test.out
curl --request GET \
--url "${UBKG_URL}/sources" \
--header "Accept: application/json" | tee -a test.out
--header "Accept: application/json" | cut -c1-60 | tee -a test.out
echo | tee -a test.out
echo | tee -a test.out

Expand Down
4 changes: 4 additions & 0 deletions ubkg-api-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1548,6 +1548,10 @@ components:
items:
type: string
example: "https://obofoundry.org/ontology/doid.html"
source_dictionary_url:
type: string
description: URL to the section of the CFDE Data Distillery Data Dictionary for the source
example: https://github.com/nih-cfde/data-distillery/blob/main/DataDistilleryDataDictionary.md#the-library-of-integrated-network-based-cellular-signatures-lincs-dcc
licenses:
type: array
description: applicable licenses or terms of use of the source specified by stewards
Expand Down

0 comments on commit 9a9bff8

Please sign in to comment.