---
title: "Gets the list of widget gallery items."
method: GET
path: "/habpanel/gallery/{galleryName}/widgets"
tags: ["habpanel"]
---

# Gets the list of widget gallery items.

`GET /habpanel/gallery/{galleryName}/widgets`

## Request

- Base URL: `/rest` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/rest/habpanel/gallery/{galleryName}/widgets`
- Auth: none declared
- TypeScript: <https://skmtc.dev/openhab/apis/openhab-rest-api/docs/habpanel/gallery/:galleryName/widgets/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `galleryName` string, required

## Response `200`

OK

- GalleryWidgetsListItem[]
  - `id` string
  - `title` string
  - `description` string
  - `likes` integer
  - `views` integer
  - `posts` integer
  - `imageUrl` string
  - `createdDate` string, date-time

## Other responses

- `404`: Unknown gallery

---

[API](https://skmtc.dev/openhab/apis/openhab-rest-api.md) - [All operations](https://skmtc.dev/openhab/apis/openhab-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openhab/apis/openhab-rest-api/revisions/32c997172b27?raw)
