---
title: "List all collections"
method: GET
path: "/collection"
tags: ["collection"]
---

# List all collections

`GET /collection`

## Query parameters

- `limit` integer
- `offset` integer
- `case` integer

## Response `200`

A paged array of collection

- Collection[]
  - `id` string, collectionId, required
  - `name` string, required
  - `content` string[]
  - `public` boolean
  - `expiredOn` string, date-time
  - `query` string, required — Search query
  - `createdOn` string, datetime, required
  - `createdBy` string, required — User ID responsible for creating the content
  - `modifiedOn` string, datetime, required
  - `modifiedBy` string, required

## Changes

> 16 revisions in range; 1 not diffed.

- **2020-01-01** `d9ce1dbf32f9` — 2 breaking
  - the `items/query` response property's minItems was decreased from `1` to `0` for the response status `200`
  - the `items/query` response's property type/format changed from `array`/`` to `string`/`` for status `200`
- **2019-10-10** `f16566c7c7ef` — 5 info
  - the response property `items/query` became required for the status `200`
  - added the required property `items/createdBy` to the response with the `200` status
  - added the required property `items/createdOn` to the response with the `200` status
  - added the required property `items/modifiedBy` to the response with the `200` status
  - …1 more

[Change history](https://skmtc.dev/watchdogpolska/apis/small-eod/changes/collection/get.md)

---

[API](https://skmtc.dev/watchdogpolska/apis/small-eod.md) · [All operations](https://skmtc.dev/watchdogpolska/apis/small-eod/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/watchdogpolska/small-eod/revisions/1c5ac40bf412/schema)
