Chilkat Online Tools

C++ / Atlassian Confluence Cloud / Get content history

Back to Collection Items

#include <CkHttp.h>
#include <CkJsonObject.h>
#include <CkHttpResponse.h>
#include <CkStringBuilder.h>

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

    CkHttp http;
    bool success;

    CkJsonObject queryParams;
    queryParams.UpdateString("expand","<string>");
    queryParams.UpdateString("expand","<string>");

    // Adds the "Authorization: Bearer <access_token>" header.
    http.put_AuthToken("<access_token>");

    CkHttpResponse *resp = http.QuickRequestParams("GET","https://your-domain.atlassian.net/wiki/rest/api/content/:id/history",queryParams);
    if (http.get_LastMethodSuccess() == false) {
        std::cout << http.lastErrorText() << "\r\n";
        return;
    }

    CkStringBuilder sbResponseBody;
    resp->GetBodySb(sbResponseBody);

    CkJsonObject jResp;
    jResp.LoadSb(sbResponseBody);
    jResp.put_EmitCompact(false);

    std::cout << "Response Body:" << "\r\n";
    std::cout << jResp.emit() << "\r\n";

    int respStatusCode = resp->get_StatusCode();
    std::cout << "Response Status Code = " << respStatusCode << "\r\n";
    if (respStatusCode >= 400) {
        std::cout << "Response Header:" << "\r\n";
        std::cout << resp->header() << "\r\n";
        std::cout << "Failed." << "\r\n";
        delete resp;
        return;
    }

    delete resp;
    }

Curl Command

curl -G -d "expand=%3Cstring%3E"
	-d "expand=%3Cstring%3E"
	-H "Authorization: Bearer <access_token>"
https://your-domain.atlassian.net/wiki/rest/api/content/:id/history

Postman Collection Item JSON

