You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #4 we posed the idea that a user could use an alias (eg grch38) to find sequence collections with that alias.
We realized this could be made possible if we do 2 things:
Update the spec so that the /list endpoint MAY respond to a ?attr=value request where the attr is an array, by treating this as filtering to any seqcols where the the array attrcontainsvalue as one of its elements. Previously this wasn't really defined by the spec, but if we define it, then it makes the list endpoint a bit more powerful because it doesn't just look for exact matches.
introduce the aliases attribute to a collection, with a formal definition (it's an array of human-readable identifiers that could be searched in this manner).
Then you'd just search by saying ?alias=grch38. This more powerful list method could also be used for other attributes (like, "find all the arrays for which x is listed as one of the contributors", or even "find all the arrays where sequence digest xyz is in the list of sequence digests").
So we decided it could make sense to add this to the spec as a MAY extension for 1.1
In #4 we posed the idea that a user could use an alias (eg
grch38
) to find sequence collections with that alias.We realized this could be made possible if we do 2 things:
/list
endpoint MAY respond to a?attr=value
request where theattr
is an array, by treating this as filtering to any seqcols where the the arrayattr
containsvalue
as one of its elements. Previously this wasn't really defined by the spec, but if we define it, then it makes thelist
endpoint a bit more powerful because it doesn't just look for exact matches.aliases
attribute to a collection, with a formal definition (it's an array of human-readable identifiers that could be searched in this manner).Then you'd just search by saying
?alias=grch38
. This more powerful list method could also be used for other attributes (like, "find all the arrays for which x is listed as one of the contributors", or even "find all the arrays where sequence digest xyz is in the list of sequence digests").So we decided it could make sense to add this to the spec as a MAY extension for 1.1
The
alias
idea is also related to #79The text was updated successfully, but these errors were encountered: