Chilkat Online Tools

Node.js / Atlassian Confluence Cloud / Restore content version

Back to Collection Items

var os = require('os');
if (os.platform() == 'win32') {  
    if (os.arch() == 'ia32') {
        var chilkat = require('@chilkat/ck-node21-win-ia32');
    } else {
        var chilkat = require('@chilkat/ck-node21-win64'); 
    }
} else if (os.platform() == 'linux') {
    if (os.arch() == 'arm') {
        var chilkat = require('@chilkat/ck-node21-arm');
    } else if (os.arch() == 'x86') {
        var chilkat = require('@chilkat/ck-node21-linux32');
    } else {
        var chilkat = require('@chilkat/ck-node21-linux64');
    }
} else if (os.platform() == 'darwin') {
    if (os.arch() == 'arm64') {
        var chilkat = require('@chilkat/ck-node21-mac-m1');
    } else {
        var chilkat = require('@chilkat/ck-node21-macosx');
    }
}


function chilkatExample() {

    // This example assumes the Chilkat API to have been previously unlocked.
    // See Global Unlock Sample for sample code.

    var http = new chilkat.Http();
    var success;

    // Use this online tool to generate code from sample JSON: Generate Code to Create JSON

    // The following JSON is sent in the request body.

    // {
    //   "operationKey": "<string>",
    //   "params": {
    //     "versionNumber": "<integer>",
    //     "message": "<string>"
    //   }
    // }

    var json = new chilkat.JsonObject();
    json.UpdateString("operationKey","<string>");
    json.UpdateString("params.versionNumber","<integer>");
    json.UpdateString("params.message","<string>");

    // Adds the "Authorization: Bearer <access_token>" header.
    http.AuthToken = "<access_token>";
    http.SetRequestHeader("Content-Type","application/json");

    // resp: HttpResponse
    var resp = http.PostJson3("https://your-domain.atlassian.net/wiki/rest/api/content/:id/version?expand=<string>&expand=<string>","application/json",json);
    if (http.LastMethodSuccess == false) {
        console.log(http.LastErrorText);
        return;
    }

    var sbResponseBody = new chilkat.StringBuilder();
    resp.GetBodySb(sbResponseBody);

    var jResp = new chilkat.JsonObject();
    jResp.LoadSb(sbResponseBody);
    jResp.EmitCompact = false;

    console.log("Response Body:");
    console.log(jResp.Emit());

    var respStatusCode = resp.StatusCode;
    console.log("Response Status Code = " + respStatusCode);
    if (respStatusCode >= 400) {
        console.log("Response Header:");
        console.log(resp.Header);
        console.log("Failed.");

        return;
    }


}

chilkatExample();

Curl Command

curl -X POST
	-H "Authorization: Bearer <access_token>"
	-H "Content-Type: application/json"
	-d '{
    "operationKey": "<string>",
    "params": {
        "versionNumber": "<integer>",
        "message": "<string>"
    }
}'
https://your-domain.atlassian.net/wiki/rest/api/content/:id/version?expand=<string>&expand=<string>

Postman Collection Item JSON