{
  "name": "Get content history",
  "request": {
    "auth": {
      "type": "oauth2"
    },
    "method": "GET",
    "header": [
    ],
    "url": {
      "raw": "{{baseUrl}}/api/content/:id/history?expand=<string>&expand=<string>",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "content",
        ":id",
        "history"
      ],
      "query": [
        {
          "key": "expand",
          "value": "<string>",
          "description": "A multi-value parameter indicating which properties of the content history to expand.\n\n- `lastUpdated` returns information about the most recent update of the content,\nincluding who updated it and when it was updated.\n- `previousVersion` returns information about the update prior to the current content\nupdate. For this method, it contains the same information as `lastUpdated`.\n- `contributors` returns all of the users who have contributed to the content.\n- `nextVersion` This parameter is not used for this method."
        },
        {
          "key": "expand",
          "value": "<string>",
          "description": "A multi-value parameter indicating which properties of the content history to expand.\n\n- `lastUpdated` returns information about the most recent update of the content,\nincluding who updated it and when it was updated.\n- `previousVersion` returns information about the update prior to the current content\nupdate. For this method, it contains the same information as `lastUpdated`.\n- `contributors` returns all of the users who have contributed to the content.\n- `nextVersion` This parameter is not used for this method."
        }
      ],
      "variable": [
        {
          "key": "id",
          "value": "<string>",
          "type": "string",
          "description": "(Required) The ID of the content to be queried for its history."
        }
      ]
    },
    "description": "Returns the most recent update for a piece of content.\n\n**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content."
  },
  "response": [
    {
      "name": "Returned if the requested content history is returned.",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": {
              "content": "Added as a part of security scheme: oauth2",
              "type": "text/plain"
            },
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/content/:id/history?expand=<string>&expand=<string>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "content",
            ":id",
            "history"
          ],
          "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 \"latest\": false,\n \"createdBy\": {\n  \"type\": \"anonymous\",\n  \"accountId\": \"Ut eiusmod\",\n  \"accountType\": \"atlassian\",\n  \"email\": \"ut eiusmod adipi\",\n  \"publicName\": \"laboris exercitation in aliquip est\",\n  \"profilePicture\": {\n   \"path\": \"dolor qui\",\n   \"width\": -50081325,\n   \"height\": 20873722,\n   \"isDefault\": true\n  },\n  \"displayName\": \"ad Ut sunt\",\n  \"_expandable\": {\n   \"operations\": \"elit ad\",\n   \"details\": \"Excepteur quis dolor\",\n   \"personalSpace\": \"officia ut ipsum\"\n  },\n  \"_links\": {},\n  \"username\": \"proident ut E\",\n  \"userKey\": \"aliqua anim minim\",\n  \"operations\": [\n   {\n    \"operation\": \"copy\",\n    \"targetType\": \"comment\"\n   },\n   {\n    \"operation\": \"update\",\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\": -80158331,\n   \"key\": \"ullamco deserunt\",\n   \"name\": \"dolor ut sed\",\n   \"type\": \"aliqua amet do\",\n   \"status\": \"in voluptate\",\n   \"_expandable\": {\n    \"settings\": \"occaecat exercitation ea\",\n    \"metadata\": \"est exercitation enim sed\",\n    \"operations\": \"laboris esse\",\n    \"lookAndFeel\": \"minim qui in e\",\n    \"permissions\": \"adipisicing ad pariatur Ut\",\n    \"icon\": \"in pariatur in\",\n    \"description\": \"aliqua commodo proident\",\n    \"theme\": \"non veniam\",\n    \"history\": \"est\",\n    \"homepage\": \"in cillum est tempor quis\"\n   },\n   \"_links\": {},\n   \"icon\": {\n    \"path\": \"in reprehenderit eiusmod enim\",\n    \"width\": -75049843,\n    \"height\": -23585083,\n    \"isDefault\": true\n   },\n   \"description\": {\n    \"plain\": {\n     \"value\": \"nisi et veniam\",\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\": \"aliqua sunt in et in\",\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\": -96579061,\n     \"limit\": -1644365,\n     \"size\": 44302210,\n     \"_links\": {}\n    }\n   },\n   \"operations\": [\n    {\n     \"operation\": \"restore\",\n     \"targetType\": \"application\"\n    },\n    {\n     \"operation\": \"use\",\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\": \"move\",\n      \"targetType\": \"application\"\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\": \"application\"\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 sunt\"\n    },\n    \"links\": {\n     \"color\": \"culpa Ut ut fugiat\"\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\": \"ad aliqua quis deserunt\"\n    }\n   },\n   \"history\": {\n    \"createdDate\": \"1943-06-27T16:36:58.195Z\"\n   }\n  }\n },\n \"createdDate\": \"1946-07-18T15:13:59.274Z\",\n \"lastUpdated\": {\n  \"by\": {\n   \"type\": \"anonymous\",\n   \"accountId\": \"aliquip ut in\",\n   \"accountType\": \"atlassian\",\n   \"email\": \"Lorem ut occaecat\",\n   \"publicName\": \"ullamco ad velit\",\n   \"profilePicture\": {\n    \"path\": \"proident esse adipisicing\",\n    \"width\": -13854327,\n    \"height\": -74960052,\n    \"isDefault\": false\n   },\n   \"displayName\": \"tempor eu deserunt exercitation\",\n   \"_expandable\": {\n    \"operations\": \"\",\n    \"details\": \"ut\",\n    \"personalSpace\": \"nisi ut do\"\n   },\n   \"_links\": {},\n   \"username\": \"laboris\",\n   \"userKey\": \"dolor incididunt enim ad\",\n   \"operations\": [\n    {\n     \"operation\": \"read\",\n     \"targetType\": \"page\"\n    },\n    {\n     \"operation\": \"delete\",\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\": 92069616,\n    \"key\": \"mollit consectetur\",\n    \"name\": \"officia irure\",\n    \"type\": \"in quis labore ut\",\n    \"status\": \"irure enim adipisicing\",\n    \"_expandable\": {\n     \"settings\": \"ea et\",\n     \"metadata\": \"adipisicing \",\n     \"operations\": \"enim id culpa consectetur\",\n     \"lookAndFeel\": \"in\",\n     \"permissions\": \"mollit voluptate aute laborum dolor\",\n     \"icon\": \"consequat\",\n     \"description\": \"\",\n     \"theme\": \"veniam eiusmod\",\n     \"history\": \"deserunt enim\",\n     \"homepage\": \"voluptate\"\n    },\n    \"_links\": {},\n    \"icon\": {\n     \"path\": \"cupidatat deserunt\",\n     \"width\": 87702207,\n     \"height\": 17674025,\n     \"isDefault\": true\n    },\n    \"description\": {\n     \"plain\": {\n      \"value\": \"occaecat sint\",\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\": \"velit irure veniam laboris\",\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\": -93381519,\n      \"limit\": 10555142,\n      \"size\": -82137461,\n      \"_links\": {}\n     }\n    },\n    \"operations\": [\n     {\n      \"operation\": \"purge_version\",\n      \"targetType\": \"page\"\n     },\n     {\n      \"operation\": \"read\",\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\": \"restore\",\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\": \"application\"\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\": \"deserunt cupidatat ut\"\n     },\n     \"links\": {\n      \"color\": \"cons\"\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\": \"deserunt ullamco adipisicing dolore\"\n     }\n    },\n    \"history\": {\n     \"createdDate\": \"1961-10-26T08:10:06.740Z\"\n    }\n   }\n  },\n  \"when\": \"2017-07-19T02:34:01.794Z\",\n  \"friendlyWhen\": \"labo\",\n  \"message\": \"sed ea id magna\",\n  \"number\": -11862005,\n  \"minorEdit\": true,\n  \"_expandable\": {\n   \"content\": \"sunt sed anim velit\",\n   \"collaborators\": \"nostrud fugiat dolore\"\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\": \"unknown\",\n   \"accountId\": \"sunt in occaecat ex\",\n   \"accountType\": \"atlassian\",\n   \"email\": \"adipisicing nisi officia sed\",\n   \"publicName\": \"velit incididunt laborum Lorem non\",\n   \"profilePicture\": {\n    \"path\": \"dolor\",\n    \"width\": 69410232,\n    \"height\": 55213367,\n    \"isDefault\": false\n   },\n   \"displayName\": \"aliquip\",\n   \"_expandable\": {\n    \"operations\": \"id ex cillum\",\n    \"details\": \"qui sit minim\",\n    \"personalSpace\": \"consectetur esse\"\n   },\n   \"_links\": {},\n   \"username\": \"occaecat ex\",\n   \"userKey\": \"veniam in ut\",\n   \"operations\": [\n    {\n     \"operation\": \"copy\",\n     \"targetType\": \"space\"\n    },\n    {\n     \"operation\": \"purge_version\",\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\": -63675505,\n    \"key\": \"sed ut voluptate in\",\n    \"name\": \"in magna amet\",\n    \"type\": \"nostrud adipisicing reprehenderit\",\n    \"status\": \"dolor aliquip mollit occaeca\",\n    \"_expandable\": {\n     \"settings\": \"esse Exce\",\n     \"metadata\": \"aliquip cillum non\",\n     \"operations\": \"nulla cillum\",\n     \"lookAndFeel\": \"Ut\",\n     \"permissions\": \"sint aliqua in\",\n     \"icon\": \"enim ut\",\n     \"description\": \"cillum proident in sed velit\",\n     \"theme\": \"Duis pariatur deserunt qui\",\n     \"history\": \"officia velit ut\",\n     \"homepage\": \"proident eiusmod\"\n    },\n    \"_links\": {},\n    \"icon\": {\n     \"path\": \"non anim\",\n     \"width\": 9964366,\n     \"height\": -16636614,\n     \"isDefault\": false\n    },\n    \"description\": {\n     \"plain\": {\n      \"value\": \"in ma\",\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 aute est 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    },\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\": 48088684,\n      \"limit\": -89176957,\n      \"size\": -71909126,\n      \"_links\": {}\n     }\n    },\n    \"operations\": [\n     {\n      \"operation\": \"copy\",\n      \"targetType\": \"attachment\"\n     },\n     {\n      \"operation\": \"purge_version\",\n      \"targetType\": \"blogpost\"\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\": \"application\"\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\": \"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\": \"nostrud consectetur\"\n     },\n     \"links\": {\n      \"color\": \"occaecat Lorem in ullamco\"\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\": \"pariatur ea ullamco officia\"\n     }\n    },\n    \"history\": {\n     \"createdDate\": \"2000-08-19T03:53:51.302Z\"\n    }\n   }\n  },\n  \"when\": \"1960-05-29T11:52:59.089Z\",\n  \"friendlyWhen\": \"incididunt eiusmod\",\n  \"message\": \"eiusmod adipisicing sit\",\n  \"number\": -67339194,\n  \"minorEdit\": true,\n  \"_expandable\": {\n   \"content\": \"fugiat dolore\",\n   \"collaborators\": \"in ullamco proident exer\"\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\": \"reprehenderit est\",\n   \"accountType\": \"atlassian\",\n   \"email\": \"ip\",\n   \"publicName\": \"aliqua\",\n   \"profilePicture\": {\n    \"path\": \"et culpa\",\n    \"width\": -2124573,\n    \"height\": -96736315,\n    \"isDefault\": true\n   },\n   \"displayName\": \"commodo est cillum dolore laborum\",\n   \"_expandable\": {\n    \"operations\": \"tempor non adipisicing\",\n    \"details\": \"enim nisi officia labore Excepteur\",\n    \"personalSpace\": \"esse nisi ut\"\n   },\n   \"_links\": {},\n   \"username\": \"id nostrud sunt\",\n   \"userKey\": \"ut cupidatat aute\",\n   \"operations\": [\n    {\n     \"operation\": \"restore\",\n     \"targetType\": \"comment\"\n    },\n    {\n     \"operation\": \"restore\",\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\": 20254462,\n    \"key\": \"deserunt ex\",\n    \"name\": \"ad exercitation incididunt non\",\n    \"type\": \"veniam exercitation sit\",\n    \"status\": \"sint fugiat non tempor sed\",\n    \"_expandable\": {\n     \"settings\": \"pariatur irure enim\",\n     \"metadata\": \"anim ipsum \",\n     \"operations\": \"irure officia\",\n     \"lookAndFeel\": \"m\",\n     \"permissions\": \"culpa eiusmod\",\n     \"icon\": \"incididunt aliquip ut\",\n     \"description\": \"velit qui deserunt\",\n     \"theme\": \"ullamco dolor proident nostrud consectetur\",\n     \"history\": \"eu\",\n     \"homepage\": \"ad veniam in\"\n    },\n    \"_links\": {},\n    \"icon\": {\n     \"path\": \"nostrud culpa enim aliquip\",\n     \"width\": -92863518,\n     \"height\": 74968459,\n     \"isDefault\": false\n    },\n    \"description\": {\n     \"plain\": {\n      \"value\": \"nisi sunt\",\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\": \"consectetur anim veniam\",\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\": 23668157,\n      \"limit\": 21114203,\n      \"size\": -67660293,\n      \"_links\": {}\n     }\n    },\n    \"operations\": [\n     {\n      \"operation\": \"export\",\n      \"targetType\": \"page\"\n     },\n     {\n      \"operation\": \"purge_version\",\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\": \"administer\",\n       \"targetType\": \"application\"\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\": \"delete\",\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\": \"pariatur ut dolore\"\n     },\n     \"links\": {\n      \"color\": \"et sed\"\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\": \"nisi cupidat\"\n     }\n    },\n    \"history\": {\n     \"createdDate\": \"1944-10-04T11:24:18.611Z\"\n    }\n   }\n  },\n  \"when\": \"1953-11-03T04:58:58.674Z\",\n  \"friendlyWhen\": \"enim d\",\n  \"message\": \"ut\",\n  \"number\": 50608693,\n  \"minorEdit\": false,\n  \"_expandable\": {\n   \"content\": \"deserunt\",\n   \"collaborators\": \"pariatur in\"\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\": \"adipisicing exercitation proide\",\n  \"previousVersion\": \"in\",\n  \"contributors\": \"voluptate consectetur\",\n  \"nextVersion\": \"Excepteur sunt reprehenderit \"\n },\n \"_links\": {}\n}"
    },
    {
      "name": "Returned if the authentication credentials are incorrect or missing\nfrom the request.",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": {
              "content": "Added as a part of security scheme: oauth2",
              "type": "text/plain"
            },
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/content/:id/history?expand=<string>&expand=<string>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "content",
            ":id",
            "history"
          ],
          "query": [
            {
              "key": "expand",
              "value": "<string>"
            },
            {
              "key": "expand",
              "value": "<string>"
            }
          ],
          "variable": [
            {
              "key": "id"
            }
          ]
        }
      },
      "status": "Unauthorized",
      "code": 401,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "Returned if;\n\n- There is no content with the given ID.\n- The calling user does not have permission to view the content.",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": {
              "content": "Added as a part of security scheme: oauth2",
              "type": "text/plain"
            },
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/content/:id/history?expand=<string>&expand=<string>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "content",
            ":id",
            "history"
          ],
          "query": [
            {
              "key": "expand",
              "value": "<string>"
            },
            {
              "key": "expand",
              "value": "<string>"
            }
          ],
          "variable": [
            {
              "key": "id"
            }
          ]
        }
      },
      "status": "Not Found",
      "code": 404,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}