Chilkat Online Tools

SQL Server / Atlassian Confluence Cloud / Set look and feel settings

Back to Collection Items

-- Important: See this note about string length limitations for strings returned by sp_OAMethod calls.
--
CREATE PROCEDURE ChilkatSample
AS
BEGIN
    DECLARE @hr int
    DECLARE @iTmp0 int
    -- Important: Do not use nvarchar(max).  See the warning about using nvarchar(max).
    DECLARE @sTmp0 nvarchar(4000)
    -- This example assumes the Chilkat API to have been previously unlocked.
    -- See Global Unlock Sample for sample code.

    DECLARE @http int
    -- Use "Chilkat_9_5_0.Http" for versions of Chilkat < 10.0.0
    EXEC @hr = sp_OACreate 'Chilkat.Http', @http OUT
    IF @hr <> 0
    BEGIN
        PRINT 'Failed to create ActiveX component'
        RETURN
    END

    DECLARE @success int

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

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

    -- {
    --   "selected": "<string>",
    --   "global": {
    --     "headings": {
    --       "color": "<string>"
    --     },
    --     "links": {
    --       "color": "<string>"
    --     },
    --     "menus": {
    --       "hoverOrFocus": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "color": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       }
    --     },
    --     "header": {
    --       "backgroundColor": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "button": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "primaryNavigation": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "secondaryNavigation": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "search": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       }
    --     },
    --     "content": {
    --       "screen": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "container": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "header": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "body": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       }
    --     },
    --     "bordersAndDividers": {
    --       "color": "<string>"
    --     }
    --   },
    --   "custom": {
    --     "headings": {
    --       "color": "<string>"
    --     },
    --     "links": {
    --       "color": "<string>"
    --     },
    --     "menus": {
    --       "hoverOrFocus": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "color": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       }
    --     },
    --     "header": {
    --       "backgroundColor": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "button": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "primaryNavigation": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "secondaryNavigation": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "search": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       }
    --     },
    --     "content": {
    --       "screen": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "container": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "header": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "body": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       }
    --     },
    --     "bordersAndDividers": {
    --       "color": "<string>"
    --     }
    --   }
    -- }

    DECLARE @json int
    -- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
    EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @json OUT

    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'selected', '<string>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'global.headings.color', '<string>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'global.links.color', '<string>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'global.menus.hoverOrFocus.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'global.menus.color.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'global.header.backgroundColor.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'global.header.button.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'global.header.primaryNavigation.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'global.header.secondaryNavigation.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'global.header.search.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'global.content.screen.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'global.content.container.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'global.content.header.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'global.content.body.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'global.bordersAndDividers.color', '<string>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'custom.headings.color', '<string>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'custom.links.color', '<string>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'custom.menus.hoverOrFocus.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'custom.menus.color.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'custom.header.backgroundColor.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'custom.header.button.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'custom.header.primaryNavigation.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'custom.header.secondaryNavigation.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'custom.header.search.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'custom.content.screen.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'custom.content.container.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'custom.content.header.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'custom.content.body.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'custom.bordersAndDividers.color', '<string>'

    -- Adds the "Authorization: Bearer <access_token>" header.
    EXEC sp_OASetProperty @http, 'AuthToken', '<access_token>'
    EXEC sp_OAMethod @http, 'SetRequestHeader', NULL, 'Content-Type', 'application/json'

    DECLARE @sbRequestBody int
    -- Use "Chilkat_9_5_0.StringBuilder" for versions of Chilkat < 10.0.0
    EXEC @hr = sp_OACreate 'Chilkat.StringBuilder', @sbRequestBody OUT

    EXEC sp_OAMethod @json, 'EmitSb', @success OUT, @sbRequestBody

    DECLARE @resp int
    EXEC sp_OAMethod @http, 'PTextSb', @resp OUT, 'PUT', 'https://your-domain.atlassian.net/wiki/rest/api/settings/lookandfeel/selected?spaceKey=<string>', @sbRequestBody, 'utf-8', 'application/json', 0, 0
    EXEC sp_OAGetProperty @http, 'LastMethodSuccess', @iTmp0 OUT
    IF @iTmp0 = 0
      BEGIN
        EXEC sp_OAGetProperty @http, 'LastErrorText', @sTmp0 OUT
        PRINT @sTmp0
        EXEC @hr = sp_OADestroy @http
        EXEC @hr = sp_OADestroy @json
        EXEC @hr = sp_OADestroy @sbRequestBody
        RETURN
      END

    DECLARE @sbResponseBody int
    -- Use "Chilkat_9_5_0.StringBuilder" for versions of Chilkat < 10.0.0
    EXEC @hr = sp_OACreate 'Chilkat.StringBuilder', @sbResponseBody OUT

    EXEC sp_OAMethod @resp, 'GetBodySb', @success OUT, @sbResponseBody

    DECLARE @jResp int
    -- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
    EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jResp OUT

    EXEC sp_OAMethod @jResp, 'LoadSb', @success OUT, @sbResponseBody
    EXEC sp_OASetProperty @jResp, 'EmitCompact', 0


    PRINT 'Response Body:'
    EXEC sp_OAMethod @jResp, 'Emit', @sTmp0 OUT
    PRINT @sTmp0

    DECLARE @respStatusCode int
    EXEC sp_OAGetProperty @resp, 'StatusCode', @respStatusCode OUT

    PRINT 'Response Status Code = ' + @respStatusCode
    IF @respStatusCode >= 400
      BEGIN

        PRINT 'Response Header:'
        EXEC sp_OAGetProperty @resp, 'Header', @sTmp0 OUT
        PRINT @sTmp0

        PRINT 'Failed.'
        EXEC @hr = sp_OADestroy @resp

        EXEC @hr = sp_OADestroy @http
        EXEC @hr = sp_OADestroy @json
        EXEC @hr = sp_OADestroy @sbRequestBody
        EXEC @hr = sp_OADestroy @sbResponseBody
        EXEC @hr = sp_OADestroy @jResp
        RETURN
      END
    EXEC @hr = sp_OADestroy @resp

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

    -- {
    --   "selected": "global",
    --   "global": {
    --     "headings": {
    --       "color": "<string>"
    --     },
    --     "links": {
    --       "color": "<string>"
    --     },
    --     "menus": {
    --       "hoverOrFocus": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "color": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       }
    --     },
    --     "header": {
    --       "backgroundColor": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "button": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "primaryNavigation": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "secondaryNavigation": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "search": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       }
    --     },
    --     "content": {
    --       "screen": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "container": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "header": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "body": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       }
    --     },
    --     "bordersAndDividers": {
    --       "color": "<string>"
    --     }
    --   },
    --   "custom": {
    --     "headings": {
    --       "color": "<string>"
    --     },
    --     "links": {
    --       "color": "<string>"
    --     },
    --     "menus": {
    --       "hoverOrFocus": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "color": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       }
    --     },
    --     "header": {
    --       "backgroundColor": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "button": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "primaryNavigation": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "secondaryNavigation": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "search": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       }
    --     },
    --     "content": {
    --       "screen": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "container": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "header": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "body": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       }
    --     },
    --     "bordersAndDividers": {
    --       "color": "<string>"
    --     }
    --   },
    --   "theme": {
    --     "headings": {
    --       "color": "<string>"
    --     },
    --     "links": {
    --       "color": "<string>"
    --     },
    --     "menus": {
    --       "hoverOrFocus": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "color": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       }
    --     },
    --     "header": {
    --       "backgroundColor": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "button": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "primaryNavigation": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "secondaryNavigation": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "search": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       }
    --     },
    --     "content": {
    --       "screen": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "container": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "header": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       },
    --       "body": {
    --         "value": "<Error: Too many levels of nesting to fake this schema>"
    --       }
    --     },
    --     "bordersAndDividers": {
    --       "color": "<string>"
    --     }
    --   }
    -- }

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

    DECLARE @selected nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @selected OUT, 'selected'
    DECLARE @Color nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Color OUT, 'global.headings.color'
    DECLARE @LinksColor nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @LinksColor OUT, 'global.links.color'
    DECLARE @Value nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Value OUT, 'global.menus.hoverOrFocus.value'
    DECLARE @ColorValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @ColorValue OUT, 'global.menus.color.value'
    DECLARE @BackgroundColorValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @BackgroundColorValue OUT, 'global.header.backgroundColor.value'
    DECLARE @ButtonValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @ButtonValue OUT, 'global.header.button.value'
    DECLARE @PrimaryNavigationValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @PrimaryNavigationValue OUT, 'global.header.primaryNavigation.value'
    DECLARE @SecondaryNavigationValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @SecondaryNavigationValue OUT, 'global.header.secondaryNavigation.value'
    DECLARE @SearchValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @SearchValue OUT, 'global.header.search.value'
    DECLARE @ScreenValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @ScreenValue OUT, 'global.content.screen.value'
    DECLARE @ContainerValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @ContainerValue OUT, 'global.content.container.value'
    DECLARE @HeaderValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @HeaderValue OUT, 'global.content.header.value'
    DECLARE @BodyValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @BodyValue OUT, 'global.content.body.value'
    DECLARE @BordersAndDividersColor nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @BordersAndDividersColor OUT, 'global.bordersAndDividers.color'
    DECLARE @HeadingsColor nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @HeadingsColor OUT, 'custom.headings.color'
    EXEC sp_OAMethod @jResp, 'StringOf', @LinksColor OUT, 'custom.links.color'
    DECLARE @HoverOrFocusValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @HoverOrFocusValue OUT, 'custom.menus.hoverOrFocus.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @ColorValue OUT, 'custom.menus.color.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @BackgroundColorValue OUT, 'custom.header.backgroundColor.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @ButtonValue OUT, 'custom.header.button.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @PrimaryNavigationValue OUT, 'custom.header.primaryNavigation.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @SecondaryNavigationValue OUT, 'custom.header.secondaryNavigation.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @SearchValue OUT, 'custom.header.search.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @ScreenValue OUT, 'custom.content.screen.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @ContainerValue OUT, 'custom.content.container.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @HeaderValue OUT, 'custom.content.header.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @BodyValue OUT, 'custom.content.body.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @BordersAndDividersColor OUT, 'custom.bordersAndDividers.color'
    EXEC sp_OAMethod @jResp, 'StringOf', @HeadingsColor OUT, 'theme.headings.color'
    EXEC sp_OAMethod @jResp, 'StringOf', @LinksColor OUT, 'theme.links.color'
    EXEC sp_OAMethod @jResp, 'StringOf', @HoverOrFocusValue OUT, 'theme.menus.hoverOrFocus.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @ColorValue OUT, 'theme.menus.color.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @BackgroundColorValue OUT, 'theme.header.backgroundColor.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @ButtonValue OUT, 'theme.header.button.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @PrimaryNavigationValue OUT, 'theme.header.primaryNavigation.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @SecondaryNavigationValue OUT, 'theme.header.secondaryNavigation.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @SearchValue OUT, 'theme.header.search.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @ScreenValue OUT, 'theme.content.screen.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @ContainerValue OUT, 'theme.content.container.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @HeaderValue OUT, 'theme.content.header.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @BodyValue OUT, 'theme.content.body.value'
    EXEC sp_OAMethod @jResp, 'StringOf', @BordersAndDividersColor OUT, 'theme.bordersAndDividers.color'

    EXEC @hr = sp_OADestroy @http
    EXEC @hr = sp_OADestroy @json
    EXEC @hr = sp_OADestroy @sbRequestBody
    EXEC @hr = sp_OADestroy @sbResponseBody
    EXEC @hr = sp_OADestroy @jResp


