Retrieves Block Data by Tag

Requests block data.

get

Requests block data by tag. Only users with a role that described in block are allowed to make the request.

Authorizations
Path parameters
policyIdstringRequired

Policy Id

Example: 000000000000000000000001
tagNamestringRequired

Block name (Tag)

Example: block-tag
Responses
200
Successful operation.
application/json
get
GET /api/v1/policies/{policyId}/tag/{tagName}/blocks HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*
{
  "id": "text",
  "blockType": "text",
  "blocks": [
    {
      "id": "text",
      "blockType": "text",
      "blocks": [
        {
          "id": "text",
          "blockType": "text",
          "blocks": [
            "[Circular Reference]"
          ]
        }
      ]
    }
  ]
}

Last updated