-
Notifications
You must be signed in to change notification settings - Fork 0
Initial Query API #138
Comments
Will the API be some separate application, or will it use the existing |
“THE API” is a collection of APIs which may be at different physical locations and written in different languages (a micro services architecture). In general there will be a number of stand-alone endpoints (applications one will call in essence), but most importantly the API Gateway will handle the security and “pass to other endpoints”.
This question has arisen several times, its critical for folks to understand, and current sprint is focused on some initial dev of APIs, so I conclude that this will best be answered via demo and explanation on Friday’s Sprint Planning review of initial APIs…
Finally, in terms of specific UI building, there may be “shortcuts” where the application has security privileges in which a framework like Django has internal APIs that the application is practically using, but inevitably those will be calling database APIs…so if the question is “what to write against for now” my answer is JSON files that are set to contain what you need so you can progress...
JCS
… On Oct 1, 2019, at 10:24 AM, Chuck McCallum ***@***.***> wrote:
Will the API be some separate application, or will it use the existing api end point in the existing Django app?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#138?email_source=notifications&email_token=AFZNQX3Z3TXMLINWXB7KJLDQMNTUFA5CNFSM4IX7PK2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEABVMRQ#issuecomment-537089606>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AFZNQX7C6TSQFG5RYDFA6Y3QMNTUFANCNFSM4IX7PK2A>.
|
@ngehlenborg @mccalluc At the top level our entity types are Donor, Sample, Dataset. Where the "sample" is tissue and has sub-types like: organ, block, biopsy, fresh frozen tissue, etc... WRT: APIs to reiterate what Jonathan said, APIs don't need to exist within Django, we'll follow a micro-services architecture where WS endpoints can exist in multiple locations and can be implemented in multiple technologies. |
This represents an initial draft of the REST API calls. In the future, we can expand on these and return more data as we develop more use cases.
|
Thanks @cborromeo, that is helpful. Obviously not for now, but something that we will need in the future is to replace the organ options and the sample options with ontology terms. |
Thank you! This is what I've wanted to see. |
I agree with @shirey that APIs don't need to be implemented in this Django application, but the API-centric Django app at I'd propose implementing APIs in this project if they're going to be written in Python, unless there's a very good reason not to. |
Yes, thank you for pointing this out. I understand that it will be an add rather than replace (use of display names or ontology terms)…I have been hesitant to push that so far because there is this “build an ontology” effort going on at Indiana whereas I firmly believe we should pick from UMLS and where needed add new terms/codes/CUIs to a UMLS vocabulary…so, that needs to be resolved, or we could have three (display, UMLS CUI and HuBMAP ontology)…my gut feeling is I should start assigning UMLS CUIs to each display name soon...what are your thoughts?
… On Oct 1, 2019, at 1:04 PM, Nils Gehlenborg ***@***.***> wrote:
Thanks @cborromeo <https://github.com/cborromeo>, that is helpful. Obviously not for now, but something that we will need in the future is to replace the organ options and the sample options with ontology terms.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#138?email_source=notifications&email_token=AFZNQX4RF5AELYVF2CK7VUDQMOGMPA5CNFSM4IX7PK2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEACGDPA#issuecomment-537158076>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AFZNQX3HCGHC5F6Z7JYAHEDQMOGMPANCNFSM4IX7PK2A>.
|
"Done" -- Closing. |
Create the initial HuBMAP query API endpoint. At a minimum we need an endpoint running in a Docker container that serves a single service such as GET /entity/....
-All entity types
-All entities of a type (returns uuids)
-Detailed info of an entity given uuid
The text was updated successfully, but these errors were encountered: