---
title: "Return item {itemId} from collection {collectionId}"
method: GET
path: "/collections/{collectionId}/items/{itemId}"
tags: ["Collection data queries"]
---

# Return item {itemId} from collection {collectionId}

`GET /collections/{collectionId}/items/{itemId}`

## Request

- Base URL: `http://localhost:8484/root`
- URL: `http://localhost:8484/root/collections/{collectionId}/items/{itemId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/camptocamp/apis/openapi-for-oapi-poc-meteoswiss/docs/collections/:collectionId/items/:itemId/get.ts> (a function with typed inputs; its response is checked against the schema)

Query end point to retrieve data from collection {collectionId} using a unique identifier

## Path parameters

- `collectionId` string, required
- `itemId` string, required

## Response `200`

Data ranges required to construct valid queries for the choosen data collection

## Other responses

- `default`: An error occured.

## Changes

- **2022-07-13** `d3fedf27dd62`: 1 breaking, 3 info
  - removed the success response with the status `202`
  - removed the non-success response with the status `308`
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `413`
- **2022-05-24** `eff91745dc5a`: 4 info
  - added the non-success response with the status `308`
  - added the non-success response with the status `404`
  - added the non-success response with the status `413`
  - added the success response with the status `202`

[Operation history](https://skmtc.dev/camptocamp/apis/openapi-for-oapi-poc-meteoswiss/changes/collections/:collectionId/items/:itemId/get.md)

---

[API](https://skmtc.dev/camptocamp/apis/openapi-for-oapi-poc-meteoswiss.md) - [All operations](https://skmtc.dev/camptocamp/apis/openapi-for-oapi-poc-meteoswiss/llms.txt) - [OpenAPI document](https://skmtc.dev/camptocamp/apis/openapi-for-oapi-poc-meteoswiss/revisions/0ceee3870e41?raw)
