---
title: "Info for a specific collection"
method: GET
path: "/collection/{collectionId}"
tags: ["collection"]
---

# Info for a specific collection

`GET /collection/{collectionId}`

## Path parameters

- `collectionId` number, required

## Response `200`

Expected response to a valid request

- 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

## Other responses

- `default` — unexpected error

## Changes

> 16 revisions in range; 1 not diffed.

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

[Change history](https://skmtc.dev/watchdogpolska/apis/small-eod/changes/collection/:collectionId/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)
