# GuidelinePageBlock

> Type in domain **Guidelines**

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

Implements: `GuidelinePageBlockInterface`

## 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`.

## Related mutations

- [`createGuidelinePageBlock`](../mutation/createGuidelinePageBlock.md)
- [`updateGuidelinePageBlockSettings`](../mutation/updateGuidelinePageBlockSettings.md)

## Reach via

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

### `guidelinePageBlock`

```graphql
query GuidelinePageBlock {
  guidelinePageBlock(id: "…") {
    ... on GuidelinePageBlock {
      __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-GuidelinePageBlock.sdl`](../examples/GuidelinePageBlock-GuidelinePageBlock.sdl)

### `guidelinePage › sections › elements`

```graphql
query GuidelinePageSectionsElements {
  guidelinePage(id: "…") {
    sections(limit: 25, page: 1) {
      items {
        elements(page: 1, limit: 25) {
          items {
            ... on GuidelinePageBlock {
              __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: [`GuidelinePageSectionsElements-GuidelinePageBlock.sdl`](../examples/GuidelinePageSectionsElements-GuidelinePageBlock.sdl)

### `brand › guidelines › contentSearch › content`

```graphql
query BrandGuidelinesContentSearchContent {
  brand(id: "…") {
    guidelines(limit: 25, page: 1) {
      items {
        contentSearch(
          input: {
            searchTerm: "…"
          }
        ) {
          items {
            content {
              ... on GuidelinePageBlock {
                __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: [`BrandGuidelinesContentSearchContent.sdl`](../examples/BrandGuidelinesContentSearchContent.sdl)

### `brands › guidelines › contentSearch › content`

```graphql
query BrandsGuidelinesContentSearchContent {
  brands {
    guidelines(limit: 25, page: 1) {
      items {
        contentSearch(
          input: {
            searchTerm: "…"
          }
        ) {
          items {
            content {
              ... on GuidelinePageBlock {
                __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: [`BrandsGuidelinesContentSearchContent.sdl`](../examples/BrandsGuidelinesContentSearchContent.sdl)
