Chilkat Online Tools

PowerBuilder / Atlassian Confluence Cloud / Get space properties

Back to Collection Items

integer li_rc
oleobject loo_Http
integer li_Success
oleobject loo_QueryParams
oleobject loo_Resp
oleobject loo_SbResponseBody
oleobject loo_JResp
integer li_RespStatusCode
integer li_Id
string ls_Key
string ls_Version
string ls_Space
string ls_When
string ls_Message
integer li_V_Number
integer li_MinorEdit
integer li_Id
string ls_Key
string ls_Name
string ls_V_Type
string ls_Status
string ls_Settings
string ls_Metadata
string ls_Operations
string ls_LookAndFeel
string ls_Permissions
string ls_Icon
string ls_Description
string ls_Theme
string ls_History
string ls_Homepage
string ls_Path
integer li_Width
integer li_Height
integer li_IsDefault
string ls_Value
string ls_Representation
string ls_ViewValue
string ls_ViewRepresentation
string ls_HomepageValue
integer li_Start
integer li_Limit
integer li_Size
integer li_RouteOverrideEnabled
string ls_Color
string ls_LinksColor
string ls_HoverOrFocusValue
string ls_ColorValue
string ls_BackgroundColorValue
string ls_ButtonValue
string ls_PrimaryNavigationValue
string ls_SecondaryNavigationValue
string ls_SearchValue
string ls_ScreenValue
string ls_ContainerValue
string ls_HeaderValue
string ls_BodyValue
string ls_BordersAndDividersColor
string ls_CreatedDate
integer j
integer li_Count_j
string ls_Value
string ls_Operation
string ls_TargetType
string ls_V_expandableValue
string ls_UserValue
string ls_GroupValue
string ls_Operation
string ls_TargetType
integer li_AnonymousAccess
integer li_UnlicensedAccess
integer li_Start
integer li_Limit
integer li_Size
integer i
integer li_Count_i

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

loo_Http = create oleobject
li_rc = loo_Http.ConnectToNewObject("Chilkat_9_5_0.Http")
if li_rc < 0 then
    destroy loo_Http
    MessageBox("Error","Connecting to COM object failed")
    return
end if

loo_QueryParams = create oleobject
li_rc = loo_QueryParams.ConnectToNewObject("Chilkat_9_5_0.JsonObject")

loo_QueryParams.UpdateString("expand","<string>")
loo_QueryParams.UpdateString("expand","<string>")
loo_QueryParams.UpdateInt("start",0)
loo_QueryParams.UpdateInt("limit",10)

// Adds the "Authorization: Bearer <access_token>" header.
loo_Http.AuthToken = "<access_token>"

loo_Resp = loo_Http.QuickRequestParams("GET","https://your-domain.atlassian.net/wiki/rest/api/space/:spaceKey/property",loo_QueryParams)
if loo_Http.LastMethodSuccess = 0 then
    Write-Debug loo_Http.LastErrorText
    destroy loo_Http
    destroy loo_QueryParams
    return
end if

loo_SbResponseBody = create oleobject
li_rc = loo_SbResponseBody.ConnectToNewObject("Chilkat_9_5_0.StringBuilder")

loo_Resp.GetBodySb(loo_SbResponseBody)

loo_JResp = create oleobject
li_rc = loo_JResp.ConnectToNewObject("Chilkat_9_5_0.JsonObject")

loo_JResp.LoadSb(loo_SbResponseBody)
loo_JResp.EmitCompact = 0

Write-Debug "Response Body:"
Write-Debug loo_JResp.Emit()

li_RespStatusCode = loo_Resp.StatusCode
Write-Debug "Response Status Code = " + string(li_RespStatusCode)
if li_RespStatusCode >= 400 then
    Write-Debug "Response Header:"
    Write-Debug loo_Resp.Header
    Write-Debug "Failed."
    destroy loo_Resp
    destroy loo_Http
    destroy loo_QueryParams
    destroy loo_SbResponseBody
    destroy loo_JResp
    return
