# Aggregate page data

Aggregates data about multiple pages and their components.

Endpoint: POST /api/v1/aggregation/pages
Version: v1
Security: Bearer

## Security:

  - `Bearer` (unknown)
    http Bearer

## Request body:

  - `application/json, text/json, application/*+json` (unknown)
    The collection of pages, by their identifier and language, for which to get data.

## Request fields (application/json):

  - `id` (string, required)
    The page identifier.
Example value: 8f0b81bc-7388-46be-b109-6e73d1114470
    Example: 8f0b81bc-7388-46be-b109-6e73d1114470

  - `language` (string, required)
    The language of the page.
Example value: en-US
    Example: en-US

## Response 200:

  - `200` (unknown)
    Success

## Response 200 fields (application/json):

  - `pages` (array)

  - `pages.id` (string)
    The page identifier.
Example value: 8f0b81bc-7388-46be-b109-6e73d1114470
    Example: 8f0b81bc-7388-46be-b109-6e73d1114470

  - `pages.language` (string)
    The language of the page.
Example value: en-US
    Example: en-US

  - `pages.name` (string)
    The page name.
Example value: Home
    Example: Home

  - `pages.displayName` (string)
    The display name of the page for the specified language.
Example value: Home
    Example: Home

  - `pages.components` (array)
    A collection of the page components.

  - `pages.components.id` (string)
    The component identifier.
Example value: 86a03271-dff4-470a-92bd-b68c67de2e25
    Example: 86a03271-dff4-470a-92bd-b68c67de2e25

  - `pages.components.uid` (string)
    The unique identifier of the component on this page. The UID is assigned to the component when it's added to the page.
Example value: 3d42bec0-60ad-45f3-a8f7-ddb6a5543c34
    Example: 3d42bec0-60ad-45f3-a8f7-ddb6a5543c34

  - `pages.components.name` (string)
    The component name.
Example value: RichText
    Example: RichText

  - `pages.components.displayName` (string)
    The display name of the component for the specified language.
Example value: Rich Text
    Example: Rich Text

## Response 400:

  - `400` (unknown)
    Bad request

## Response 400 fields (application/json):

  - `type` (string)
    The type of the error response entity.

  - `title` (string)
    The title of the error response entity.

  - `status` (integer)
    The response status code.

  - `detail` (string)
    A detailed explanation, specific to this occurrence of the problem.

  - `instance` (string)
    If available, a URI reference that identifies the specific occurrence of the problem.

