---
title: "Get sitemap events."
method: GET
path: "/sitemaps/events/{subscriptionid}"
tags: ["sitemaps"]
---

# Get sitemap events.

`GET /sitemaps/events/{subscriptionid}`

## Path parameters

- `subscriptionid` string, required

## Query parameters

- `sitemap` string
- `pageid` string

## Response `200`

OK

- SitemapWidgetEvent
  - `widgetId` string
  - `label` string
  - `labelSource` string
  - `icon` string
  - `labelcolor` string
  - `valuecolor` string
  - `iconcolor` string
  - `state` string
  - `reloadIcon` boolean
  - `visibility` boolean
  - `descriptionChanged` boolean
  - `item` EnrichedItemDTO
    - `type` string
    - `name` string
    - `label` string
    - `category` string
    - `tags` string[]
    - `groupNames` string[]
    - `link` string
    - `state` string
    - `transformedState` string
    - `stateDescription` StateDescription
      - `minimum` number
      - `maximum` number
      - `step` number
      - `pattern` string
      - `readOnly` boolean
      - `options` StateOption[]
        - `value` string
        - `label` string
    - `unitSymbol` string
    - `commandDescription` CommandDescription
      - `commandOptions` CommandOption[]
        - `command` string
        - `label` string
    - `metadata` object
    - `editable` boolean
    - `groupType` string
  - `sitemapName` string
  - `pageId` string

## Other responses

- `400` — Missing sitemap or page parameter, or page not linked successfully to the subscription.
- `404` — Subscription not found.

---

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