---
title: "Polls the data for one page of a sitemap."
method: GET
path: "/sitemaps/{sitemapname}/{pageid}"
tags: ["sitemaps"]
---

# Polls the data for one page of a sitemap.

`GET /sitemaps/{sitemapname}/{pageid}`

## Path parameters

- `sitemapname` string, required
- `pageid` string, required

## Query parameters

- `subscriptionid` string
- `includeHidden` boolean

## Headers

- `Accept-Language` string
- `X-Atmosphere-Transport` string

## Response `200`

OK

- PageDTO
  - `id` string
  - `title` string
  - `icon` string
  - `link` string
  - `parent` PageDTO — recursive
  - `leaf` boolean
  - `timeout` boolean
  - `widgets` WidgetDTO[]
    - `widgetId` string
    - `type` string
    - `name` string
    - `visibility` boolean
    - `label` string
    - `labelSource` string
    - `icon` string
    - `staticIcon` boolean
    - `labelcolor` string
    - `valuecolor` string
    - `iconcolor` string
    - `pattern` string
    - `unit` string
    - `mappings` MappingDTO[]
      - `row` integer
      - `column` integer
      - `command` string
      - `releaseCommand` string
      - `label` string
      - `icon` string
    - `switchSupport` boolean
    - `releaseOnly` boolean
    - `sendFrequency` integer
    - `refresh` integer
    - `height` integer
    - `minValue` number
    - `maxValue` number
    - `step` number
    - `inputHint` string
    - `url` string
    - `encoding` string
    - `service` string
    - `period` string
    - `yAxisDecimalPattern` string
    - `legend` boolean
    - `forceAsItem` boolean
    - `row` integer
    - `column` integer
    - `command` string
    - `releaseCommand` string
    - `stateless` boolean
    - `state` string
    - `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
    - `linkedPage` PageDTO — recursive
    - `widgets` WidgetDTO[]

## Other responses

- `400` — Invalid subscription id has been provided.
- `404` — Sitemap with requested name does not exist or page does not exist, or page refers to a non-linkable widget

---

[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)
