# 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         |
| ------------------------------------------- | ------ | ------------------- |
| policy ID<mark style="color:red;">\*</mark> | String | Selected policy ID  |
| uuid<mark style="color:red;">\*</mark>      | String | Selected Block UUID |

{% tabs %}
{% tab title="200: OK Successful 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 %}
