Chilkat Online Tools

unicodeC / Atlassian Confluence Cloud / Get blueprint templates

Back to Collection Items

#include <C_CkHttpW.h>
#include <C_CkJsonObjectW.h>
#include <C_CkHttpResponseW.h>
#include <C_CkStringBuilderW.h>

void ChilkatSample(void)
    {
    HCkHttpW http;
    BOOL success;
    HCkJsonObjectW queryParams;
    HCkHttpResponseW resp;
    HCkStringBuilderW sbResponseBody;
    HCkJsonObjectW jResp;
    int respStatusCode;
    const wchar_t *templateId;
    const wchar_t *PluginKey;
    const wchar_t *ModuleKey;
    const wchar_t *referencingBlueprint;
    const wchar_t *name;
    const wchar_t *description;
    const wchar_t *templateType;
    const wchar_t *Body;
    const wchar_t *Value;
    const wchar_t *Representation;
    const wchar_t *Content;
    const wchar_t *AllValue;
    const wchar_t *CssValue;
    const wchar_t *JsValue;
    const wchar_t *DataValue;
    const wchar_t *SuperbatchValue;
    int j;
    int count_j;
    const wchar_t *prefix;
    const wchar_t *id;
    const wchar_t *label;
    const wchar_t *entityIdValue;
    const wchar_t *entityValue;
    const wchar_t *value;
    int start;
    int limit;
    int size;
    int i;
    int count_i;

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

    http = CkHttpW_Create();

    queryParams = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(queryParams,L"spaceKey",L"<string>");
    CkJsonObjectW_UpdateInt(queryParams,L"start",0);
    CkJsonObjectW_UpdateInt(queryParams,L"limit",25);
    CkJsonObjectW_UpdateString(queryParams,L"expand",L"<string>");
    CkJsonObjectW_UpdateString(queryParams,L"expand",L"<string>");

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

    resp = CkHttpW_QuickRequestParams(http,L"GET",L"https://your-domain.atlassian.net/wiki/rest/api/template/blueprint",queryParams);
    if (CkHttpW_getLastMethodSuccess(http) == FALSE) {
        wprintf(L"%s\n",CkHttpW_lastErrorText(http));
        CkHttpW_Dispose(http);
        CkJsonObjectW_Dispose(queryParams);
        return;
    }

    sbResponseBody = CkStringBuilderW_Create();
    CkHttpResponseW_GetBodySb(resp,sbResponseBody);

    jResp = CkJsonObjectW_Create();
    CkJsonObjectW_LoadSb(jResp,sbResponseBody);
    CkJsonObjectW_putEmitCompact(jResp,FALSE);

    wprintf(L"Response Body:\n");
    wprintf(L"%s\n",CkJsonObjectW_emit(jResp));

    respStatusCode = CkHttpResponseW_getStatusCode(resp);
    wprintf(L"Response Status Code = %d\n",respStatusCode);
    if (respStatusCode >= 400) {
        wprintf(L"Response Header:\n");
        wprintf(L"%s\n",CkHttpResponseW_header(resp));
        wprintf(L"Failed.\n");
        CkHttpResponseW_Dispose(resp);
        CkHttpW_Dispose(http);
        CkJsonObjectW_Dispose(queryParams);
        CkStringBuilderW_Dispose(sbResponseBody);
        CkJsonObjectW_Dispose(jResp);
        return;
    }

    CkHttpResponseW_Dispose(resp);

    // Sample JSON response:
    // (Sample code for parsing the JSON response is shown below)

    // {
    //   "results": [
    //     {
    //       "templateId": "velit aute fug",
    //       "originalTemplate": {
    //         "pluginKey": "id adipisicing ex ea amet",
    //         "moduleKey": "elit occaecat exercitation"
    //       },
    //       "referencingBlueprint": "fug",
    //       "name": "do sit esse officia dolore",
    //       "description": "commodo et eu",
    //       "labels": [
    //         {
    //           "prefix": "nisi cupidatat in proident",
    //           "name": "deserunt magna ut eu",
    //           "id": "dolor in",
    //           "label": "nostrud culpa enim"
    //         },
    //         {
    //           "prefix": "sint qui labore",
    //           "name": "Ut qui exercitation dolore",
    //           "id": "non dolor aute",
    //           "label": "dolor quis magna ex"
    //         }
    //       ],
    //       "templateType": "officia",
    //       "_expandable": {
    //         "body": "pariatur Ut deserunt"
    //       },
    //       "_links": {},
    //       "body": {
    //         "value": "nulla aliqua culpa anim sunt",
    //         "representation": "anonymous_export_view",
    //         "_expandable": {
    //           "content": "ut est pariatur"
    //         },
    //         "embeddedContent": [
    //           {
    //             "entityId": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             "entity": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             }
    //           },
    //           {
    //             "entityId": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             "entity": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             }
    //           }
    //         ],
    //         "webresource": {
    //           "keys": [
    //             {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             }
    //           ],
    //           "contexts": [
    //             {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             }
    //           ],
    //           "uris": {
    //             "all": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             "css": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             "js": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             }
    //           },
    //           "tags": {
    //             "all": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             "css": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             "data": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             "js": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             }
    //           },
    //           "superbatch": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         }
    //       }
    //     },
    //     {
    //       "templateId": "voluptate mollit in",
    //       "originalTemplate": {
    //         "pluginKey": "Excepteur laborum",
    //         "moduleKey": "ea nulla"
    //       },
    //       "referencingBlueprint": "ipsum magna velit adipisicing est",
    //       "name": "in velit pariatur",
    //       "description": "ipsum qui et",
    //       "labels": [
    //         {
    //           "prefix": "incididunt non laborum sit",
    //           "name": "id tempor",
    //           "id": "mollit",
    //           "label": "deserunt exercitation tempor nulla"
    //         },
    //         {
    //           "prefix": "nostrud dolor",
    //           "name": "eiusmod in ad",
    //           "id": "cupidatat labore in",
    //           "label": "do deserunt amet"
    //         }
    //       ],
    //       "templateType": "aute",
    //       "_expandable": {
    //         "body": "labore deserunt"
    //       },
    //       "_links": {},
    //       "body": {
    //         "value": "aute qui",
    //         "representation": "editor2",
    //         "_expandable": {
    //           "content": "occaecat ea voluptate nostrud"
    //         },
    //         "embeddedContent": [
    //           {
    //             "entityId": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             "entity": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             }
    //           },
    //           {
    //             "entityId": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             "entity": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             }
    //           }
    //         ],
    //         "webresource": {
    //           "keys": [
    //             {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             }
    //           ],
    //           "contexts": [
    //             {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             }
    //           ],
    //           "uris": {
    //             "all": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             "css": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             "js": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             }
    //           },
    //           "tags": {
    //             "all": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             "css": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             "data": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             },
    //             "js": {
    //               "value": "<Error: Too many levels of nesting to fake this schema>"
    //             }
    //           },
    //           "superbatch": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         }
    //       }
    //     }
    //   ],
    //   "start": -43882824,
    //   "limit": 59508609,
    //   "size": -8662482,
    //   "_links": {}
    // }

    // Sample code for parsing the JSON response...
    // Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code

    // Chilkat functions returning "const char *" return a pointer to temporary internal memory owned and managed by Chilkat.

    start = CkJsonObjectW_IntOf(jResp,L"start");
    limit = CkJsonObjectW_IntOf(jResp,L"limit");
    size = CkJsonObjectW_IntOf(jResp,L"size");
    i = 0;
    count_i = CkJsonObjectW_SizeOfArray(jResp,L"results");
    while (i < count_i) {
        CkJsonObjectW_putI(jResp,i);
        templateId = CkJsonObjectW_stringOf(jResp,L"results[i].templateId");
        PluginKey = CkJsonObjectW_stringOf(jResp,L"results[i].originalTemplate.pluginKey");
        ModuleKey = CkJsonObjectW_stringOf(jResp,L"results[i].originalTemplate.moduleKey");
        referencingBlueprint = CkJsonObjectW_stringOf(jResp,L"results[i].referencingBlueprint");
        name = CkJsonObjectW_stringOf(jResp,L"results[i].name");
        description = CkJsonObjectW_stringOf(jResp,L"results[i].description");
        templateType = CkJsonObjectW_stringOf(jResp,L"results[i].templateType");
        Body = CkJsonObjectW_stringOf(jResp,L"results[i]._expandable.body");
        Value = CkJsonObjectW_stringOf(jResp,L"results[i].body.value");
        Representation = CkJsonObjectW_stringOf(jResp,L"results[i].body.representation");
        Content = CkJsonObjectW_stringOf(jResp,L"results[i].body._expandable.content");
        AllValue = CkJsonObjectW_stringOf(jResp,L"results[i].body.webresource.uris.all.value");
        CssValue = CkJsonObjectW_stringOf(jResp,L"results[i].body.webresource.uris.css.value");
        JsValue = CkJsonObjectW_stringOf(jResp,L"results[i].body.webresource.uris.js.value");
        AllValue = CkJsonObjectW_stringOf(jResp,L"results[i].body.webresource.tags.all.value");
        CssValue = CkJsonObjectW_stringOf(jResp,L"results[i].body.webresource.tags.css.value");
        DataValue = CkJsonObjectW_stringOf(jResp,L"results[i].body.webresource.tags.data.value");
        JsValue = CkJsonObjectW_stringOf(jResp,L"results[i].body.webresource.tags.js.value");
        SuperbatchValue = CkJsonObjectW_stringOf(jResp,L"results[i].body.webresource.superbatch.value");
        j = 0;
        count_j = CkJsonObjectW_SizeOfArray(jResp,L"results[i].labels");
        while (j < count_j) {
            CkJsonObjectW_putJ(jResp,j);
            prefix = CkJsonObjectW_stringOf(jResp,L"results[i].labels[j].prefix");
            name = CkJsonObjectW_stringOf(jResp,L"results[i].labels[j].name");
            id = CkJsonObjectW_stringOf(jResp,L"results[i].labels[j].id");
            label = CkJsonObjectW_stringOf(jResp,L"results[i].labels[j].label");
            j = j + 1;
        }

        j = 0;
        count_j = CkJsonObjectW_SizeOfArray(jResp,L"results[i].body.embeddedContent");
        while (j < count_j) {
            CkJsonObjectW_putJ(jResp,j);
            entityIdValue = CkJsonObjectW_stringOf(jResp,L"results[i].body.embeddedContent[j].entityId.value");
            entityValue = CkJsonObjectW_stringOf(jResp,L"results[i].body.embeddedContent[j].entity.value");
            j = j + 1;
        }

        j = 0;
        count_j = CkJsonObjectW_SizeOfArray(jResp,L"results[i].body.webresource.keys");
        while (j < count_j) {
            CkJsonObjectW_putJ(jResp,j);
            value = CkJsonObjectW_stringOf(jResp,L"results[i].body.webresource.keys[j].value");
            j = j + 1;
        }

        j = 0;
        count_j = CkJsonObjectW_SizeOfArray(jResp,L"results[i].body.webresource.contexts");
        while (j < count_j) {
            CkJsonObjectW_putJ(jResp,j);
            value = CkJsonObjectW_stringOf(jResp,L"results[i].body.webresource.contexts[j].value");
            j = j + 1;
        }

        i = i + 1;
    }



    CkHttpW_Dispose(http);
    CkJsonObjectW_Dispose(queryParams);
    CkStringBuilderW_Dispose(sbResponseBody);
    CkJsonObjectW_Dispose(jResp);

    }