{
  "name": "Restore content version",
  "request": {
    "auth": {
      "type": "oauth2"
    },
    "method": "POST",
    "header": [
      {
        "key": "Content-Type",
        "value": "application/json"
      }
    ],
    "body": {
      "mode": "raw",
      "raw": "{\n    \"operationKey\": \"<string>\",\n    \"params\": {\n        \"versionNumber\": \"<integer>\",\n        \"message\": \"<string>\"\n    }\n}"
    },
    "url": {
      "raw": "{{baseUrl}}/api/content/:id/version?expand=<string>&expand=<string>",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "content",
        ":id",
        "version"
      ],
      "query": [
        {
          "key": "expand",
          "value": "<string>",
          "description": "A multi-value parameter indicating which properties of the returned\ncontent to expand.\n\n- `collaborators` returns the users that collaborated on the version.\n- `content` returns the content for the version."
        },
        {
          "key": "expand",
          "value": "<string>",
          "description": "A multi-value parameter indicating which properties of the returned\ncontent to expand.\n\n- `collaborators` returns the users that collaborated on the version.\n- `content` returns the content for the version."
        }
      ],
      "variable": [
        {
          "key": "id",
          "value": "<string>",
          "type": "string",
          "description": "(Required) The ID of the content for which the history will be restored."
        }
      ]
    },
    "description": "Restores a historical version to be the latest version. That is, a new version\nis created with the content of the historical version.\n\n**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:\nPermission to update the content."
  },
  "response": [
    {
      "name": "Returned if the version is restored.",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": {
              "content": "Added as a part of security scheme: oauth2",
              "type": "text/plain"
            },
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"operationKey\": \"<string>\",\n    \"params\": {\n        \"versionNumber\": \"<integer>\",\n        \"message\": \"<string>\"\n    }\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/api/content/:id/version?expand=<string>&expand=<string>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "content",
            ":id",
            "version"
          ],
          "query": [
            {
              "key": "expand",
              "value": "<string>"
            },
            {
              "key": "expand",
              "value": "<string>"
            }
          ],
          "variable": [
            {
              "key": "id"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"by\": {\n  \"type\": \"anonymous\",\n  \"accountId\": \"veniam minim\",\n  \"accountType\": \"app (if this user is a bot user created on behalf of an Atlassian app)\",\n  \"email\": \"conse\",\n  \"publicName\": \"eiusmod dolor nisi\",\n  \"profilePicture\": {\n   \"path\": \"cillum sint consequat\",\n   \"width\": 68654221,\n   \"height\": 26888158,\n   \"isDefault\": false\n  },\n  \"displayName\": \"in officia ea\",\n  \"_expandable\": {\n   \"operations\": \"Excepteur velit adipisicing proident voluptate\",\n   \"details\": \"consequat enim nisi cupidatat\",\n   \"personalSpace\": \"veniam m\"\n  },\n  \"_links\": {},\n  \"username\": \"Excepteur pariatur in proident\",\n  \"userKey\": \"dolor deserunt dolore cupidatat\",\n  \"operations\": [\n   {\n    \"operation\": \"purge_version\",\n    \"targetType\": \"application\"\n   },\n   {\n    \"operation\": \"administer\",\n    \"targetType\": \"attachment\"\n   }\n  ],\n  \"details\": {\n   \"business\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   },\n   \"personal\": {\n    \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n   }\n  },\n  \"personalSpace\": {\n   \"id\": -53659474,\n   \"key\": \"quis sed\",\n   \"name\": \"consectetur\",\n   \"type\": \"in esse\",\n   \"status\": \"laboris in\",\n   \"_expandable\": {\n    \"settings\": \"Duis\",\n    \"metadata\": \"Ut\",\n    \"operations\": \"adipisicing deserunt minim\",\n    \"lookAndFeel\": \"aute officia\",\n    \"permissions\": \"sit tempor ea nulla\",\n    \"icon\": \"voluptate labore ullamco adipisicing cupidatat\",\n    \"description\": \"cillu\",\n    \"theme\": \"irure in\",\n    \"history\": \"laboris eiusmod cillum irure\",\n    \"homepage\": \"dolor incididunt\"\n   },\n   \"_links\": {},\n   \"icon\": {\n    \"path\": \"eiusmod in\",\n    \"width\": -25062405,\n    \"height\": 62155552,\n    \"isDefault\": true\n   },\n   \"description\": {\n    \"plain\": {\n     \"value\": \"Duis aliqua magna\",\n     \"representation\": \"view\",\n     \"embeddedContent\": [\n      {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     ]\n    },\n    \"view\": {\n     \"value\": \"sunt mollit in\",\n     \"representation\": \"view\",\n     \"embeddedContent\": [\n      {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     ]\n    }\n   },\n   \"homepage\": {\n    \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n   },\n   \"metadata\": {\n    \"labels\": {\n     \"results\": [\n      {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     ],\n     \"start\": 2862273,\n     \"limit\": -19428577,\n     \"size\": -19533145,\n     \"_links\": {}\n    }\n   },\n   \"operations\": [\n    {\n     \"operation\": \"administer\",\n     \"targetType\": \"attachment\"\n    },\n    {\n     \"operation\": \"create\",\n     \"targetType\": \"application\"\n    }\n   ],\n   \"permissions\": [\n    {\n     \"subjects\": {\n      \"_expandable\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"user\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"group\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     },\n     \"operation\": {\n      \"operation\": \"administer\",\n      \"targetType\": \"attachment\"\n     },\n     \"anonymousAccess\": false,\n     \"unlicensedAccess\": false\n    },\n    {\n     \"subjects\": {\n      \"_expandable\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"user\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"group\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     },\n     \"operation\": {\n      \"operation\": \"use\",\n      \"targetType\": \"space\"\n     },\n     \"anonymousAccess\": false,\n     \"unlicensedAccess\": false\n    }\n   ],\n   \"settings\": {\n    \"routeOverrideEnabled\": true,\n    \"_links\": {}\n   },\n   \"theme\": {},\n   \"lookAndFeel\": {\n    \"headings\": {\n     \"color\": \"amet irure\"\n    },\n    \"links\": {\n     \"color\": \"culpa Ut\"\n    },\n    \"menus\": {\n     \"hoverOrFocus\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"color\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     }\n    },\n    \"header\": {\n     \"backgroundColor\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"button\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"primaryNavigation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"secondaryNavigation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"search\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     }\n    },\n    \"content\": {\n     \"screen\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"container\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"header\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"body\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     }\n    },\n    \"bordersAndDividers\": {\n     \"color\": \"id voluptate esse adipisic\"\n    }\n   },\n   \"history\": {\n    \"createdDate\": \"1962-04-10T18:20:14.537Z\"\n   }\n  }\n },\n \"when\": \"1975-06-05T14:33:44.603Z\",\n \"friendlyWhen\": \"in nostrud\",\n \"message\": \"enim sit est\",\n \"number\": 51820380,\n \"minorEdit\": false,\n \"_expandable\": {\n  \"content\": \"Lorem nostrud commodo incidid\",\n  \"collaborators\": \"v\"\n },\n \"_links\": {},\n \"content\": {\n  \"id\": \"est non consequat\",\n  \"type\": \"et Lorem\",\n  \"status\": \"enim ea minim\",\n  \"title\": \"commodo sunt\",\n  \"_expandable\": {\n   \"childTypes\": \"et eiusmod dolor\",\n   \"container\": \"dolor non eu\",\n   \"metadata\": \"ipsum proident sint adipisicing\",\n   \"operations\": \"repre\",\n   \"children\": \"velit ut\",\n   \"restrictions\": \"deserunt quis\",\n   \"history\": \"adipisicing\",\n   \"ancestors\": \"ex culpa non est magna\",\n   \"body\": \"ut amet magna\",\n   \"version\": \"enim Lorem elit do\",\n   \"descendants\": \"eu\",\n   \"space\": \"sunt tempor\"\n  },\n  \"space\": {\n   \"id\": 53821408,\n   \"key\": \"cupidatat laboris deserunt\",\n   \"name\": \"ut exercitation dolor\",\n   \"type\": \"reprehenderit sed occaecat\",\n   \"status\": \"cillum\",\n   \"_expandable\": {\n    \"settings\": \"incididunt dolor nisi aliqua Lorem\",\n    \"metadata\": \"nulla culpa\",\n    \"operations\": \"eiusmod anim occaecat cupidatat\",\n    \"lookAndFeel\": \"Excepteur occaecat sed\",\n    \"permissions\": \"ad in ut irure\",\n    \"icon\": \"officia exercitation\",\n    \"description\": \"nisi\",\n    \"theme\": \"fugiat dolore commodo\",\n    \"history\": \"mollit eu\",\n    \"homepage\": \"non exercitation sit dolor \"\n   },\n   \"_links\": {},\n   \"icon\": {\n    \"path\": \"Ut Duis irure \",\n    \"width\": -22716095,\n    \"height\": -33562900,\n    \"isDefault\": false\n   },\n   \"description\": {\n    \"plain\": {\n     \"value\": \"in id quis\",\n     \"representation\": \"plain\",\n     \"embeddedContent\": [\n      {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     ]\n    },\n    \"view\": {\n     \"value\": \"in veniam est laboris magna\",\n     \"representation\": \"view\",\n     \"embeddedContent\": [\n      {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     ]\n    }\n   },\n   \"homepage\": {\n    \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n   },\n   \"metadata\": {\n    \"labels\": {\n     \"results\": [\n      {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     ],\n     \"start\": -82069049,\n     \"limit\": -99511642,\n     \"size\": -9266561,\n     \"_links\": {}\n    }\n   },\n   \"operations\": [\n    {\n     \"operation\": \"delete\",\n     \"targetType\": \"comment\"\n    },\n    {\n     \"operation\": \"administer\",\n     \"targetType\": \"space\"\n    }\n   ],\n   \"permissions\": [\n    {\n     \"subjects\": {\n      \"_expandable\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"user\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"group\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     },\n     \"operation\": {\n      \"operation\": \"purge\",\n      \"targetType\": \"attachment\"\n     },\n     \"anonymousAccess\": false,\n     \"unlicensedAccess\": false\n    },\n    {\n     \"subjects\": {\n      \"_expandable\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"user\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"group\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     },\n     \"operation\": {\n      \"operation\": \"use\",\n      \"targetType\": \"attachment\"\n     },\n     \"anonymousAccess\": false,\n     \"unlicensedAccess\": false\n    }\n   ],\n   \"settings\": {\n    \"routeOverrideEnabled\": false,\n    \"_links\": {}\n   },\n   \"theme\": {},\n   \"lookAndFeel\": {\n    \"headings\": {\n     \"color\": \"fugiat nostrud\"\n    },\n    \"links\": {\n     \"color\": \"qui aliqua in\"\n    },\n    \"menus\": {\n     \"hoverOrFocus\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"color\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     }\n    },\n    \"header\": {\n     \"backgroundColor\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"button\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"primaryNavigation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"secondaryNavigation\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"search\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     }\n    },\n    \"content\": {\n     \"screen\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"container\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"header\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"body\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     }\n    },\n    \"bordersAndDividers\": {\n     \"color\": \"laborum deserunt minim tempor\"\n    }\n   },\n   \"history\": {\n    \"createdDate\": \"1966-07-09T17:39:45.408Z\"\n   }\n  },\n  \"history\": {\n   \"latest\": false,\n   \"createdBy\": {\n    \"type\": \"unknown\",\n    \"accountId\": \"pariatur magna in\",\n    \"accountType\": \"app (if this user is a bot user created on behalf of an Atlassian app)\",\n    \"email\": \"in anim ut\",\n    \"publicName\": \"labore elit\",\n    \"profilePicture\": {\n     \"path\": \"in commodo\",\n     \"width\": 90365650,\n     \"height\": 30690285,\n     \"isDefault\": false\n    },\n    \"displayName\": \"sed quis veniam\",\n    \"_expandable\": {\n     \"operations\": \"labore d\",\n     \"details\": \"sunt exercitation\",\n     \"personalSpace\": \"consequat in dolor\"\n    },\n    \"_links\": {},\n    \"username\": \"laboris\",\n    \"userKey\": \"do labore occaecat consequat adipisicing\",\n    \"operations\": [\n     {\n      \"operation\": \"use\",\n      \"targetType\": \"attachment\"\n     },\n     {\n      \"operation\": \"move\",\n      \"targetType\": \"space\"\n     }\n    ],\n    \"details\": {\n     \"business\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"personal\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     }\n    },\n    \"personalSpace\": {\n     \"id\": 45534117,\n     \"key\": \"magna eu dolore conse\",\n     \"name\": \"consectetur in anim\",\n     \"type\": \"ullamco est pariatur Duis\",\n     \"status\": \"qui ex ut sunt\",\n     \"_expandable\": {\n      \"settings\": \"minim aliqua in nisi\",\n      \"metadata\": \"ipsum labore\",\n      \"operations\": \"dolor\",\n      \"lookAndFeel\": \"ipsum anim deserunt\",\n      \"permissions\": \"ex ad\",\n      \"icon\": \"commodo s\",\n      \"description\": \"incididunt ad\",\n      \"theme\": \"voluptate ullamco veniam id\",\n      \"history\": \"dolore sint sit voluptate fugiat\",\n      \"homepage\": \"Excepteur fugiat sunt\"\n     },\n     \"_links\": {},\n     \"icon\": {\n      \"path\": \"anim fugiat adipisicing do voluptate\",\n      \"width\": 72947039,\n      \"height\": -78028289,\n      \"isDefault\": true\n     },\n     \"description\": {\n      \"plain\": {\n       \"value\": \"anim adipisicing fugiat est\",\n       \"representation\": \"view\",\n       \"embeddedContent\": [\n        {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       ]\n      },\n      \"view\": {\n       \"value\": \"consequat amet\",\n       \"representation\": \"plain\",\n       \"embeddedContent\": [\n        {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       ]\n      }\n     },\n     \"homepage\": {\n      \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n     },\n     \"metadata\": {\n      \"labels\": {\n       \"results\": [\n        {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       ],\n       \"start\": 54516483,\n       \"limit\": 43086731,\n       \"size\": 54257774,\n       \"_links\": {}\n      }\n     },\n     \"operations\": [\n      {\n       \"operation\": \"delete\",\n       \"targetType\": \"blogpost\"\n      },\n      {\n       \"operation\": \"purge\",\n       \"targetType\": \"space\"\n      }\n     ],\n     \"permissions\": [\n      {\n       \"subjects\": {\n        \"_expandable\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"user\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"group\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       },\n       \"operation\": {\n        \"operation\": \"purge_version\",\n        \"targetType\": \"space\"\n       },\n       \"anonymousAccess\": false,\n       \"unlicensedAccess\": false\n      },\n      {\n       \"subjects\": {\n        \"_expandable\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"user\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"group\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       },\n       \"operation\": {\n        \"operation\": \"update\",\n        \"targetType\": \"blogpost\"\n       },\n       \"anonymousAccess\": false,\n       \"unlicensedAccess\": false\n      }\n     ],\n     \"settings\": {\n      \"routeOverrideEnabled\": false,\n      \"_links\": {}\n     },\n     \"theme\": {},\n     \"lookAndFeel\": {\n      \"headings\": {\n       \"color\": \"minim consectetur dolor proident\"\n      },\n      \"links\": {\n       \"color\": \"velit nulla laborum elit dolore\"\n      },\n      \"menus\": {\n       \"hoverOrFocus\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"color\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       }\n      },\n      \"header\": {\n       \"backgroundColor\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"button\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"primaryNavigation\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"secondaryNavigation\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"search\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       }\n      },\n      \"content\": {\n       \"screen\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"container\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"header\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"body\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       }\n      },\n      \"bordersAndDividers\": {\n       \"color\": \"elit voluptate\"\n      }\n     },\n     \"history\": {\n      \"createdDate\": \"1982-11-27T12:37:40.101Z\"\n     }\n    }\n   },\n   \"createdDate\": \"1982-07-14T21:29:14.361Z\",\n   \"lastUpdated\": {\n    \"by\": {\n     \"type\": \"anonymous\",\n     \"accountId\": \"dolor do consequat ut\",\n     \"accountType\": \"atlassian\",\n     \"email\": \"velit est de\",\n     \"publicName\": \"ut\",\n     \"profilePicture\": {\n      \"path\": \"nulla ex\",\n      \"width\": 90372068,\n      \"height\": 70747885,\n      \"isDefault\": true\n     },\n     \"displayName\": \"eiusmod dolor\",\n     \"_expandable\": {\n      \"operations\": \"est\",\n      \"details\": \"et esse nostrud incididunt\",\n      \"personalSpace\": \"culpa qui cillum\"\n     },\n     \"_links\": {},\n     \"username\": \"Ut est voluptate sit\",\n     \"userKey\": \"voluptate consectetur\",\n     \"operations\": [\n      {\n       \"operation\": \"purge_version\",\n       \"targetType\": \"comment\"\n      },\n      {\n       \"operation\": \"purge\",\n       \"targetType\": \"blogpost\"\n      }\n     ],\n     \"details\": {\n      \"business\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"personal\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     },\n     \"personalSpace\": {\n      \"id\": 56349768,\n      \"key\": \"nisi\",\n      \"name\": \"non qui ex enim velit\",\n      \"type\": \"exercitation dolor officia laborum enim\",\n      \"status\": \"in enim\",\n      \"_expandable\": {\n       \"settings\": \"in Duis\",\n       \"metadata\": \"nisi laboris\",\n       \"operations\": \"enim amet\",\n       \"lookAndFeel\": \"voluptate dolore\",\n       \"permissions\": \"irure commodo aliquip\",\n       \"icon\": \"dolor ut aliquip velit id\",\n       \"description\": \"laboris minim\",\n       \"theme\": \"cupidatat cillum et reprehenderit ut\",\n       \"history\": \"et dolore\",\n       \"homepage\": \"voluptate ad\"\n      },\n      \"_links\": {},\n      \"icon\": {\n       \"path\": \"ut officia pa\",\n       \"width\": 23613422,\n       \"height\": -17928656,\n       \"isDefault\": false\n      },\n      \"description\": {\n       \"plain\": {\n        \"value\": \"dolor ullamco\",\n        \"representation\": \"view\",\n        \"embeddedContent\": [\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         }\n        ]\n       },\n       \"view\": {\n        \"value\": \"Excepteur sit ipsum\",\n        \"representation\": \"plain\",\n        \"embeddedContent\": [\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         }\n        ]\n       }\n      },\n      \"homepage\": {\n       \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n      },\n      \"metadata\": {\n       \"labels\": {\n        \"results\": [\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         }\n        ],\n        \"start\": 98274295,\n        \"limit\": 37431921,\n        \"size\": -36475708,\n        \"_links\": {}\n       }\n      },\n      \"operations\": [\n       {\n        \"operation\": \"use\",\n        \"targetType\": \"application\"\n       },\n       {\n        \"operation\": \"create\",\n        \"targetType\": \"space\"\n       }\n      ],\n      \"permissions\": [\n       {\n        \"subjects\": {\n         \"_expandable\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         \"user\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         \"group\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         }\n        },\n        \"operation\": {\n         \"operation\": \"read\",\n         \"targetType\": \"attachment\"\n        },\n        \"anonymousAccess\": false,\n        \"unlicensedAccess\": false\n       },\n       {\n        \"subjects\": {\n         \"_expandable\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         \"user\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         \"group\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         }\n        },\n        \"operation\": {\n         \"operation\": \"copy\",\n         \"targetType\": \"attachment\"\n        },\n        \"anonymousAccess\": false,\n        \"unlicensedAccess\": false\n       }\n      ],\n      \"settings\": {\n       \"routeOverrideEnabled\": true,\n       \"_links\": {}\n      },\n      \"theme\": {},\n      \"lookAndFeel\": {\n       \"headings\": {\n        \"color\": \"in consequat quis est\"\n       },\n       \"links\": {\n        \"color\": \"ad\"\n       },\n       \"menus\": {\n        \"hoverOrFocus\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"color\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       },\n       \"header\": {\n        \"backgroundColor\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"button\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"primaryNavigation\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"secondaryNavigation\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"search\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       },\n       \"content\": {\n        \"screen\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"container\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"header\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"body\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       },\n       \"bordersAndDividers\": {\n        \"color\": \"consectetur in eu officia\"\n       }\n      },\n      \"history\": {\n       \"createdDate\": \"1941-03-30T10:27:28.681Z\"\n      }\n     }\n    },\n    \"when\": \"1985-04-03T08:28:26.250Z\",\n    \"friendlyWhen\": \"id\",\n    \"message\": \"adipisicing nostrud est\",\n    \"number\": -34061657,\n    \"minorEdit\": true,\n    \"_expandable\": {\n     \"content\": \"minim ut deserunt amet\",\n     \"collaborators\": \"nulla exercitation tempor\"\n    },\n    \"_links\": {},\n    \"content\": {\n     \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n    },\n    \"collaborators\": {\n     \"users\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"userKeys\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"_links\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     }\n    }\n   },\n   \"previousVersion\": {\n    \"by\": {\n     \"type\": \"user\",\n     \"accountId\": \"aliqua ea reprehenderit Ut\",\n     \"accountType\": \"app (if this user is a bot user created on behalf of an Atlassian app)\",\n     \"email\": \"veniam consectetur deserunt\",\n     \"publicName\": \"consectetur cupida\",\n     \"profilePicture\": {\n      \"path\": \"ut adipisicing\",\n      \"width\": -11889160,\n      \"height\": 15659121,\n      \"isDefault\": true\n     },\n     \"displayName\": \"nulla s\",\n     \"_expandable\": {\n      \"operations\": \"ullamco consequat irure\",\n      \"details\": \"veniam in\",\n      \"personalSpace\": \"id\"\n     },\n     \"_links\": {},\n     \"username\": \"deserunt\",\n     \"userKey\": \"sit\",\n     \"operations\": [\n      {\n       \"operation\": \"update\",\n       \"targetType\": \"application\"\n      },\n      {\n       \"operation\": \"delete\",\n       \"targetType\": \"blogpost\"\n      }\n     ],\n     \"details\": {\n      \"business\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"personal\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     },\n     \"personalSpace\": {\n      \"id\": 75943871,\n      \"key\": \"officia dolore dolor nulla\",\n      \"name\": \"laboris Ut commodo\",\n      \"type\": \"nostrud Ut do\",\n      \"status\": \"officia dolor dolore Ut\",\n      \"_expandable\": {\n       \"settings\": \"exercitation ea\",\n       \"metadata\": \"voluptate velit in dolor nulla\",\n       \"operations\": \"laborum Ut in voluptate\",\n       \"lookAndFeel\": \"dolor laborum dolor qui mollit\",\n       \"permissions\": \"reprehenderit commodo\",\n       \"icon\": \"aliqua \",\n       \"description\": \"nulla sed\",\n       \"theme\": \"enim aliqua consequat officia\",\n       \"history\": \"qui id dolore\",\n       \"homepage\": \"ad Excepteur sint ullamco cill\"\n      },\n      \"_links\": {},\n      \"icon\": {\n       \"path\": \"incididunt proident dolor\",\n       \"width\": 60445256,\n       \"height\": 22364681,\n       \"isDefault\": true\n      },\n      \"description\": {\n       \"plain\": {\n        \"value\": \"veniam voluptate laboris\",\n        \"representation\": \"view\",\n        \"embeddedContent\": [\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         }\n        ]\n       },\n       \"view\": {\n        \"value\": \"sunt cupidatat nisi\",\n        \"representation\": \"view\",\n        \"embeddedContent\": [\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         }\n        ]\n       }\n      },\n      \"homepage\": {\n       \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n      },\n      \"metadata\": {\n       \"labels\": {\n        \"results\": [\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         }\n        ],\n        \"start\": 18862583,\n        \"limit\": 24826083,\n        \"size\": 8637256,\n        \"_links\": {}\n       }\n      },\n      \"operations\": [\n       {\n        \"operation\": \"create\",\n        \"targetType\": \"comment\"\n       },\n       {\n        \"operation\": \"delete\",\n        \"targetType\": \"attachment\"\n       }\n      ],\n      \"permissions\": [\n       {\n        \"subjects\": {\n         \"_expandable\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         \"user\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         \"group\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         }\n        },\n        \"operation\": {\n         \"operation\": \"administer\",\n         \"targetType\": \"blogpost\"\n        },\n        \"anonymousAccess\": false,\n        \"unlicensedAccess\": false\n       },\n       {\n        \"subjects\": {\n         \"_expandable\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         \"user\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         \"group\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         }\n        },\n        \"operation\": {\n         \"operation\": \"create\",\n         \"targetType\": \"comment\"\n        },\n        \"anonymousAccess\": false,\n        \"unlicensedAccess\": false\n       }\n      ],\n      \"settings\": {\n       \"routeOverrideEnabled\": true,\n       \"_links\": {}\n      },\n      \"theme\": {},\n      \"lookAndFeel\": {\n       \"headings\": {\n        \"color\": \"ullamco sint ipsum fugiat\"\n       },\n       \"links\": {\n        \"color\": \"dolore magna\"\n       },\n       \"menus\": {\n        \"hoverOrFocus\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"color\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       },\n       \"header\": {\n        \"backgroundColor\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"button\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"primaryNavigation\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"secondaryNavigation\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"search\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       },\n       \"content\": {\n        \"screen\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"container\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"header\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"body\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       },\n       \"bordersAndDividers\": {\n        \"color\": \"ut ea Lorem tempor\"\n       }\n      },\n      \"history\": {\n       \"createdDate\": \"1944-10-08T15:25:34.009Z\"\n      }\n     }\n    },\n    \"when\": \"2002-07-09T16:38:52.404Z\",\n    \"friendlyWhen\": \"magna\",\n    \"message\": \"nostrud ea\",\n    \"number\": -79132607,\n    \"minorEdit\": true,\n    \"_expandable\": {\n     \"content\": \"in\",\n     \"collaborators\": \"dolore ut cillum\"\n    },\n    \"_links\": {},\n    \"content\": {\n     \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n    },\n    \"collaborators\": {\n     \"users\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"userKeys\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"_links\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     }\n    }\n   },\n   \"contributors\": {\n    \"publishers\": {\n     \"users\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"userKeys\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"_links\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     }\n    }\n   },\n   \"nextVersion\": {\n    \"by\": {\n     \"type\": \"unknown\",\n     \"accountId\": \"sit ex ad officia\",\n     \"accountType\": \"app (if this user is a bot user created on behalf of an Atlassian app)\",\n     \"email\": \"eu anim quis magna\",\n     \"publicName\": \"cupidatat pariatur cillum\",\n     \"profilePicture\": {\n      \"path\": \"est elit reprehenderi\",\n      \"width\": -63072352,\n      \"height\": 7286446,\n      \"isDefault\": true\n     },\n     \"displayName\": \"dolore eiusmod\",\n     \"_expandable\": {\n      \"operations\": \"aliquip commodo d\",\n      \"details\": \"mollit eiusmod id ea reprehenderit\",\n      \"personalSpace\": \"consequat officia sint\"\n     },\n     \"_links\": {},\n     \"username\": \"sit quis tempor\",\n     \"userKey\": \"pariatur labore esse\",\n     \"operations\": [\n      {\n       \"operation\": \"read\",\n       \"targetType\": \"space\"\n      },\n      {\n       \"operation\": \"use\",\n       \"targetType\": \"application\"\n      }\n     ],\n     \"details\": {\n      \"business\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"personal\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     },\n     \"personalSpace\": {\n      \"id\": 25850550,\n      \"key\": \"dolore consectetur anim elit ex\",\n      \"name\": \"amet\",\n      \"type\": \"labore Excepteur ut\",\n      \"status\": \"irure dolore ipsum\",\n      \"_expandable\": {\n       \"settings\": \"sed nulla in\",\n       \"metadata\": \"ad ut\",\n       \"operations\": \"a\",\n       \"lookAndFeel\": \"proident sed\",\n       \"permissions\": \"aliqua\",\n       \"icon\": \"do eiusmod exercitation amet\",\n       \"description\": \"do culpa ea\",\n       \"theme\": \"ea mollit consequat vel\",\n       \"history\": \"sunt ad ullamco aliqua\",\n       \"homepage\": \"minim magna exercitation\"\n      },\n      \"_links\": {},\n      \"icon\": {\n       \"path\": \"reprehenderit\",\n       \"width\": 89956824,\n       \"height\": 78708142,\n       \"isDefault\": true\n      },\n      \"description\": {\n       \"plain\": {\n        \"value\": \"occaecat anim\",\n        \"representation\": \"view\",\n        \"embeddedContent\": [\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         }\n        ]\n       },\n       \"view\": {\n        \"value\": \"tempor incididunt commodo dolore adipisicing\",\n        \"representation\": \"plain\",\n        \"embeddedContent\": [\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         }\n        ]\n       }\n      },\n      \"homepage\": {\n       \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n      },\n      \"metadata\": {\n       \"labels\": {\n        \"results\": [\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         }\n        ],\n        \"start\": 97161077,\n        \"limit\": -7858205,\n        \"size\": -52033095,\n        \"_links\": {}\n       }\n      },\n      \"operations\": [\n       {\n        \"operation\": \"delete\",\n        \"targetType\": \"blogpost\"\n       },\n       {\n        \"operation\": \"read\",\n        \"targetType\": \"page\"\n       }\n      ],\n      \"permissions\": [\n       {\n        \"subjects\": {\n         \"_expandable\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         \"user\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         \"group\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         }\n        },\n        \"operation\": {\n         \"operation\": \"export\",\n         \"targetType\": \"space\"\n        },\n        \"anonymousAccess\": false,\n        \"unlicensedAccess\": false\n       },\n       {\n        \"subjects\": {\n         \"_expandable\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         \"user\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         },\n         \"group\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n         }\n        },\n        \"operation\": {\n         \"operation\": \"purge\",\n         \"targetType\": \"page\"\n        },\n        \"anonymousAccess\": false,\n        \"unlicensedAccess\": false\n       }\n      ],\n      \"settings\": {\n       \"routeOverrideEnabled\": false,\n       \"_links\": {}\n      },\n      \"theme\": {},\n      \"lookAndFeel\": {\n       \"headings\": {\n        \"color\": \"ex anim aute esse cupidatat\"\n       },\n       \"links\": {\n        \"color\": \"cupidatat qui aute proident\"\n       },\n       \"menus\": {\n        \"hoverOrFocus\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"color\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       },\n       \"header\": {\n        \"backgroundColor\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"button\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"primaryNavigation\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"secondaryNavigation\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"search\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       },\n       \"content\": {\n        \"screen\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"container\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"header\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"body\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       },\n       \"bordersAndDividers\": {\n        \"color\": \"anim eu velit\"\n       }\n      },\n      \"history\": {\n       \"createdDate\": \"2014-12-11T22:32:46.384Z\"\n      }\n     }\n    },\n    \"when\": \"1964-04-11T00:41:49.747Z\",\n    \"friendlyWhen\": \"consequat sunt\",\n    \"message\": \"voluptate eu culpa\",\n    \"number\": -99162895,\n    \"minorEdit\": false,\n    \"_expandable\": {\n     \"content\": \"aliqua consequat proident\",\n     \"collaborators\": \"fugiat Lorem culpa ea consequat\"\n    },\n    \"_links\": {},\n    \"content\": {\n     \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n    },\n    \"collaborators\": {\n     \"users\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"userKeys\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"_links\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     }\n    }\n   },\n   \"_expandable\": {\n    \"lastUpdated\": \"qui\",\n    \"previousVersion\": \"cupidatat Duis\",\n    \"contributors\": \"dolor sunt\",\n    \"nextVersion\": \"cul\"\n   },\n   \"_links\": {}\n  },\n  \"version\": {\n   \"by\": {\n    \"type\": \"unknown\",\n    \"accountId\": \"nostrud\",\n    \"accountType\": \"app (if this user is a bot user created on behalf of an Atlassian app)\",\n    \"email\": \"laborum in\",\n    \"publicName\": \"d\",\n    \"profilePicture\": {\n     \"path\": \"Ut ut\",\n     \"width\": 32034000,\n     \"height\": 91430165,\n     \"isDefault\": true\n    },\n    \"displayName\": \"magna dolore elit\",\n    \"_expandable\": {\n     \"operations\": \"non cupidatat ut i\",\n     \"details\": \"Lorem mollit Duis\",\n     \"personalSpace\": \"ad irure incididunt\"\n    },\n    \"_links\": {},\n    \"username\": \"reprehenderit aute id\",\n    \"userKey\": \"occaecat est et laborum nisi\",\n    \"operations\": [\n     {\n      \"operation\": \"restore\",\n      \"targetType\": \"attachment\"\n     },\n     {\n      \"operation\": \"use\",\n      \"targetType\": \"page\"\n     }\n    ],\n    \"details\": {\n     \"business\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"personal\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     }\n    },\n    \"personalSpace\": {\n     \"id\": -60825288,\n     \"key\": \"dolore tempor mollit velit\",\n     \"name\": \"magna in reprehenderit\",\n     \"type\": \"incididunt reprehenderit nulla qui\",\n     \"status\": \"ad eiusmod\",\n     \"_expandable\": {\n      \"settings\": \"irure do off\",\n      \"metadata\": \"ut in enim fugiat\",\n      \"operations\": \"enim anim\",\n      \"lookAndFeel\": \"enim officia ea exercitation sunt\",\n      \"permissions\": \"pariatur labore\",\n      \"icon\": \"qui nostrud eiusmod\",\n      \"description\": \"Duis dolore\",\n      \"theme\": \"voluptate\",\n      \"history\": \"ex esse\",\n      \"homepage\": \"reprehenderit\"\n     },\n     \"_links\": {},\n     \"icon\": {\n      \"path\": \"ex sunt\",\n      \"width\": -99166809,\n      \"height\": 31463667,\n      \"isDefault\": false\n     },\n     \"description\": {\n      \"plain\": {\n       \"value\": \"amet sit deserunt\",\n       \"representation\": \"plain\",\n       \"embeddedContent\": [\n        {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       ]\n      },\n      \"view\": {\n       \"value\": \"eu ex sed esse\",\n       \"representation\": \"view\",\n       \"embeddedContent\": [\n        {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       ]\n      }\n     },\n     \"homepage\": {\n      \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n     },\n     \"metadata\": {\n      \"labels\": {\n       \"results\": [\n        {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       ],\n       \"start\": -69971438,\n       \"limit\": 65465907,\n       \"size\": -4733453,\n       \"_links\": {}\n      }\n     },\n     \"operations\": [\n      {\n       \"operation\": \"administer\",\n       \"targetType\": \"application\"\n      },\n      {\n       \"operation\": \"create\",\n       \"targetType\": \"page\"\n      }\n     ],\n     \"permissions\": [\n      {\n       \"subjects\": {\n        \"_expandable\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"user\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"group\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       },\n       \"operation\": {\n        \"operation\": \"copy\",\n        \"targetType\": \"space\"\n       },\n       \"anonymousAccess\": false,\n       \"unlicensedAccess\": false\n      },\n      {\n       \"subjects\": {\n        \"_expandable\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"user\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"group\": {\n         \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n       },\n       \"operation\": {\n        \"operation\": \"restore\",\n        \"targetType\": \"blogpost\"\n       },\n       \"anonymousAccess\": false,\n       \"unlicensedAccess\": false\n      }\n     ],\n     \"settings\": {\n      \"routeOverrideEnabled\": true,\n      \"_links\": {}\n     },\n     \"theme\": {},\n     \"lookAndFeel\": {\n      \"headings\": {\n       \"color\": \"Duis id\"\n      },\n      \"links\": {\n       \"color\": \"mollit in\"\n      },\n      \"menus\": {\n       \"hoverOrFocus\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"color\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       }\n      },\n      \"header\": {\n       \"backgroundColor\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"button\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"primaryNavigation\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"secondaryNavigation\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"search\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       }\n      },\n      \"content\": {\n       \"screen\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"container\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"header\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"body\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       }\n      },\n      \"bordersAndDividers\": {\n       \"color\": \"et ipsum\"\n      }\n     },\n     \"history\": {\n      \"createdDate\": \"1965-11-10T20:27:28.378Z\"\n     }\n    }\n   },\n   \"when\": \"1982-10-06T17:10:50.894Z\",\n   \"friendlyWhen\": \"eiusm\",\n   \"message\": \"fugiat elit labore\",\n   \"number\": 25527774,\n   \"minorEdit\": true,\n   \"_expandable\": {\n    \"content\": \"officia nostrud\",\n    \"collaborators\": \"consectetur\"\n   },\n   \"_links\": {},\n   \"content\": {\n    \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n   },\n   \"collaborators\": {\n    \"users\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"userKeys\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    },\n    \"_links\": {\n     \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n    }\n   }\n  },\n  \"ancestors\": [\n   {\n    \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n   },\n   {\n    \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n   }\n  ],\n  \"operations\": [\n   {\n    \"operation\": \"copy\",\n    \"targetType\": \"attachment\"\n   },\n   {\n    \"operation\": \"purge_version\",\n    \"targetType\": \"attachment\"\n   }\n  ],\n  \"children\": {\n   \"_expandable\": {\n    \"attachment\": \"non nulla eiusmod\",\n    \"comment\": \"sit non\",\n    \"page\": \"in qui dolor ex in\"\n   },\n   \"_links\": {},\n   \"attachment\": {\n    \"results\": [\n     {\n      \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n     },\n     {\n      \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n     }\n    ],\n    \"start\": 37640504,\n    \"limit\": 4095292,\n    \"size\": -74545535,\n    \"_links\": {}\n   },\n   \"comment\": {\n    \"results\": [\n     {\n      \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n     },\n     {\n      \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n     }\n    ],\n    \"start\": -78388553,\n    \"limit\": -9397433,\n    \"size\": 52842154,\n    \"_links\": {}\n   },\n   \"page\": {\n    \"results\": [\n     {\n      \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n     },\n     {\n      \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n     }\n    ],\n    \"start\": -80456773,\n    \"limit\": 20052133,\n    \"size\": 87558161,\n    \"_links\": {}\n   }\n  },\n  \"childTypes\": {\n   \"_expandable\": {\n    \"all\": \"sint labore\",\n    \"attachment\": \"aliqua commodo proident\",\n    \"comment\": \"Ut elit\",\n    \"page\": \"incididunt in do Excepteur consectetur\"\n   },\n   \"attachment\": {\n    \"value\": true,\n    \"_links\": {}\n   },\n   \"comment\": {\n    \"value\": true,\n    \"_links\": {}\n   },\n   \"page\": {\n    \"value\": false,\n    \"_links\": {}\n   }\n  },\n  \"descendants\": {\n   \"_expandable\": {\n    \"attachment\": \"proident\",\n    \"comment\": \"amet dolor officia in\",\n    \"page\": \"eiusmod consequat quis\"\n   },\n   \"_links\": {},\n   \"attachment\": {\n    \"results\": [\n     {\n      \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n     },\n     {\n      \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n     }\n    ],\n    \"start\": 16886450,\n    \"limit\": -90909821,\n    \"size\": -51410490,\n    \"_links\": {}\n   },\n   \"comment\": {\n    \"results\": [\n     {\n      \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n     },\n     {\n      \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n     }\n    ],\n    \"start\": 44520089,\n    \"limit\": 97221813,\n    \"size\": -51798126,\n    \"_links\": {}\n   },\n   \"page\": {\n    \"results\": [\n     {\n      \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n     },\n     {\n      \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n     }\n    ],\n    \"start\": 7815613,\n    \"limit\": -54835706,\n    \"size\": -82158304,\n    \"_links\": {}\n   }\n  },\n  \"container\": {},\n  \"body\": {\n   \"_expandable\": {\n    \"editor\": \"id ipsum ea Lorem\",\n    \"view\": \"dolore aute consequat et\",\n    \"export_view\": \"ipsum do Duis ullamco\",\n    \"styled_view\": \"in\",\n    \"storage\": \"elit fugiat aliqua minim proident\",\n    \"editor2\": \"laborum sit dolore\",\n    \"anonymous_export_view\": \"consec\"\n   }\n  },\n  \"restrictions\": {\n   \"_links\": {},\n   \"read\": {\n    \"operation\": \"copy\",\n    \"_expandable\": {\n     \"restrictions\": \"eiusmod\",\n     \"content\": \"Lorem\"\n    },\n    \"_links\": {},\n    \"restrictions\": {\n     \"user\": {\n      \"results\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"start\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"limit\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"size\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     },\n     \"group\": {\n      \"results\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"start\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"limit\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"size\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     },\n     \"_expandable\": {\n      \"user\": \"fugiat dolor sed\",\n      \"group\": \"nisi dolor magna id occaecat\"\n     }\n    },\n    \"content\": {\n     \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n    }\n   },\n   \"update\": {\n    \"operation\": \"move\",\n    \"_expandable\": {\n     \"restrictions\": \"consequat sed et dolor velit\",\n     \"content\": \"dolor mollit\"\n    },\n    \"_links\": {},\n    \"restrictions\": {\n     \"user\": {\n      \"results\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"start\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"limit\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"size\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     },\n     \"group\": {\n      \"results\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"start\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"limit\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"size\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     },\n     \"_expandable\": {\n      \"user\": \"do in\",\n      \"group\": \"anim exercitation Excep\"\n     }\n    },\n    \"content\": {\n     \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n    }\n   }\n  },\n  \"_links\": {}\n },\n \"collaborators\": {\n  \"users\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"userKeys\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  },\n  \"_links\": {\n   \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n  }\n }\n}"
    },
    {
      "name": "Returned if;\n\n- There is no content with the given ID.\n- There is no version with the given version number.\n- The version number is the current version.",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": {
              "content": "Added as a part of security scheme: oauth2",
              "type": "text/plain"
            },
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"operationKey\": \"<string>\",\n    \"params\": {\n        \"versionNumber\": \"<integer>\",\n        \"message\": \"<string>\"\n    }\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/api/content/:id/version?expand=<string>&expand=<string>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "content",
            ":id",
            "version"
          ],
          "query": [
            {
              "key": "expand",
              "value": "<string>"
            },
            {
              "key": "expand",
              "value": "<string>"
            }
          ],
          "variable": [
            {
              "key": "id"
            }
          ]
        }
      },
      "status": "Bad Request",
      "code": 400,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "Returned if the calling user doesn't have permission to edit the\ncontent.",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": {
              "content": "Added as a part of security scheme: oauth2",
              "type": "text/plain"
            },
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"operationKey\": \"<string>\",\n    \"params\": {\n        \"versionNumber\": \"<integer>\",\n        \"message\": \"<string>\"\n    }\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/api/content/:id/version?expand=<string>&expand=<string>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "content",
            ":id",
            "version"
          ],
          "query": [
            {
              "key": "expand",
              "value": "<string>"
            },
            {
              "key": "expand",
              "value": "<string>"
            }
          ],
          "variable": [
            {
              "key": "id"
            }
          ]
        }
      },
      "status": "Forbidden",
      "code": 403,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}