Closed sdelatorrep closed 4 years ago
Imagine we are requesting a specific individual by calling /individuals/IND1111. In the response, we could have this new field url within receivedRequest:
/individuals/IND1111
url
receivedRequest
{ "receivedRequest": { "url": "/individuals/IND1111", "meta": { "requestedSchemas": { } }, "query": { } } }
instead of:
{ "receivedRequest": { "meta": { "requestedSchemas": { } }, "query": { "individual": { "id": "IND1111" } } } }
We can get rid of these complex objects, individual and biosample, and the id field within them and g_variant.
individual
biosample
id
g_variant
As agreed, not doing any change. Thanks.
Imagine we are requesting a specific individual by calling
/individuals/IND1111
. In the response, we could have this new fieldurl
withinreceivedRequest
:instead of:
We can get rid of these complex objects,
individual
andbiosample
, and theid
field within them andg_variant
.