END
GO

Curl Command

curl -X PUT
	-H "Authorization: Bearer <access_token>"
	-H "Content-Type: application/json"
	-d '{
    "selected": "<string>",
    "global": {
        "headings": {
            "color": "<string>"
        },
        "links": {
            "color": "<string>"
        },
        "menus": {
            "hoverOrFocus": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            },
            "color": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            }
        },
        "header": {
            "backgroundColor": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            },
            "button": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            },
            "primaryNavigation": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            },
            "secondaryNavigation": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            },
            "search": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            }
        },
        "content": {
            "screen": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            },
            "container": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            },
            "header": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            },
            "body": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            }
        },
        "bordersAndDividers": {
            "color": "<string>"
        }
    },
    "custom": {
        "headings": {
            "color": "<string>"
        },
        "links": {
            "color": "<string>"
        },
        "menus": {
            "hoverOrFocus": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            },
            "color": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            }
        },
        "header": {
            "backgroundColor": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            },
            "button": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            },
            "primaryNavigation": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            },
            "secondaryNavigation": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            },
            "search": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            }
        },
        "content": {
            "screen": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            },
            "container": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            },
            "header": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            },
            "body": {
                "value": "<Error: Too many levels of nesting to fake this schema>"
            }
        },
        "bordersAndDividers": {
            "color": "<string>"
        }
    }
}'
https://your-domain.atlassian.net/wiki/rest/api/settings/lookandfeel/selected?spaceKey=<string>

