GET
/
api
/
v1
/
samples
/
public
[
  {
    "$uri": "/api/v1/samples/a1b2c3d4e5f67890",
    "created_at": "2023-11-07T05:31:56Z",
    "error_msg": "<string>",
    "filename": "<string>",
    "metadata": {
      "$ref": "/api/v1/metadata/a1b2c3d4e5f67890"
    },
    "owner": {
      "$ref": "/api/v1/users/a1b2c3d4e5f67890"
    },
    "primary_classification": {
      "$ref": "/api/v1/classifications/a1b2c3d4e5f67890"
    },
    "project": {
      "$ref": "/api/v1/projects/a1b2c3d4e5f67890"
    },
    "size": 123,
    "status": "awaiting_data",
    "tags": [],
    "updated_at": "2023-11-07T05:31:56Z",
    "visibility": "public"
  }
]

GET all publicly-listed samples. Returns a paginated list of Samples.

Query Parameters

page
integer
default:1

Page number. Defaults to 1. See Pagination for more details.

per_page
integer
default:50

Number of requested paginated records. Defaults to 50. See Pagination for more details.

sort
object

Optional Mongo-style JSON sort clause, e.g., sort={"created_at": true} to sort by created_at (descending)

where
object

Optional Mongo-style JSON filter clause, e.g., where={"$uri": {"$eq": "/api/v1/samples/0ee172af60e84f61"}}

Response

200 - application/json
Successful operation

The response is of type object[].