samples module

class samples.Samples

Bases: Resource

methods: ClassVar[Optional[Collection[str]]] = {'POST'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

post()

returns all samples for a given study

Parameters:

study_id (str) – the time at which the study was submitted

Returns:

list of records, where each record is a row in the study metadata

Return type:

list

Examples

{

“study_id”:”1686247553.2546”

}