Chilkat Online Tools

SQL Server / Atlassian Confluence Cloud / Get space property

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
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.Http', @http OUT
    IF @hr <> 0
    BEGIN
        PRINT 'Failed to create ActiveX component'
        RETURN
    END

    DECLARE @success int

    DECLARE @queryParams int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.JsonObject', @queryParams OUT

    EXEC sp_OAMethod @queryParams, 'UpdateString', @success OUT, 'expand', '<string>'
    EXEC sp_OAMethod @queryParams, 'UpdateString', @success OUT, 'expand', '<string>'

    -- Adds the "Authorization: Bearer <access_token>" header.
    EXEC sp_OASetProperty @http, 'AuthToken', '<access_token>'

    DECLARE @resp int
    EXEC sp_OAMethod @http, 'QuickRequestParams', @resp OUT, 'GET', 'https://your-domain.atlassian.net/wiki/rest/api/space/:spaceKey/property/:key', @queryParams
    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 @queryParams
        RETURN
      END

    DECLARE @sbResponseBody int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.StringBuilder', @sbResponseBody OUT

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

    DECLARE @jResp int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.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 @queryParams
        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)

    -- {
    --   "id": -13429300,
    --   "key": "ut veniam dolor",
    --   "value": {},
    --   "_expandable": {
    --     "version": "cillum officia ipsum ut",
    --     "space": "in Lorem consectetur"
    --   },
    --   "version": {
    --     "when": "1951-11-29T18:04:27.736Z",
    --     "message": "dolore magna nisi incididunt",
    --     "number": -49820236,
    --     "minorEdit": true
    --   },
    --   "space": {
    --     "id": -20471082,
    --     "key": "in pr",
    --     "name": "culpa dolor si",
    --     "type": "irure dolor ea aliquip",
    --     "status": "sed ex",
    --     "_expandable": {
    --       "settings": "exercitation ea nisi Lorem",
    --       "metadata": "elit",
    --       "operations": "Lorem consequat aliquip",
    --       "lookAndFeel": "non occaecat nisi dolor",
    --       "permissions": "pariatur cupidatat dolor sed dolor",
    --       "icon": "aliquip",
    --       "description": "in",
    --       "theme": "qui",
    --       "history": "et fugiat culpa irure amet",
    --       "homepage": "commodo ut amet aute sint"
    --     },
    --     "_links": {},
    --     "icon": {
    --       "path": "laborum velit dolore",
    --       "width": -4680192,
    --       "height": 21898365,
    --       "isDefault": false
    --     },
    --     "description": {
    --       "plain": {
    --         "value": "sit deserunt",
    --         "representation": "plain",
    --         "embeddedContent": [
    --           {
    --             "value": "<Error: Too many levels of nesting to fake this schema>"
    --           },
    --           {
    --             "value": "<Error: Too many levels of nesting to fake this schema>"
    --           }
    --         ]
    --       },
    --       "view": {
    --         "value": "commodo dolore do",
    --         "representation": "plain",
    --         "embeddedContent": [
    --           {
    --             "value": "<Error: Too many levels of nesting to fake this schema>"
    --           },
    --           {
    --             "value": "<Error: Too many levels of nesting to fake this schema>"
    --           }
    --         ]
    --       }
    --     },
    --     "homepage": {
    --       "value": "<Circular reference to #/components/schemas/Content detected>"
    --     },
    --     "metadata": {
    --       "labels": {
    --         "results": [
    --           {
    --             "value": "<Error: Too many levels of nesting to fake this schema>"
    --           },
    --           {
    --             "value": "<Error: Too many levels of nesting to fake this schema>"
    --           }
    --         ],
    --         "start": 4373903,
    --         "limit": -70310049,
    --         "size": -89717135,
    --         "_links": {}
    --       }
    --     },
    --     "operations": [
    --       {
    --         "operation": "update",
    --         "targetType": "space"
    --       },
    --       {
    --         "operation": "update",
    --         "targetType": "attachment"
    --       }
    --     ],
    --     "permissions": [
    --       {
    --         "subjects": {
    --           "_expandable": {
    --             "value": "<Error: Too many levels of nesting to fake this schema>"
    --           },
    --           "user": {
    --             "value": "<Error: Too many levels of nesting to fake this schema>"
    --           },
    --           "group": {
    --             "value": "<Error: Too many levels of nesting to fake this schema>"
    --           }
    --         },
    --         "operation": {
    --           "operation": "restore",
    --           "targetType": "comment"
    --         },
    --         "anonymousAccess": false,
    --         "unlicensedAccess": false
    --       },
    --       {
    --         "subjects": {
    --           "_expandable": {
    --             "value": "<Error: Too many levels of nesting to fake this schema>"
    --           },
    --           "user": {
    --             "value": "<Error: Too many levels of nesting to fake this schema>"
    --           },
    --           "group": {
    --             "value": "<Error: Too many levels of nesting to fake this schema>"
    --           }
    --         },
    --         "operation": {
    --           "operation": "export",
    --           "targetType": "attachment"
    --         },
    --         "anonymousAccess": false,
    --         "unlicensedAccess": false
    --       }
    --     ],
    --     "settings": {
    --       "routeOverrideEnabled": false,
    --       "_links": {}
    --     },
    --     "theme": {},
    --     "lookAndFeel": {
    --       "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>"
    --       }
    --     },
    --     "history": {
    --       "createdDate": "1978-05-15T09:31:11.737Z"
    --     }
    --   }
    -- }

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

    DECLARE @value nvarchar(4000)

    DECLARE @operation nvarchar(4000)

    DECLARE @targetType nvarchar(4000)

    DECLARE @v_expandableValue nvarchar(4000)

    DECLARE @UserValue nvarchar(4000)

    DECLARE @GroupValue nvarchar(4000)

    DECLARE @Operation nvarchar(4000)

    DECLARE @TargetType nvarchar(4000)

    DECLARE @anonymousAccess int

    DECLARE @unlicensedAccess int

    DECLARE @id int
    EXEC sp_OAMethod @jResp, 'IntOf', @id OUT, 'id'
    DECLARE @key nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @key OUT, 'key'
    DECLARE @Version nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Version OUT, '_expandable.version'
    DECLARE @Space nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Space OUT, '_expandable.space'
    DECLARE @When nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @When OUT, 'version.when'
    DECLARE @Message nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Message OUT, 'version.message'
    DECLARE @v_Number int
    EXEC sp_OAMethod @jResp, 'IntOf', @v_Number OUT, 'version.number'
    DECLARE @MinorEdit int
    EXEC sp_OAMethod @jResp, 'BoolOf', @MinorEdit OUT, 'version.minorEdit'
    DECLARE @Id int
    EXEC sp_OAMethod @jResp, 'IntOf', @Id OUT, 'space.id'
    DECLARE @Key nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Key OUT, 'space.key'
    DECLARE @Name nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Name OUT, 'space.name'
    DECLARE @v_Type nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @v_Type OUT, 'space.type'
    DECLARE @Status nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Status OUT, 'space.status'
    DECLARE @Settings nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Settings OUT, 'space._expandable.settings'
    DECLARE @Metadata nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Metadata OUT, 'space._expandable.metadata'
    DECLARE @Operations nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Operations OUT, 'space._expandable.operations'
    DECLARE @LookAndFeel nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @LookAndFeel OUT, 'space._expandable.lookAndFeel'
    DECLARE @Permissions nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Permissions OUT, 'space._expandable.permissions'
    DECLARE @Icon nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Icon OUT, 'space._expandable.icon'
    DECLARE @Description nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Description OUT, 'space._expandable.description'
    DECLARE @Theme nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Theme OUT, 'space._expandable.theme'
    DECLARE @History nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @History OUT, 'space._expandable.history'
    DECLARE @Homepage nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Homepage OUT, 'space._expandable.homepage'
    DECLARE @Path nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Path OUT, 'space.icon.path'
    DECLARE @Width int
    EXEC sp_OAMethod @jResp, 'IntOf', @Width OUT, 'space.icon.width'
    DECLARE @Height int
    EXEC sp_OAMethod @jResp, 'IntOf', @Height OUT, 'space.icon.height'
    DECLARE @IsDefault int
    EXEC sp_OAMethod @jResp, 'BoolOf', @IsDefault OUT, 'space.icon.isDefault'
    DECLARE @Value nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Value OUT, 'space.description.plain.value'
    DECLARE @Representation nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Representation OUT, 'space.description.plain.representation'
    DECLARE @ViewValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @ViewValue OUT, 'space.description.view.value'
    DECLARE @ViewRepresentation nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @ViewRepresentation OUT, 'space.description.view.representation'
    DECLARE @HomepageValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @HomepageValue OUT, 'space.homepage.value'
    DECLARE @Start int
    EXEC sp_OAMethod @jResp, 'IntOf', @Start OUT, 'space.metadata.labels.start'
    DECLARE @Limit int
    EXEC sp_OAMethod @jResp, 'IntOf', @Limit OUT, 'space.metadata.labels.limit'
    DECLARE @Size int
    EXEC sp_OAMethod @jResp, 'IntOf', @Size OUT, 'space.metadata.labels.size'
    DECLARE @RouteOverrideEnabled int
    EXEC sp_OAMethod @jResp, 'BoolOf', @RouteOverrideEnabled OUT, 'space.settings.routeOverrideEnabled'
    DECLARE @Color nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @Color OUT, 'space.lookAndFeel.headings.color'
    DECLARE @LinksColor nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @LinksColor OUT, 'space.lookAndFeel.links.color'
    DECLARE @HoverOrFocusValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @HoverOrFocusValue OUT, 'space.lookAndFeel.menus.hoverOrFocus.value'
    DECLARE @ColorValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @ColorValue OUT, 'space.lookAndFeel.menus.color.value'
    DECLARE @BackgroundColorValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @BackgroundColorValue OUT, 'space.lookAndFeel.header.backgroundColor.value'
    DECLARE @ButtonValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @ButtonValue OUT, 'space.lookAndFeel.header.button.value'
    DECLARE @PrimaryNavigationValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @PrimaryNavigationValue OUT, 'space.lookAndFeel.header.primaryNavigation.value'
    DECLARE @SecondaryNavigationValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @SecondaryNavigationValue OUT, 'space.lookAndFeel.header.secondaryNavigation.value'
    DECLARE @SearchValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @SearchValue OUT, 'space.lookAndFeel.header.search.value'
    DECLARE @ScreenValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @ScreenValue OUT, 'space.lookAndFeel.content.screen.value'
    DECLARE @ContainerValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @ContainerValue OUT, 'space.lookAndFeel.content.container.value'
    DECLARE @HeaderValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @HeaderValue OUT, 'space.lookAndFeel.content.header.value'
    DECLARE @BodyValue nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @BodyValue OUT, 'space.lookAndFeel.content.body.value'
    DECLARE @BordersAndDividersColor nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @BordersAndDividersColor OUT, 'space.lookAndFeel.bordersAndDividers.color'
    DECLARE @CreatedDate nvarchar(4000)
    EXEC sp_OAMethod @jResp, 'StringOf', @CreatedDate OUT, 'space.history.createdDate'
    DECLARE @i int
    SELECT @i = 0
    DECLARE @count_i int
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'space.description.plain.embeddedContent'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @value OUT, 'space.description.plain.embeddedContent[i].value'
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'space.description.view.embeddedContent'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @value OUT, 'space.description.view.embeddedContent[i].value'
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'space.metadata.labels.results'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @value OUT, 'space.metadata.labels.results[i].value'
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'space.operations'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @operation OUT, 'space.operations[i].operation'
        EXEC sp_OAMethod @jResp, 'StringOf', @targetType OUT, 'space.operations[i].targetType'
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'space.permissions'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @v_expandableValue OUT, 'space.permissions[i].subjects._expandable.value'
        EXEC sp_OAMethod @jResp, 'StringOf', @UserValue OUT, 'space.permissions[i].subjects.user.value'
        EXEC sp_OAMethod @jResp, 'StringOf', @GroupValue OUT, 'space.permissions[i].subjects.group.value'
        EXEC sp_OAMethod @jResp, 'StringOf', @Operation OUT, 'space.permissions[i].operation.operation'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetType OUT, 'space.permissions[i].operation.targetType'
        EXEC sp_OAMethod @jResp, 'BoolOf', @anonymousAccess OUT, 'space.permissions[i].anonymousAccess'
        EXEC sp_OAMethod @jResp, 'BoolOf', @unlicensedAccess OUT, 'space.permissions[i].unlicensedAccess'
        SELECT @i = @i + 1
      END

    EXEC @hr = sp_OADestroy @http
    EXEC @hr = sp_OADestroy @queryParams
    EXEC @hr = sp_OADestroy @sbResponseBody
    EXEC @hr = sp_OADestroy @jResp


