1. Blocks
  2. Posts Container Block

Blocks

Posts Container Block

The Posts Container block displays a list of the stub's posts, and indicators of when the stub's state changed.

What the Posts Container block looks like:

Post Sections

Every post contains sections that can be shown or hidden with the section buttons.

Attachments

The attachments section displays files that were attached to the stub on the post's action.

Data

The data section displays the contents of the post's stubpost.data object using the JSON tree viewer.

The toolbar at the top of the tree provides several controls:

  • Expand / Collapse all — expand or collapse the entire tree in one click.
  • Level buttons (1–4) — expand the tree to a specific depth level.
  • Copy object — copies the entire data object to your clipboard as formatted JSON.
  • Filter — opens a search input that filters keys in the tree. Matching keys are highlighted and their parent nodes are automatically expanded. Clearing the filter restores the previous expansion state.

The same tree viewer and toolbar is used to display individual task results in the Tasks section.

Tasks

The tasks section displays the result of the tasks that were run on the post's action.

  • Success means the task ran successfully.
  • Failed means the task failed while it was busy executing.
  • Skipped means the task didn't pass it's conditions and didn't execute.

You can also see each task's result object.

Advanced Mode

The advanced mode section displays the entire stubpost object in a powerful JSON editor.

Add Comment

The add comment section allows you to leave a comment on the post.

Action Name

Each post displays its action name as a badge in the post status bar. Clicking the action name copies the raw action_name value to your clipboard — useful when referencing action names in template configuration or debugging.

Basic Usage

This example block is added to the stub layout via the layout editor and is only visible to stubber authenticated users.

The default configuration is as follows :

loading...