# GuidelinePageBlockInterface

> Interface in domain **Guidelines**

- HTML: [GuidelinePageBlockInterface.html](GuidelinePageBlockInterface.html)
- Raw SDL: [GuidelinePageBlockInterface.sdl](GuidelinePageBlockInterface.sdl)
- Covered by: [llms.txt](../llms.txt)

Interface for all block types on a guideline page.

## Fields

- `id`: `ID!` _(beta)_ — The id of the `GuidelinePageBlock`.
- `content`: `String` _(beta)_ — The searchable content of the `GuidelinePageBlock`. When the block cannot be serialized, this field is `null`.
- `url`: `Url!` _(beta)_ — The url of the `GuidelinePageBlock`
- `modifiedAt`: `DateTime!` _(beta)_ — The timestamp of the most recent modification to the `GuidelinePageBlock`. If not modified, this represents the creation time.
- `settings`: `JsonObject` _(beta)_ — The settings of the `GuidelinePageBlock`.
- `assetSettings` (`page`: `Int`, `limit`: `Int`): `GuidelinePageBlockAssetSettingItems` _(beta)_ — A list of `GuidelinePageBlockAssetSetting` used by this `GuidelinePageBlock`.
- `type`: `GuidelinePageBlockType!` _(beta)_ — The type of this `GuidelinePageBlock`.

## Reach via

Example queries that can return this type from the root `Query`.

### `guidelinePageBlock`

```graphql
query GuidelinePageBlock {
  guidelinePageBlock(id: "…") {
    __typename
    assetSettings {
      total
      page
      limit
      hasNextPage
      items {
        settingName
        assets {
          total
          page
          limit
          hasNextPage
          items { previewUrl }
        }
      }
    }
    content
    id
    modifiedAt
    settings
    type {
      name
      id
      settingsSchema
    }
    url
  }
}
```

Raw: [`GuidelinePageBlock-GuidelinePageBlockInterface.sdl`](../examples/GuidelinePageBlock-GuidelinePageBlockInterface.sdl)

### `guidelinePage › sections › elements › block`

```graphql
query GuidelinePageSectionsElementsBlock {
  guidelinePage(id: "…") {
    sections(limit: 25, page: 1) {
      items {
        elements(page: 1, limit: 25) {
          items {
            ... on GuidelinePageBlockReference {
              block {
                __typename
                assetSettings {
                  total
                  page
                  limit
                  hasNextPage
                  items {
                    settingName
                    assets {
                      total
                      page
                      limit
                      hasNextPage
                      items { previewUrl }
                    }
                  }
                }
                content
                id
                modifiedAt
                settings
                type {
                  name
                  id
                  settingsSchema
                }
                url
              }
            }
          }
        }
      }
    }
  }
}
```

Raw: [`GuidelinePageSectionsElementsBlock.sdl`](../examples/GuidelinePageSectionsElementsBlock.sdl)

### `brand › guidelines › pages › sections › elements › block`

```graphql
query BrandGuidelinesPagesSectionsElementsBlock {
  brand(id: "…") {
    guidelines(limit: 25, page: 1) {
      items {
        pages(limit: 25, page: 1) {
          items {
            sections(limit: 25, page: 1) {
              items {
                elements(page: 1, limit: 25) {
                  items {
                    ... on GuidelinePageBlockReference {
                      block {
                        __typename
                        assetSettings {
                          total
                          page
                          limit
                          hasNextPage
                          items {
                            settingName
                            assets {
                              total
                              page
                              limit
                              hasNextPage
                              items { previewUrl }
                            }
                          }
                        }
                        content
                        id
                        modifiedAt
                        settings
                        type {
                          name
                          id
                          settingsSchema
                        }
                        url
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```

Raw: [`BrandGuidelinesPagesSectionsElementsBlock.sdl`](../examples/BrandGuidelinesPagesSectionsElementsBlock.sdl)

### `brands › guidelines › pages › sections › elements › block`

```graphql
query BrandsGuidelinesPagesSectionsElementsBlock {
  brands {
    guidelines(limit: 25, page: 1) {
      items {
        pages(limit: 25, page: 1) {
          items {
            sections(limit: 25, page: 1) {
              items {
                elements(page: 1, limit: 25) {
                  items {
                    ... on GuidelinePageBlockReference {
                      block {
                        __typename
                        assetSettings {
                          total
                          page
                          limit
                          hasNextPage
                          items {
                            settingName
                            assets {
                              total
                              page
                              limit
                              hasNextPage
                              items { previewUrl }
                            }
                          }
                        }
                        content
                        id
                        modifiedAt
                        settings
                        type {
                          name
                          id
                          settingsSchema
                        }
                        url
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```

Raw: [`BrandsGuidelinesPagesSectionsElementsBlock.sdl`](../examples/BrandsGuidelinesPagesSectionsElementsBlock.sdl)
