seqcode / pegr

Platform for Eukaryotic Genome Regulation
MIT License
3 stars 1 forks source link

Allow sample query API to take in a list of sample IDs #273

Closed jcha40 closed 1 year ago

jcha40 commented 1 year ago

Add an additional optional property "ids":

{    
    // required, combined with API key to authenticate user.
    "userEmail": "string", 

    // optional, default is false
    "preferredOnly": "true/false", 

    // optional, parameters to specify which batch of data to return. "max" is limited to 1000.
    "max": integer, 
    "offset": integer,
    "sort": "string",
    "order": "string",

    // optional, property values to query.
    "id": long,
    "ids": [...long],
    "source": "string",
    "sourceId": "string",
    "species": "string",
    "strain": "string",
    "antibody": "string",    
    "target": "string",
    "assay": "string",
    "sendDataTo": "string"
}