end if

destroy loo_Resp

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

// {
//   "results": [
//     {
//       "id": 19427264,
//       "key": "id non",
//       "value": {},
//       "_expandable": {
//         "version": "aute culpa",
//         "space": "sit fugiat"
//       },
//       "version": {
//         "when": "1988-02-08T03:27:37.011Z",
//         "message": "velit aliqua labore incididunt",
//         "number": -41582376,
//         "minorEdit": false
//       },
//       "space": {
//         "id": 20731255,
//         "key": "ut",
//         "name": "do aliqua laboris eiusmod",
//         "type": "exercitation id",
//         "status": "consectetur ullamco",
//         "_expandable": {
//           "settings": "sint",
//           "metadata": "quis non",
//           "operations": "dolor in cillum",
//           "lookAndFeel": "tempor qui",
//           "permissions": "Duis veniam mollit nisi",
//           "icon": "culpa est",
//           "description": "ex sunt labore id",
//           "theme": "id minim",
//           "history": "inci",
//           "homepage": "occaecat in dolor quis"
//         },
//         "_links": {},
//         "icon": {
//           "path": "nisi non esse culpa",
//           "width": 99533791,
//           "height": -28134599,
//           "isDefault": true
//         },
//         "description": {
//           "plain": {
//             "value": "dolor proident ut 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": "consequat",
//             "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": -59083965,
//             "limit": 75849140,
//             "size": 92184684,
//             "_links": {}
//           }
//         },
//         "operations": [
//           {
//             "operation": "restore",
//             "targetType": "attachment"
//           },
//           {
//             "operation": "export",
//             "targetType": "application"
//           }
//         ],
//         "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": "create",
//               "targetType": "space"
//             },
//             "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": "delete",
//               "targetType": "space"
//             },
//             "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": "2003-06-18T11:28:40.383Z"
//         }
//       }
//     },
//     {
//       "id": 50590702,
//       "key": "minim adipisicing mollit ut",
//       "value": {},
//       "_expandable": {
//         "version": "sed ad el",
//         "space": "pariatur deserunt in labore aliquip"
//       },
//       "version": {
//         "when": "1970-01-13T15:48:59.108Z",
//         "message": "in mollit pariatur",
//         "number": -34696343,
//         "minorEdit": false
//       },
//       "space": {
//         "id": 2257956,
//         "key": "deserunt ",
//         "name": "pariatur",
//         "type": "mollit dolore",
//         "status": "voluptate o",
//         "_expandable": {
//           "settings": "dolor officia",
//           "metadata": "nostrud proident qui",
//           "operations": "dolore",
//           "lookAndFeel": "ex",
//           "permissions": "et ea ad do",
//           "icon": "ea anim laborum",
//           "description": "nostrud n",
//           "theme": "est irure proident",
//           "history": "aute magna",
//           "homepage": "voluptate labore"
//         },
//         "_links": {},
//         "icon": {
//           "path": "ex consectetur",
//           "width": -6687916,
//           "height": 6284709,
//           "isDefault": false
//         },
//         "description": {
//           "plain": {
//             "value": "magna",
//             "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": "mollit",
//             "representation": "view",
//             "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": 31563568,
//             "limit": 7437848,
//             "size": -50600293,
//             "_links": {}
//           }
//         },
//         "operations": [
//           {
//             "operation": "export",
//             "targetType": "application"
//           },
//           {
//             "operation": "read",
//             "targetType": "blogpost"
//           }
//         ],
//         "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": "delete",
//               "targetType": "attachment"
//             },
//             "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": "purge",
//               "targetType": "space"
//             },
//             "anonymousAccess": false,
//             "unlicensedAccess": false
//           }
//         ],
//         "settings": {
//           "routeOverrideEnabled": true,
//           "_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": "1946-10-24T07:33:44.994Z"
//         }
//       }
//     }
//   ],
//   "start": -871862,
//   "limit": -29998484,
//   "size": 16090591,
//   "_links": {}
// }

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

