Playbook Assembly

Gets the assembly rich text content for the specified playbook.

get

Retrieves the assembly rich text JSON content for the specified playbook.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
playbookIdentifierstringRequired
Responses
200

OK

get
/playbooks/{playbookIdentifier}/assembly
GET /playbooks/{playbookIdentifier}/assembly HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "type": "text",
  "content": [
    {
      "type": "text",
      "text": "text",
      "attrs": {
        "id": "text",
        "label": "text",
        "uuid": "123e4567-e89b-12d3-a456-426614174000",
        "type": "text",
        "filterDataTypeId": 1,
        "properties": [
          {
            "type": "text",
            "attrs": {
              "type": "text",
              "uuid": "123e4567-e89b-12d3-a456-426614174000",
              "id": "text",
              "label": "text",
              "renderAs": "text",
              "parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
            }
          }
        ],
        "level": 1,
        "href": "text",
        "textAlign": "text"
      },
      "marks": [
        {
          "type": "text",
          "attrs": {
            "id": "text",
            "label": "text",
            "uuid": "123e4567-e89b-12d3-a456-426614174000",
            "type": "text",
            "filterDataTypeId": 1,
            "properties": [
              {
                "type": "text",
                "attrs": {
                  "type": "text",
                  "uuid": "123e4567-e89b-12d3-a456-426614174000",
                  "id": "text",
                  "label": "text",
                  "renderAs": "text",
                  "parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
                }
              }
            ],
            "level": 1,
            "href": "text",
            "textAlign": "text"
          }
        }
      ],
      "content": [
        {
          "type": "text",
          "text": "text",
          "attrs": {
            "id": "text",
            "label": "text",
            "uuid": "123e4567-e89b-12d3-a456-426614174000",
            "type": "text",
            "filterDataTypeId": 1,
            "properties": [
              {
                "type": "text",
                "attrs": {
                  "type": "text",
                  "uuid": "123e4567-e89b-12d3-a456-426614174000",
                  "id": "text",
                  "label": "text",
                  "renderAs": "text",
                  "parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
                }
              }
            ],
            "level": 1,
            "href": "text",
            "textAlign": "text"
          },
          "marks": [
            {
              "type": "text",
              "attrs": {
                "id": "text",
                "label": "text",
                "uuid": "123e4567-e89b-12d3-a456-426614174000",
                "type": "text",
                "filterDataTypeId": 1,
                "properties": [
                  {
                    "type": "text",
                    "attrs": {
                      "type": "text",
                      "uuid": "123e4567-e89b-12d3-a456-426614174000",
                      "id": "text",
                      "label": "text",
                      "renderAs": "text",
                      "parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                ],
                "level": 1,
                "href": "text",
                "textAlign": "text"
              }
            }
          ],
          "content": [
            "[Circular Reference]"
          ]
        }
      ]
    }
  ]
}

Saves the assembly rich text content for the specified playbook.

put

Saves the assembly rich text JSON content for the specified playbook.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
playbookIdentifierstringRequired
Body
typestring | nullableRequired
Responses
200

OK

No content

put
/playbooks/{playbookIdentifier}/assembly
PUT /playbooks/{playbookIdentifier}/assembly HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1642

{
  "type": "text",
  "content": [
    {
      "type": "text",
      "text": "text",
      "attrs": {
        "id": "text",
        "label": "text",
        "uuid": "123e4567-e89b-12d3-a456-426614174000",
        "type": "text",
        "filterDataTypeId": 1,
        "properties": [
          {
            "type": "text",
            "attrs": {
              "type": "text",
              "uuid": "123e4567-e89b-12d3-a456-426614174000",
              "id": "text",
              "label": "text",
              "renderAs": "text",
              "parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
            }
          }
        ],
        "level": 1,
        "href": "text",
        "textAlign": "text"
      },
      "marks": [
        {
          "type": "text",
          "attrs": {
            "id": "text",
            "label": "text",
            "uuid": "123e4567-e89b-12d3-a456-426614174000",
            "type": "text",
            "filterDataTypeId": 1,
            "properties": [
              {
                "type": "text",
                "attrs": {
                  "type": "text",
                  "uuid": "123e4567-e89b-12d3-a456-426614174000",
                  "id": "text",
                  "label": "text",
                  "renderAs": "text",
                  "parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
                }
              }
            ],
            "level": 1,
            "href": "text",
            "textAlign": "text"
          }
        }
      ],
      "content": [
        {
          "type": "text",
          "text": "text",
          "attrs": {
            "id": "text",
            "label": "text",
            "uuid": "123e4567-e89b-12d3-a456-426614174000",
            "type": "text",
            "filterDataTypeId": 1,
            "properties": [
              {
                "type": "text",
                "attrs": {
                  "type": "text",
                  "uuid": "123e4567-e89b-12d3-a456-426614174000",
                  "id": "text",
                  "label": "text",
                  "renderAs": "text",
                  "parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
                }
              }
            ],
            "level": 1,
            "href": "text",
            "textAlign": "text"
          },
          "marks": [
            {
              "type": "text",
              "attrs": {
                "id": "text",
                "label": "text",
                "uuid": "123e4567-e89b-12d3-a456-426614174000",
                "type": "text",
                "filterDataTypeId": 1,
                "properties": [
                  {
                    "type": "text",
                    "attrs": {
                      "type": "text",
                      "uuid": "123e4567-e89b-12d3-a456-426614174000",
                      "id": "text",
                      "label": "text",
                      "renderAs": "text",
                      "parentMentionId": "123e4567-e89b-12d3-a456-426614174000"
                    }
                  }
                ],
                "level": 1,
                "href": "text",
                "textAlign": "text"
              }
            }
          ],
          "content": [
            "[Circular Reference]"
          ]
        }
      ]
    }
  ]
}

No content

Last updated