---
title: "GetShelf"
method: GET
path: "/v1/shelves/{shelf}"
tags: ["LibraryService"]
---

# GetShelf

`GET /v1/shelves/{shelf}`

Gets a shelf. Returns NOT_FOUND if the shelf does not exist.

## Path parameters

- `shelf` string, required

## Response `200`

OK

- Shelf — A Shelf contains a collection of books with a theme.
  - `name` string, required — The resource name of the shelf. Shelf names have the form `shelves/{shelf_id}`. The name is ignored when creating a shelf.
  - `theme` string — The theme of the shelf
  - `next_sort_at` string, date — The next sorting date.
  - `created_at` string, date-time — The creation date and time.
  - `updated_at` string, date-time — The last update date and time.

## Other responses

- `default` — Default error response

---

[API](https://skmtc.net/kollalabs/apis/libraryservice-api.md) · [All operations](https://skmtc.net/kollalabs/apis/libraryservice-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kollalabs/libraryservice-api/revisions/b3518c94ac37/schema)