END
GO

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/space/:spaceKey/property/:key

Postman Collection Item JSON

{
  "name": "Get space property",
  "request": {
    "auth": {
      "type": "oauth2"
    },
    "method": "GET",
    "header": [
    ],
    "url": {
      "raw": "{{baseUrl}}/api/space/:spaceKey/property/:key?expand=<string>&expand=<string>",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "space",
        ":spaceKey",
        "property",
        ":key"
      ],
      "query": [
        {
          "key": "expand",
          "value": "<string>",
          "description": "A multi-value parameter indicating which properties of the space\nproperty to expand. By default, the `version` object is expanded.\n\n- `version` returns information about the version of the content.\n- `space` returns the space that the properties are in."
        },
        {
          "key": "expand",
          "value": "<string>",
          "description": "A multi-value parameter indicating which properties of the space\nproperty to expand. By default, the `version` object is expanded.\n\n- `version` returns information about the version of the content.\n- `space` returns the space that the properties are in."
        }
      ],
      "variable": [
        {
          "key": "spaceKey",
          "value": "<string>",
          "type": "string",
          "description": "(Required) The key of the space that the property is in."
        },
        {
          "key": "key",
          "value": "<string>",
          "type": "string",
          "description": "(Required) The key of the space property."
        }
      ]
    },
    "description": "Returns a space property.\n\n**[Permissions required](https://confluence.atlassian.com/x/_AozKw)**: ‘View’ permission for the space."
  },
  "response": [
    {
      "name": "Returned if the requested space property 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/space/:spaceKey/property/:key?expand=<string>&expand=<string>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "space",
            ":spaceKey",
            "property",
            ":key"
          ],
          "query": [
            {
              "key": "expand",
              "value": "<string>"
            },
            {
              "key": "expand",
              "value": "<string>"
            }
          ],
          "variable": [
            {
              "key": "spaceKey"
            },
            {
              "key": "key"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"id\": -13429300,\n \"key\": \"ut veniam dolor\",\n \"value\": {},\n \"_expandable\": {\n  \"version\": \"cillum officia ipsum ut\",\n  \"space\": \"in Lorem consectetur\"\n },\n \"version\": {\n  \"when\": \"1951-11-29T18:04:27.736Z\",\n  \"message\": \"dolore magna nisi incididunt\",\n  \"number\": -49820236,\n  \"minorEdit\": true\n },\n \"space\": {\n  \"id\": -20471082,\n  \"key\": \"in pr\",\n  \"name\": \"culpa dolor si\",\n  \"type\": \"irure dolor ea aliquip\",\n  \"status\": \"sed ex\",\n  \"_expandable\": {\n   \"settings\": \"exercitation ea nisi Lorem\",\n   \"metadata\": \"elit\",\n   \"operations\": \"Lorem consequat aliquip\",\n   \"lookAndFeel\": \"non occaecat nisi dolor\",\n   \"permissions\": \"pariatur cupidatat dolor sed dolor\",\n   \"icon\": \"aliquip\",\n   \"description\": \"in\",\n   \"theme\": \"qui\",\n   \"history\": \"et fugiat culpa irure amet\",\n   \"homepage\": \"commodo ut amet aute sint\"\n  },\n  \"_links\": {},\n  \"icon\": {\n   \"path\": \"laborum velit dolore\",\n   \"width\": -4680192,\n   \"height\": 21898365,\n   \"isDefault\": false\n  },\n  \"description\": {\n   \"plain\": {\n    \"value\": \"sit deserunt\",\n    \"representation\": \"plain\",\n    \"embeddedContent\": [\n     {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     }\n    ]\n   },\n   \"view\": {\n    \"value\": \"commodo dolore do\",\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\": 4373903,\n    \"limit\": -70310049,\n    \"size\": -89717135,\n    \"_links\": {}\n   }\n  },\n  \"operations\": [\n   {\n    \"operation\": \"update\",\n    \"targetType\": \"space\"\n   },\n   {\n    \"operation\": \"update\",\n    \"targetType\": \"attachment\"\n   }\n  ],\n  \"permissions\": [\n   {\n    \"subjects\": {\n     \"_expandable\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"user\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     },\n     \"group\": {\n      \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n     }\n    },\n    \"operation\": {\n     \"operation\": \"restore\",\n     \"targetType\": \"comment\"\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\": \"export\",\n     \"targetType\": \"attachment\"\n    },\n    \"anonymousAccess\": false,\n    \"unlicensedAccess\": false\n   }\n  ],\n  \"settings\": {\n   \"routeOverrideEnabled\": false,\n   \"_links\": {}\n  },\n  \"theme\": {},\n  \"lookAndFeel\": {\n   \"headings\": {\n    \"color\": \"<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  \"history\": {\n   \"createdDate\": \"1978-05-15T09:31:11.737Z\"\n  }\n }\n}"
    },
    {
      "name": "Returned if any of the following is true:\n\n- There is no space with the given key.\n- There is no property with the given key.\n- The calling user does not have permission to view the space.",
      "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/space/:spaceKey/property/:key?expand=<string>&expand=<string>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "space",
            ":spaceKey",
            "property",
            ":key"
          ],
          "query": [
            {
              "key": "expand",
              "value": "<string>"
            },
            {
              "key": "expand",
              "value": "<string>"
            }
          ],
          "variable": [
            {
              "key": "spaceKey"
            },
            {
              "key": "key"
            }
          ]
        }
      },
      "status": "Not Found",
      "code": 404,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}