Postman Collection Item JSON

{
  "name": "Set look and feel settings",
  "request": {
    "auth": {
      "type": "oauth2"
    },
    "method": "PUT",
    "header": [
      {
        "key": "Content-Type",
        "value": "application/json"
      }
    ],
    "body": {
      "mode": "raw",
      "raw": "{\n    \"selected\": \"<string>\",\n    \"global\": {\n        \"headings\": {\n            \"color\": \"<string>\"\n        },\n        \"links\": {\n            \"color\": \"<string>\"\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\": \"<string>\"\n        }\n    },\n    \"custom\": {\n        \"headings\": {\n            \"color\": \"<string>\"\n        },\n        \"links\": {\n            \"color\": \"<string>\"\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\": \"<string>\"\n        }\n    }\n}"
    },
    "url": {
      "raw": "{{baseUrl}}/api/settings/lookandfeel/selected?spaceKey=<string>",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "settings",
        "lookandfeel",
        "selected"
      ],
      "query": [
        {
          "key": "spaceKey",
          "value": "<string>",
          "description": "The key of the space for which the look and feel settings will be\nset. If this is not set, the global look and feel settings will be\nset."
        }
      ]
    },
    "description": "Sets the look and feel settings to either the default settings or the\ncustom settings, for the site or a single space. Note, the default\nspace settings are inherited from the current global settings.\n\n**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:\n'Admin' permission for the space."
  },
  "response": [
    {
      "name": "Returned if the look and feel settings were set.",
      "originalRequest": {
        "method": "PUT",
        "header": [
          {
            "description": {
              "content": "Added as a part of security scheme: oauth2",
              "type": "text/plain"
            },
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"selected\": \"<string>\",\n    \"global\": {\n        \"headings\": {\n            \"color\": \"<string>\"\n        },\n        \"links\": {\n            \"color\": \"<string>\"\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\": \"<string>\"\n        }\n    },\n    \"custom\": {\n        \"headings\": {\n            \"color\": \"<string>\"\n        },\n        \"links\": {\n            \"color\": \"<string>\"\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\": \"<string>\"\n        }\n    }\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/api/settings/lookandfeel/selected?spaceKey=<string>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "settings",
            "lookandfeel",
            "selected"
          ],
          "query": [
            {
              "key": "spaceKey",
              "value": "<string>"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"selected\": \"global\",\n \"global\": {\n  \"headings\": {\n   \"color\": \"<string>\"\n  },\n  \"links\": {\n   \"color\": \"<string>\"\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\": \"<string>\"\n  }\n },\n \"custom\": {\n  \"headings\": {\n   \"color\": \"<string>\"\n  },\n  \"links\": {\n   \"color\": \"<string>\"\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\": \"<string>\"\n  }\n },\n \"theme\": {\n  \"headings\": {\n   \"color\": \"<string>\"\n  },\n  \"links\": {\n   \"color\": \"<string>\"\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\": \"<string>\"\n  }\n }\n}"
    },
    {
      "name": "Returned if;\n\n- The `spaceKey` is invalid.\n- The look and feel type is invalid.",
      "originalRequest": {
        "method": "PUT",
        "header": [
          {
            "description": {
              "content": "Added as a part of security scheme: oauth2",
              "type": "text/plain"
            },
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"selected\": \"<string>\",\n    \"global\": {\n        \"headings\": {\n            \"color\": \"<string>\"\n        },\n        \"links\": {\n            \"color\": \"<string>\"\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\": \"<string>\"\n        }\n    },\n    \"custom\": {\n        \"headings\": {\n            \"color\": \"<string>\"\n        },\n        \"links\": {\n            \"color\": \"<string>\"\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\": \"<string>\"\n        }\n    }\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/api/settings/lookandfeel/selected?spaceKey=<string>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "settings",
            "lookandfeel",
            "selected"
          ],
          "query": [
            {
              "key": "spaceKey",
              "value": "<string>"
            }
          ]
        }
      },
      "status": "Bad Request",
      "code": 400,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "Returned if the look and feel type is set to 'theme' but the\nspace/site doesn't have a theme assigned.",
      "originalRequest": {
        "method": "PUT",
        "header": [
          {
            "description": {
              "content": "Added as a part of security scheme: oauth2",
              "type": "text/plain"
            },
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"selected\": \"<string>\",\n    \"global\": {\n        \"headings\": {\n            \"color\": \"<string>\"\n        },\n        \"links\": {\n            \"color\": \"<string>\"\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\": \"<string>\"\n        }\n    },\n    \"custom\": {\n        \"headings\": {\n            \"color\": \"<string>\"\n        },\n        \"links\": {\n            \"color\": \"<string>\"\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\": \"<string>\"\n        }\n    }\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/api/settings/lookandfeel/selected?spaceKey=<string>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "settings",
            "lookandfeel",
            "selected"
          ],
          "query": [
            {
              "key": "spaceKey",
              "value": "<string>"
            }
          ]
        }
      },
      "status": "Forbidden",
      "code": 403,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "Returned if there is no space with the given `spaceKey`.",
      "originalRequest": {
        "method": "PUT",
        "header": [
          {
            "description": {
              "content": "Added as a part of security scheme: oauth2",
              "type": "text/plain"
            },
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"selected\": \"<string>\",\n    \"global\": {\n        \"headings\": {\n            \"color\": \"<string>\"\n        },\n        \"links\": {\n            \"color\": \"<string>\"\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\": \"<string>\"\n        }\n    },\n    \"custom\": {\n        \"headings\": {\n            \"color\": \"<string>\"\n        },\n        \"links\": {\n            \"color\": \"<string>\"\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\": \"<string>\"\n        }\n    }\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/api/settings/lookandfeel/selected?spaceKey=<string>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "settings",
            "lookandfeel",
            "selected"
          ],
          "query": [
            {
              "key": "spaceKey",
              "value": "<string>"
            }
          ]
        }
      },
      "status": "Not Found",
      "code": 404,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}