Retrieve Public Samples
GET all publicly-listed samples. Returns a paginated list of Samples.
Query Parameters
Page number. Defaults to 1. See Pagination for more details.
Number of requested paginated records. Defaults to 50. See Pagination for more details.
Optional Mongo-style JSON sort clause, e.g., sort={"created_at": true}
to sort by created_at (descending)
Optional Mongo-style JSON filter clause, e.g., where={"$uri": {"$eq": "/api/v1/samples/0ee172af60e84f61"}}
Response
"/api/v1/samples/a1b2c3d4e5f67890"
Timestamp for when the object was created on the One Codex platform, encoded as a RFC 3339 timestamp.
An error message if the sample failed to upload, import, or validate.
The sample filename.
A metadata object.
The owner of the sample.
A reference to a Classification for the sample. This will typically be the One Codex Database or Targeted Loci Database results as appropriate. Note that samples will not have a primary_classification
while they are still importing or being uploaded.
The project the sample belongs to (optional).
The size of the uploaded file in bytes.
The status of the sample.
awaiting_data
, importing
, validating
, failed_validation
, available
, deleted
An (optionally empty) array of references to Tags describing the sample. Tags are an additional unstructured organizational tool that complement Projects and Metadata records.
The visibility of the sample (affects who can view the sample and its analyses).
public
, shared
, private
, importing
, awaiting data