li_Start = loo_JResp.IntOf("start")
li_Limit = loo_JResp.IntOf("limit")
li_Size = loo_JResp.IntOf("size")
i = 0
li_Count_i = loo_JResp.SizeOfArray("results")
do while i < li_Count_i
    loo_JResp.I = i
    li_Id = loo_JResp.IntOf("results[i].id")
    ls_Key = loo_JResp.StringOf("results[i].key")
    ls_Version = loo_JResp.StringOf("results[i]._expandable.version")
    ls_Space = loo_JResp.StringOf("results[i]._expandable.space")
    ls_When = loo_JResp.StringOf("results[i].version.when")
    ls_Message = loo_JResp.StringOf("results[i].version.message")
    li_V_Number = loo_JResp.IntOf("results[i].version.number")
    li_MinorEdit = loo_JResp.BoolOf("results[i].version.minorEdit")
    li_Id = loo_JResp.IntOf("results[i].space.id")
    ls_Key = loo_JResp.StringOf("results[i].space.key")
    ls_Name = loo_JResp.StringOf("results[i].space.name")
    ls_V_Type = loo_JResp.StringOf("results[i].space.type")
    ls_Status = loo_JResp.StringOf("results[i].space.status")
    ls_Settings = loo_JResp.StringOf("results[i].space._expandable.settings")
    ls_Metadata = loo_JResp.StringOf("results[i].space._expandable.metadata")
    ls_Operations = loo_JResp.StringOf("results[i].space._expandable.operations")
    ls_LookAndFeel = loo_JResp.StringOf("results[i].space._expandable.lookAndFeel")
    ls_Permissions = loo_JResp.StringOf("results[i].space._expandable.permissions")
    ls_Icon = loo_JResp.StringOf("results[i].space._expandable.icon")
    ls_Description = loo_JResp.StringOf("results[i].space._expandable.description")
    ls_Theme = loo_JResp.StringOf("results[i].space._expandable.theme")
    ls_History = loo_JResp.StringOf("results[i].space._expandable.history")
    ls_Homepage = loo_JResp.StringOf("results[i].space._expandable.homepage")
    ls_Path = loo_JResp.StringOf("results[i].space.icon.path")
    li_Width = loo_JResp.IntOf("results[i].space.icon.width")
    li_Height = loo_JResp.IntOf("results[i].space.icon.height")
    li_IsDefault = loo_JResp.BoolOf("results[i].space.icon.isDefault")
    ls_Value = loo_JResp.StringOf("results[i].space.description.plain.value")
    ls_Representation = loo_JResp.StringOf("results[i].space.description.plain.representation")
    ls_ViewValue = loo_JResp.StringOf("results[i].space.description.view.value")
    ls_ViewRepresentation = loo_JResp.StringOf("results[i].space.description.view.representation")
    ls_HomepageValue = loo_JResp.StringOf("results[i].space.homepage.value")
    li_Start = loo_JResp.IntOf("results[i].space.metadata.labels.start")
    li_Limit = loo_JResp.IntOf("results[i].space.metadata.labels.limit")
    li_Size = loo_JResp.IntOf("results[i].space.metadata.labels.size")
    li_RouteOverrideEnabled = loo_JResp.BoolOf("results[i].space.settings.routeOverrideEnabled")
    ls_Color = loo_JResp.StringOf("results[i].space.lookAndFeel.headings.color")
    ls_LinksColor = loo_JResp.StringOf("results[i].space.lookAndFeel.links.color")
    ls_HoverOrFocusValue = loo_JResp.StringOf("results[i].space.lookAndFeel.menus.hoverOrFocus.value")
    ls_ColorValue = loo_JResp.StringOf("results[i].space.lookAndFeel.menus.color.value")
    ls_BackgroundColorValue = loo_JResp.StringOf("results[i].space.lookAndFeel.header.backgroundColor.value")
    ls_ButtonValue = loo_JResp.StringOf("results[i].space.lookAndFeel.header.button.value")
    ls_PrimaryNavigationValue = loo_JResp.StringOf("results[i].space.lookAndFeel.header.primaryNavigation.value")
    ls_SecondaryNavigationValue = loo_JResp.StringOf("results[i].space.lookAndFeel.header.secondaryNavigation.value")
    ls_SearchValue = loo_JResp.StringOf("results[i].space.lookAndFeel.header.search.value")
    ls_ScreenValue = loo_JResp.StringOf("results[i].space.lookAndFeel.content.screen.value")
    ls_ContainerValue = loo_JResp.StringOf("results[i].space.lookAndFeel.content.container.value")
    ls_HeaderValue = loo_JResp.StringOf("results[i].space.lookAndFeel.content.header.value")
    ls_BodyValue = loo_JResp.StringOf("results[i].space.lookAndFeel.content.body.value")
    ls_BordersAndDividersColor = loo_JResp.StringOf("results[i].space.lookAndFeel.bordersAndDividers.color")
    ls_CreatedDate = loo_JResp.StringOf("results[i].space.history.createdDate")
    j = 0
    li_Count_j = loo_JResp.SizeOfArray("results[i].space.description.plain.embeddedContent")
    do while j < li_Count_j
        loo_JResp.J = j
        ls_Value = loo_JResp.StringOf("results[i].space.description.plain.embeddedContent[j].value")
        j = j + 1
    loop
    j = 0
    li_Count_j = loo_JResp.SizeOfArray("results[i].space.description.view.embeddedContent")
    do while j < li_Count_j
        loo_JResp.J = j
        ls_Value = loo_JResp.StringOf("results[i].space.description.view.embeddedContent[j].value")
        j = j + 1
    loop
    j = 0
    li_Count_j = loo_JResp.SizeOfArray("results[i].space.metadata.labels.results")
    do while j < li_Count_j
        loo_JResp.J = j
        ls_Value = loo_JResp.StringOf("results[i].space.metadata.labels.results[j].value")
        j = j + 1
    loop
    j = 0
    li_Count_j = loo_JResp.SizeOfArray("results[i].space.operations")
    do while j < li_Count_j
        loo_JResp.J = j
        ls_Operation = loo_JResp.StringOf("results[i].space.operations[j].operation")
        ls_TargetType = loo_JResp.StringOf("results[i].space.operations[j].targetType")
        j = j + 1
    loop
    j = 0
    li_Count_j = loo_JResp.SizeOfArray("results[i].space.permissions")
    do while j < li_Count_j
        loo_JResp.J = j
        ls_V_expandableValue = loo_JResp.StringOf("results[i].space.permissions[j].subjects._expandable.value")
        ls_UserValue = loo_JResp.StringOf("results[i].space.permissions[j].subjects.user.value")
        ls_GroupValue = loo_JResp.StringOf("results[i].space.permissions[j].subjects.group.value")
        ls_Operation = loo_JResp.StringOf("results[i].space.permissions[j].operation.operation")
        ls_TargetType = loo_JResp.StringOf("results[i].space.permissions[j].operation.targetType")
        li_AnonymousAccess = loo_JResp.BoolOf("results[i].space.permissions[j].anonymousAccess")
        li_UnlicensedAccess = loo_JResp.BoolOf("results[i].space.permissions[j].unlicensedAccess")
        j = j + 1
    loop
    i = i + 1
