collections items list

List items in a collection

Synopsis

omics publisher collections items list
  --collection=COLLECTION_ID
  [--limit=NUMBER]
  [--type=ITEM_TYPE]
  [--max-results=NUMBER]

Description

List all items in a collection. Items represent the files, tables, or other data objects that are part of the collection.

Examples

List all items in a collection.

omics publisher collections items list --collection my-collection

List only a specific type of items.

omics publisher collections items list --collection my-collection --type file

Limit the number of results returned.

omics publisher collections items list --collection my-collection --max-results 100

Flags

--collection=COLLECTION_ID

The ID or slug name of the collection to list items from.

--limit=NUMBER

Set the page size returned by the server. Defaults to 50.

--type=ITEM_TYPE

Filter items by type. Use this to list only specific types of items in the collection.

--max-results=NUMBER

Limit the maximum number of results printed to the console.

Last updated

Was this helpful?