# paginationAddon

## Properties

| Block Property | Definition                                                                        | Example Input                                   |
| -------------- | --------------------------------------------------------------------------------- | ----------------------------------------------- |
| type           | A block type which adds pagination to the InterfaceDocumentSourceBlock if added   | **paginationAddon** (Can't be changed).         |
| tag            | Unique name for the logic block.                                                  |                                                 |
| permissions    | Which entity has rights to interact at this part of the workflow.                 | Installer                                       |
| defaultActive  | Shows whether this block is active at this time and whether it needs to be shown. | Checked or Unchecked                            |
| dependencies   | Establish workflow dependancies that need to be completed prior.                  | Select the appropriate block from the dropdown. |

## API Parameters

## Requests Block Data

<mark style="color:blue;">`GET`</mark> `/policies/{policyId}/blocks/{uuid}`

Requests Block Data

#### Path Parameters

| Name                                       | Type   | Description         |
| ------------------------------------------ | ------ | ------------------- |
| policyId<mark style="color:red;">\*</mark> | String | Selected policy ID  |
| uuid<mark style="color:red;">\*</mark>     | String | Selected Block UUID |

{% tabs %}
{% tab title="200: OK Succesful Operation" %}

```
{
		  "size": 5,
		  "itemsPerPage": 10,
		  "page": 0
}
```

{% endtab %}
{% endtabs %}

## Requests Block Data by Tag

<mark style="color:blue;">`GET`</mark> `/policies/{policyId}/tag/{tag}/blocks`

Requests Block Data by Tag

#### Path Parameters

| Name                                       | Type   | Description                  |
| ------------------------------------------ | ------ | ---------------------------- |
| policyId<mark style="color:red;">\*</mark> | String | Selected Policy ID           |
| tag<mark style="color:red;">\*</mark>      | String | Tag from the selected policy |

{% tabs %}
{% tab title="200: OK Successful Operation" %}

```
{
		  "size": 5,
		  "itemsPerPage": 10,
		  "page": 0
}
```

{% endtab %}
{% endtabs %}

## Sends data to the specified block

<mark style="color:green;">`POST`</mark> `/policies/{policyId}/blocks/{uuid}`

Sends data to the specified block

#### Path Parameters

| Name                                       | Type   | Description         |
| ------------------------------------------ | ------ | ------------------- |
| policyId<mark style="color:red;">\*</mark> | String | Selected Policy ID  |
| uuid<mark style="color:red;">\*</mark>     | String | Selected Block UUID |

#### Request Body

| Name                               | Type   | Description                                  |
| ---------------------------------- | ------ | -------------------------------------------- |
| <mark style="color:red;">\*</mark> | Object | Object with the data to be sent to the block |

{% tabs %}
{% tab title="200: OK Successful Operation" %}

{% endtab %}
{% endtabs %}

## Sends data to the specified block by tag

<mark style="color:green;">`POST`</mark> `/policies/{policyId}/tag/{tag}/blocks`

Sends data to the specified block

#### Path Parameters

| Name                                       | Type   | Description         |
| ------------------------------------------ | ------ | ------------------- |
| policyId<mark style="color:red;">\*</mark> | String | Selected Policy ID  |
| uuid<mark style="color:red;">\*</mark>     | String | Selected Block UUID |

#### Request Body

| Name                               | Type   | Description                                  |
| ---------------------------------- | ------ | -------------------------------------------- |
| <mark style="color:red;">\*</mark> | Object | Object with the data to be sent to the block |

{% tabs %}
{% tab title="200: OK Successful Operation" %}

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guardian.hedera.com/guardian-dev/guardian/standard-registry/policies/policy-creation/introduction/paginationaddon.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