loop


destroy loo_Http
destroy loo_QueryParams
destroy loo_SbResponseBody
destroy loo_JResp

Curl Command

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

Postman Collection Item JSON

{
  "name": "Get space properties",
  "request": {
    "auth": {
      "type": "oauth2"
    },
    "method": "GET",
    "header": [
    ],
    "url": {
      "raw": "{{baseUrl}}/api/space/:spaceKey/property?expand=<string>&expand=<string>&start=0&limit=10",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "space",
        ":spaceKey",
        "property"
      ],
      "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."
        },
        {
          "key": "start",
          "value": "0",
          "description": "The starting index of the returned objects."
        },
        {
          "key": "limit",
          "value": "10",
          "description": "The maximum number of properties to return per page. Note, this may be\nrestricted by fixed system limits."
        }
      ],
      "variable": [
        {
          "key": "spaceKey",
          "value": "<string>",
          "type": "string",
          "description": "(Required) The key of the space to be queried for its properties."
        }
      ]
    },
    "description": "Returns all properties for the given space. Space properties are a key-value storage associated with a space.\n\n**[Permissions required](https://confluence.atlassian.com/x/_AozKw)**: ‘View’ permission for the space."
  },
  "response": [
    {
      "name": "Returned if the requested space properties 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/space/:spaceKey/property?expand=<string>&expand=<string>&start=0&limit=10",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "space",
            ":spaceKey",
            "property"
          ],
          "query": [
            {
              "key": "expand",
              "value": "<string>"
            },
            {
              "key": "expand",
              "value": "<string>"
            },
            {
              "key": "start",
              "value": "0"
            },
            {
              "key": "limit",
              "value": "10"
            }
          ],
          "variable": [
            {
              "key": "spaceKey"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"results\": [\n  {\n   \"id\": 19427264,\n   \"key\": \"id non\",\n   \"value\": {},\n   \"_expandable\": {\n    \"version\": \"aute culpa\",\n    \"space\": \"sit fugiat\"\n   },\n   \"version\": {\n    \"when\": \"1988-02-08T03:27:37.011Z\",\n    \"message\": \"velit aliqua labore incididunt\",\n    \"number\": -41582376,\n    \"minorEdit\": false\n   },\n   \"space\": {\n    \"id\": 20731255,\n    \"key\": \"ut\",\n    \"name\": \"do aliqua laboris eiusmod\",\n    \"type\": \"exercitation id\",\n    \"status\": \"consectetur ullamco\",\n    \"_expandable\": {\n     \"settings\": \"sint\",\n     \"metadata\": \"quis non\",\n     \"operations\": \"dolor in cillum\",\n     \"lookAndFeel\": \"tempor qui\",\n     \"permissions\": \"Duis veniam mollit nisi\",\n     \"icon\": \"culpa est\",\n     \"description\": \"ex sunt labore id\",\n     \"theme\": \"id minim\",\n     \"history\": \"inci\",\n     \"homepage\": \"occaecat in dolor quis\"\n    },\n    \"_links\": {},\n    \"icon\": {\n     \"path\": \"nisi non esse culpa\",\n     \"width\": 99533791,\n     \"height\": -28134599,\n     \"isDefault\": true\n    },\n    \"description\": {\n     \"plain\": {\n      \"value\": \"dolor proident ut 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\": \"consequat\",\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\": -59083965,\n      \"limit\": 75849140,\n      \"size\": 92184684,\n      \"_links\": {}\n     }\n    },\n    \"operations\": [\n     {\n      \"operation\": \"restore\",\n      \"targetType\": \"attachment\"\n     },\n     {\n      \"operation\": \"export\",\n      \"targetType\": \"application\"\n     }\n    ],\n    \"permissions\": [\n     {\n      \"subjects\": {\n       \"_expandable\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"user\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"group\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       }\n      },\n      \"operation\": {\n       \"operation\": \"create\",\n       \"targetType\": \"space\"\n      },\n      \"anonymousAccess\": false,\n      \"unlicensedAccess\": false\n     },\n     {\n      \"subjects\": {\n       \"_expandable\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"user\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"group\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       }\n      },\n      \"operation\": {\n       \"operation\": \"delete\",\n       \"targetType\": \"space\"\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\": \"2003-06-18T11:28:40.383Z\"\n    }\n   }\n  },\n  {\n   \"id\": 50590702,\n   \"key\": \"minim adipisicing mollit ut\",\n   \"value\": {},\n   \"_expandable\": {\n    \"version\": \"sed ad el\",\n    \"space\": \"pariatur deserunt in labore aliquip\"\n   },\n   \"version\": {\n    \"when\": \"1970-01-13T15:48:59.108Z\",\n    \"message\": \"in mollit pariatur\",\n    \"number\": -34696343,\n    \"minorEdit\": false\n   },\n   \"space\": {\n    \"id\": 2257956,\n    \"key\": \"deserunt \",\n    \"name\": \"pariatur\",\n    \"type\": \"mollit dolore\",\n    \"status\": \"voluptate o\",\n    \"_expandable\": {\n     \"settings\": \"dolor officia\",\n     \"metadata\": \"nostrud proident qui\",\n     \"operations\": \"dolore\",\n     \"lookAndFeel\": \"ex\",\n     \"permissions\": \"et ea ad do\",\n     \"icon\": \"ea anim laborum\",\n     \"description\": \"nostrud n\",\n     \"theme\": \"est irure proident\",\n     \"history\": \"aute magna\",\n     \"homepage\": \"voluptate labore\"\n    },\n    \"_links\": {},\n    \"icon\": {\n     \"path\": \"ex consectetur\",\n     \"width\": -6687916,\n     \"height\": 6284709,\n     \"isDefault\": false\n    },\n    \"description\": {\n     \"plain\": {\n      \"value\": \"magna\",\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\": \"mollit\",\n      \"representation\": \"view\",\n      \"embeddedContent\": [\n       {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       }\n      ]\n     }\n    },\n    \"homepage\": {\n     \"value\": \"<Circular reference to #/components/schemas/Content detected>\"\n    },\n    \"metadata\": {\n     \"labels\": {\n      \"results\": [\n       {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       }\n      ],\n      \"start\": 31563568,\n      \"limit\": 7437848,\n      \"size\": -50600293,\n      \"_links\": {}\n     }\n    },\n    \"operations\": [\n     {\n      \"operation\": \"export\",\n      \"targetType\": \"application\"\n     },\n     {\n      \"operation\": \"read\",\n      \"targetType\": \"blogpost\"\n     }\n    ],\n    \"permissions\": [\n     {\n      \"subjects\": {\n       \"_expandable\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"user\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"group\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       }\n      },\n      \"operation\": {\n       \"operation\": \"delete\",\n       \"targetType\": \"attachment\"\n      },\n      \"anonymousAccess\": false,\n      \"unlicensedAccess\": false\n     },\n     {\n      \"subjects\": {\n       \"_expandable\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"user\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       },\n       \"group\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n       }\n      },\n      \"operation\": {\n       \"operation\": \"purge\",\n       \"targetType\": \"space\"\n      },\n      \"anonymousAccess\": false,\n      \"unlicensedAccess\": false\n     }\n    ],\n    \"settings\": {\n     \"routeOverrideEnabled\": true,\n     \"_links\": {}\n    },\n    \"theme\": {},\n    \"lookAndFeel\": {\n     \"headings\": {\n      \"color\": \"<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\": \"1946-10-24T07:33:44.994Z\"\n    }\n   }\n  }\n ],\n \"start\": -871862,\n \"limit\": -29998484,\n \"size\": 16090591,\n \"_links\": {}\n}"
    },
    {
      "name": "Returned if any of the following is true:\n\n- There is no space 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?expand=<string>&expand=<string>&start=0&limit=10",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "space",
            ":spaceKey",
            "property"
          ],
          "query": [
            {
              "key": "expand",
              "value": "<string>"
            },
            {
              "key": "expand",
              "value": "<string>"
            },
            {
              "key": "start",
              "value": "0"
            },
            {
              "key": "limit",
              "value": "10"
            }
          ],
          "variable": [
            {
              "key": "spaceKey"
            }
          ]
        }
      },
      "status": "Not Found",
      "code": 404,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}