seqcode/pegr

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

Closed this issue · 0 comments

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"
}