Curl Command

curl -G -d "spaceKey=%3Cstring%3E"
	-d "start=0"
	-d "limit=25"
	-d "expand=%3Cstring%3E"
	-d "expand=%3Cstring%3E"
	-H "Authorization: Bearer <access_token>"
https://your-domain.atlassian.net/wiki/rest/api/template/blueprint

Postman Collection Item JSON

{
  "name": "Get blueprint templates",
  "request": {
    "auth": {
      "type": "oauth2"
    },
    "method": "GET",
    "header": [
    ],
    "url": {
      "raw": "{{baseUrl}}/api/template/blueprint?spaceKey=<string>&start=0&limit=25&expand=<string>&expand=<string>",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "template",
        "blueprint"
      ],
      "query": [
        {
          "key": "spaceKey",
          "value": "<string>",
          "description": "The key of the space to be queried for templates. If the `spaceKey`\nis not specified, global blueprint templates will be returned."
        },
        {
          "key": "start",
          "value": "0",
          "description": "The starting index of the returned templates."
        },
        {
          "key": "limit",
          "value": "25",
          "description": "The maximum number of templates to return per page.\nNote, this may be restricted by fixed system limits."
        },
        {
          "key": "expand",
          "value": "<string>",
          "description": "A multi-value parameter indicating which properties of the template\nto expand.\n\n- `body` returns the content of the template in storage format."
        },
        {
          "key": "expand",
          "value": "<string>",
          "description": "A multi-value parameter indicating which properties of the template\nto expand.\n\n- `body` returns the content of the template in storage format."
        }
      ]
    },
    "description": "Returns all templates provided by blueprints. Use this method to retrieve\nall global blueprint templates or all blueprint templates in a space.\n\nNote, all global blueprints are inherited by each space. Space blueprints\ncan be customised without affecting the global blueprints.\n\n**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:\nPermission to access the Confluence site ('Can use' global permission)."
  },
  "response": [
    {
      "name": "Returned if the requested templates are 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/template/blueprint?spaceKey=<string>&start=0&limit=25&expand=<string>&expand=<string>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "template",
            "blueprint"
          ],
          "query": [
            {
              "key": "spaceKey",
              "value": "<string>"
            },
            {
              "key": "start",
              "value": "0"
            },
            {
              "key": "limit",
              "value": "25"
            },
            {
              "key": "expand",
              "value": "<string>"
            },
            {
              "key": "expand",
              "value": "<string>"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"results\": [\n  {\n   \"templateId\": \"velit aute fug\",\n   \"originalTemplate\": {\n    \"pluginKey\": \"id adipisicing ex ea amet\",\n    \"moduleKey\": \"elit occaecat exercitation\"\n   },\n   \"referencingBlueprint\": \"fug\",\n   \"name\": \"do sit esse officia dolore\",\n   \"description\": \"commodo et eu\",\n   \"labels\": [\n    {\n     \"prefix\": \"nisi cupidatat in proident\",\n     \"name\": \"deserunt magna ut eu\",\n     \"id\": \"dolor in\",\n     \"label\": \"nostrud culpa enim\"\n    },\n    {\n     \"prefix\": \"sint qui labore\",\n     \"name\": \"Ut qui exercitation dolore\",\n     \"id\": \"non dolor aute\",\n     \"label\": \"dolor quis magna ex\"\n    }\n   ],\n   \"templateType\": \"officia\",\n   \"_expandable\": {\n    \"body\": \"pariatur Ut deserunt\"\n   },\n   \"_links\": {},\n   \"body\": {\n    \"value\": \"nulla aliqua culpa anim sunt\",\n    \"representation\": \"anonymous_export_view\",\n    \"_expandable\": {\n     \"content\": \"ut est pariatur\"\n    },\n    \"embeddedContent\": [\n     {\n      \"entityId\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"entity\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     },\n     {\n      \"entityId\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"entity\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     }\n    ],\n    \"webresource\": {\n     \"keys\": [\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     \"contexts\": [\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     \"uris\": {\n      \"all\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"css\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"js\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     },\n     \"tags\": {\n      \"all\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"css\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"data\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"js\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     },\n     \"superbatch\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     }\n    }\n   }\n  },\n  {\n   \"templateId\": \"voluptate mollit in\",\n   \"originalTemplate\": {\n    \"pluginKey\": \"Excepteur laborum\",\n    \"moduleKey\": \"ea nulla\"\n   },\n   \"referencingBlueprint\": \"ipsum magna velit adipisicing est\",\n   \"name\": \"in velit pariatur\",\n   \"description\": \"ipsum qui et\",\n   \"labels\": [\n    {\n     \"prefix\": \"incididunt non laborum sit\",\n     \"name\": \"id tempor\",\n     \"id\": \"mollit\",\n     \"label\": \"deserunt exercitation tempor nulla\"\n    },\n    {\n     \"prefix\": \"nostrud dolor\",\n     \"name\": \"eiusmod in ad\",\n     \"id\": \"cupidatat labore in\",\n     \"label\": \"do deserunt amet\"\n    }\n   ],\n   \"templateType\": \"aute\",\n   \"_expandable\": {\n    \"body\": \"labore deserunt\"\n   },\n   \"_links\": {},\n   \"body\": {\n    \"value\": \"aute qui\",\n    \"representation\": \"editor2\",\n    \"_expandable\": {\n     \"content\": \"occaecat ea voluptate nostrud\"\n    },\n    \"embeddedContent\": [\n     {\n      \"entityId\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"entity\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     },\n     {\n      \"entityId\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"entity\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     }\n    ],\n    \"webresource\": {\n     \"keys\": [\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     \"contexts\": [\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     \"uris\": {\n      \"all\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"css\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"js\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     },\n     \"tags\": {\n      \"all\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"css\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"data\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"js\": {\n       \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n     },\n     \"superbatch\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     }\n    }\n   }\n  }\n ],\n \"start\": -43882824,\n \"limit\": 59508609,\n \"size\": -8662482,\n \"_links\": {}\n}"
    },
    {
      "name": "Returned if the calling user does not have permission to view\nblueprint templates.",
      "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/template/blueprint?spaceKey=<string>&start=0&limit=25&expand=<string>&expand=<string>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "template",
            "blueprint"
          ],
          "query": [
            {
              "key": "spaceKey",
              "value": "<string>"
            },
            {
              "key": "start",
              "value": "0"
            },
            {
              "key": "limit",
              "value": "25"
            },
            {
              "key": "expand",
              "value": "<string>"
            },
            {
              "key": "expand",
              "value": "<string>"
            }
          ]
        }
      },
      "status": "Forbidden",
      "code": 403,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}