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
string ls_Operation
string ls_TargetType
string ls_Value
string ls_V_expandableValue
string ls_UserValue
string ls_GroupValue
string ls_Operation
string ls_TargetType
integer li_AnonymousAccess
integer li_UnlicensedAccess
string ls_V_type
string ls_AccountId
string ls_AccountType
string ls_Email
string ls_PublicName
string ls_Path
integer li_Width
integer li_Height
integer li_IsDefault
string ls_DisplayName
string ls_Operations
string ls_Details
string ls_PersonalSpace
string ls_Username
string ls_UserKey
string ls_Value
string ls_PersonalValue
integer li_Id
string ls_Key
string ls_Name
string ls_V_Type
string ls_Status
string ls_Settings
string ls_Metadata
string ls_V_expandableOperations
string ls_LookAndFeel
string ls_Permissions
string ls_Icon
string ls_Description
string ls_Theme
string ls_History
string ls_Homepage
string ls_IconPath
integer li_IconWidth
integer li_IconHeight
integer li_IconIsDefault
string ls_PlainValue
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 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
// Use "Chilkat_9_5_0.Http" for versions of Chilkat < 10.0.0
li_rc = loo_Http.ConnectToNewObject("Chilkat.Http")
if li_rc < 0 then
destroy loo_Http
MessageBox("Error","Connecting to COM object failed")
return
end if
loo_QueryParams = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_QueryParams.ConnectToNewObject("Chilkat.JsonObject")
loo_QueryParams.UpdateString("expand","<string>")
loo_QueryParams.UpdateString("expand","<string>")
// 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/user/current",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
// Use "Chilkat_9_5_0.StringBuilder" for versions of Chilkat < 10.0.0
li_rc = loo_SbResponseBody.ConnectToNewObject("Chilkat.StringBuilder")
loo_Resp.GetBodySb(loo_SbResponseBody)
loo_JResp = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JResp.ConnectToNewObject("Chilkat.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)
// {
// "type": "unknown",
// "accountId": "sit consectetur",
// "accountType": "atlassian",
// "email": "do",
// "publicName": "et nostrud mollit id",
// "profilePicture": {
// "path": "eiusmod Excepteur",
// "width": 61811707,
// "height": -27758421,
// "isDefault": true
// },
// "displayName": "eiusmod pariatur aliqua cupidatat",
// "_expandable": {
// "operations": "officia nu",
// "details": "exercitation ipsum elit tempor laborum",
// "personalSpace": "exercitation re"
// },
// "_links": {},
// "username": "sed velit Ut",
// "userKey": "labore anim",
// "operations": [
// {
// "operation": "use",
// "targetType": "application"
// },
// {
// "operation": "restore",
// "targetType": "space"
// }
// ],
// "details": {
// "business": {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// },
// "personal": {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// }
// },
// "personalSpace": {
// "id": -69293677,
// "key": "minim",
// "name": "adipisicing minim nulla nisi consequat",
// "type": "reprehenderit",
// "status": "amet officia pariatur sed",
// "_expandable": {
// "settings": "deserunt dolore velit laborum",
// "metadata": "ullamco quis non sunt",
// "operations": "qui aliquip",
// "lookAndFeel": "eiusmod cillum ex",
// "permissions": "in ullamco",
// "icon": "veniam quis",
// "description": "officia adip",
// "theme": "ea nisi",
// "history": "aliquip est irure",
// "homepage": "aliqua est deserunt"
// },
// "_links": {},
// "icon": {
// "path": "adipisicing sed officia",
// "width": 33631448,
// "height": -10767970,
// "isDefault": true
// },
// "description": {
// "plain": {
// "value": "cupidatat nulla",
// "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>"
// }
// ]
// },
// "view": {
// "value": "magna aliquip ea",
// "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": 58105433,
// "limit": 10735114,
// "size": -29792214,
// "_links": {}
// }
// },
// "operations": [
// {
// "operation": "delete",
// "targetType": "blogpost"
// },
// {
// "operation": "restore",
// "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": "create",
// "targetType": "page"
// },
// "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": "restore",
// "targetType": "blogpost"
// },
// "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": "2014-12-12T23:08:45.947Z"
// }
// }
// }
// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
ls_V_type = loo_JResp.StringOf("type")
ls_AccountId = loo_JResp.StringOf("accountId")
ls_AccountType = loo_JResp.StringOf("accountType")
ls_Email = loo_JResp.StringOf("email")
ls_PublicName = loo_JResp.StringOf("publicName")
ls_Path = loo_JResp.StringOf("profilePicture.path")
li_Width = loo_JResp.IntOf("profilePicture.width")
li_Height = loo_JResp.IntOf("profilePicture.height")
li_IsDefault = loo_JResp.BoolOf("profilePicture.isDefault")
ls_DisplayName = loo_JResp.StringOf("displayName")
ls_Operations = loo_JResp.StringOf("_expandable.operations")
ls_Details = loo_JResp.StringOf("_expandable.details")
ls_PersonalSpace = loo_JResp.StringOf("_expandable.personalSpace")
ls_Username = loo_JResp.StringOf("username")
ls_UserKey = loo_JResp.StringOf("userKey")
ls_Value = loo_JResp.StringOf("details.business.value")
ls_PersonalValue = loo_JResp.StringOf("details.personal.value")
li_Id = loo_JResp.IntOf("personalSpace.id")
ls_Key = loo_JResp.StringOf("personalSpace.key")
ls_Name = loo_JResp.StringOf("personalSpace.name")
ls_V_Type = loo_JResp.StringOf("personalSpace.type")
ls_Status = loo_JResp.StringOf("personalSpace.status")
ls_Settings = loo_JResp.StringOf("personalSpace._expandable.settings")
ls_Metadata = loo_JResp.StringOf("personalSpace._expandable.metadata")
ls_V_expandableOperations = loo_JResp.StringOf("personalSpace._expandable.operations")
ls_LookAndFeel = loo_JResp.StringOf("personalSpace._expandable.lookAndFeel")
ls_Permissions = loo_JResp.StringOf("personalSpace._expandable.permissions")
ls_Icon = loo_JResp.StringOf("personalSpace._expandable.icon")
ls_Description = loo_JResp.StringOf("personalSpace._expandable.description")
ls_Theme = loo_JResp.StringOf("personalSpace._expandable.theme")
ls_History = loo_JResp.StringOf("personalSpace._expandable.history")
ls_Homepage = loo_JResp.StringOf("personalSpace._expandable.homepage")
ls_IconPath = loo_JResp.StringOf("personalSpace.icon.path")
li_IconWidth = loo_JResp.IntOf("personalSpace.icon.width")
li_IconHeight = loo_JResp.IntOf("personalSpace.icon.height")
li_IconIsDefault = loo_JResp.BoolOf("personalSpace.icon.isDefault")
ls_PlainValue = loo_JResp.StringOf("personalSpace.description.plain.value")
ls_Representation = loo_JResp.StringOf("personalSpace.description.plain.representation")
ls_ViewValue = loo_JResp.StringOf("personalSpace.description.view.value")
ls_ViewRepresentation = loo_JResp.StringOf("personalSpace.description.view.representation")
ls_HomepageValue = loo_JResp.StringOf("personalSpace.homepage.value")
li_Start = loo_JResp.IntOf("personalSpace.metadata.labels.start")
li_Limit = loo_JResp.IntOf("personalSpace.metadata.labels.limit")
li_Size = loo_JResp.IntOf("personalSpace.metadata.labels.size")
li_RouteOverrideEnabled = loo_JResp.BoolOf("personalSpace.settings.routeOverrideEnabled")
ls_Color = loo_JResp.StringOf("personalSpace.lookAndFeel.headings.color")
ls_LinksColor = loo_JResp.StringOf("personalSpace.lookAndFeel.links.color")
ls_HoverOrFocusValue = loo_JResp.StringOf("personalSpace.lookAndFeel.menus.hoverOrFocus.value")
ls_ColorValue = loo_JResp.StringOf("personalSpace.lookAndFeel.menus.color.value")
ls_BackgroundColorValue = loo_JResp.StringOf("personalSpace.lookAndFeel.header.backgroundColor.value")
ls_ButtonValue = loo_JResp.StringOf("personalSpace.lookAndFeel.header.button.value")
ls_PrimaryNavigationValue = loo_JResp.StringOf("personalSpace.lookAndFeel.header.primaryNavigation.value")
ls_SecondaryNavigationValue = loo_JResp.StringOf("personalSpace.lookAndFeel.header.secondaryNavigation.value")
ls_SearchValue = loo_JResp.StringOf("personalSpace.lookAndFeel.header.search.value")
ls_ScreenValue = loo_JResp.StringOf("personalSpace.lookAndFeel.content.screen.value")
ls_ContainerValue = loo_JResp.StringOf("personalSpace.lookAndFeel.content.container.value")
ls_HeaderValue = loo_JResp.StringOf("personalSpace.lookAndFeel.content.header.value")
ls_BodyValue = loo_JResp.StringOf("personalSpace.lookAndFeel.content.body.value")
ls_BordersAndDividersColor = loo_JResp.StringOf("personalSpace.lookAndFeel.bordersAndDividers.color")
ls_CreatedDate = loo_JResp.StringOf("personalSpace.history.createdDate")
i = 0
li_Count_i = loo_JResp.SizeOfArray("operations")
do while i < li_Count_i
loo_JResp.I = i
ls_Operation = loo_JResp.StringOf("operations[i].operation")
ls_TargetType = loo_JResp.StringOf("operations[i].targetType")
i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("personalSpace.description.plain.embeddedContent")
do while i < li_Count_i
loo_JResp.I = i
ls_Value = loo_JResp.StringOf("personalSpace.description.plain.embeddedContent[i].value")
i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("personalSpace.description.view.embeddedContent")
do while i < li_Count_i
loo_JResp.I = i
ls_Value = loo_JResp.StringOf("personalSpace.description.view.embeddedContent[i].value")
i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("personalSpace.metadata.labels.results")
do while i < li_Count_i
loo_JResp.I = i
ls_Value = loo_JResp.StringOf("personalSpace.metadata.labels.results[i].value")
i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("personalSpace.operations")
do while i < li_Count_i
loo_JResp.I = i
ls_Operation = loo_JResp.StringOf("personalSpace.operations[i].operation")
ls_TargetType = loo_JResp.StringOf("personalSpace.operations[i].targetType")
i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("personalSpace.permissions")
do while i < li_Count_i
loo_JResp.I = i
ls_V_expandableValue = loo_JResp.StringOf("personalSpace.permissions[i].subjects._expandable.value")
ls_UserValue = loo_JResp.StringOf("personalSpace.permissions[i].subjects.user.value")
ls_GroupValue = loo_JResp.StringOf("personalSpace.permissions[i].subjects.group.value")
ls_Operation = loo_JResp.StringOf("personalSpace.permissions[i].operation.operation")
ls_TargetType = loo_JResp.StringOf("personalSpace.permissions[i].operation.targetType")
li_AnonymousAccess = loo_JResp.BoolOf("personalSpace.permissions[i].anonymousAccess")
li_UnlicensedAccess = loo_JResp.BoolOf("personalSpace.permissions[i].unlicensedAccess")
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"
-H "Authorization: Bearer <access_token>"
https://your-domain.atlassian.net/wiki/rest/api/user/current
Postman Collection Item JSON
{
"name": "Get current user",
"request": {
"auth": {
"type": "oauth2"
},
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/api/user/current?expand=<string>&expand=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"user",
"current"
],
"query": [
{
"key": "expand",
"value": "<string>",
"description": "A multi-value parameter indicating which properties of the user to\nexpand.\n\n - `operations` returns the operations that the user is allowed to do.\n - `details.personal` returns the 'Personal' details in the user's profile, like the 'Email' and 'Phone'.\n Note that these fields have been deprecated due to privacy changes. See the\n [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)\n for details.\n - `details.business` returns the 'Company' details in the user's profile, like the 'Position' and 'Department'.\n Note that these fields have been deprecated due to privacy changes. See the\n [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)\n for details.\n - personalSpace returns the user's personal space, if it exists."
},
{
"key": "expand",
"value": "<string>",
"description": "A multi-value parameter indicating which properties of the user to\nexpand.\n\n - `operations` returns the operations that the user is allowed to do.\n - `details.personal` returns the 'Personal' details in the user's profile, like the 'Email' and 'Phone'.\n Note that these fields have been deprecated due to privacy changes. See the\n [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)\n for details.\n - `details.business` returns the 'Company' details in the user's profile, like the 'Position' and 'Department'.\n Note that these fields have been deprecated due to privacy changes. See the\n [migration guide](https://developer.atlassian.com/cloud/confluence/deprecation-notice-user-privacy-api-migration-guide/)\n for details.\n - personalSpace returns the user's personal space, if it exists."
}
]
},
"description": "Returns the currently logged-in user. This includes information about\nthe user, like the display name, userKey, account ID, profile picture,\nand more.\n\n**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:\nPermission to access the Confluence site ('Can use' global permission)."
},
"response": [
{
"name": "Returned if the current user 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/user/current?expand=<string>&expand=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"user",
"current"
],
"query": [
{
"key": "expand",
"value": "<string>"
},
{
"key": "expand",
"value": "<string>"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{\n \"type\": \"unknown\",\n \"accountId\": \"sit consectetur\",\n \"accountType\": \"atlassian\",\n \"email\": \"do\",\n \"publicName\": \"et nostrud mollit id\",\n \"profilePicture\": {\n \"path\": \"eiusmod Excepteur\",\n \"width\": 61811707,\n \"height\": -27758421,\n \"isDefault\": true\n },\n \"displayName\": \"eiusmod pariatur aliqua cupidatat\",\n \"_expandable\": {\n \"operations\": \"officia nu\",\n \"details\": \"exercitation ipsum elit tempor laborum\",\n \"personalSpace\": \"exercitation re\"\n },\n \"_links\": {},\n \"username\": \"sed velit Ut\",\n \"userKey\": \"labore anim\",\n \"operations\": [\n {\n \"operation\": \"use\",\n \"targetType\": \"application\"\n },\n {\n \"operation\": \"restore\",\n \"targetType\": \"space\"\n }\n ],\n \"details\": {\n \"business\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"personal\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n \"personalSpace\": {\n \"id\": -69293677,\n \"key\": \"minim\",\n \"name\": \"adipisicing minim nulla nisi consequat\",\n \"type\": \"reprehenderit\",\n \"status\": \"amet officia pariatur sed\",\n \"_expandable\": {\n \"settings\": \"deserunt dolore velit laborum\",\n \"metadata\": \"ullamco quis non sunt\",\n \"operations\": \"qui aliquip\",\n \"lookAndFeel\": \"eiusmod cillum ex\",\n \"permissions\": \"in ullamco\",\n \"icon\": \"veniam quis\",\n \"description\": \"officia adip\",\n \"theme\": \"ea nisi\",\n \"history\": \"aliquip est irure\",\n \"homepage\": \"aliqua est deserunt\"\n },\n \"_links\": {},\n \"icon\": {\n \"path\": \"adipisicing sed officia\",\n \"width\": 33631448,\n \"height\": -10767970,\n \"isDefault\": true\n },\n \"description\": {\n \"plain\": {\n \"value\": \"cupidatat nulla\",\n \"representation\": \"view\",\n \"embeddedContent\": [\n {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n ]\n },\n \"view\": {\n \"value\": \"magna aliquip ea\",\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\": 58105433,\n \"limit\": 10735114,\n \"size\": -29792214,\n \"_links\": {}\n }\n },\n \"operations\": [\n {\n \"operation\": \"delete\",\n \"targetType\": \"blogpost\"\n },\n {\n \"operation\": \"restore\",\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\": \"create\",\n \"targetType\": \"page\"\n },\n \"anonymousAccess\": false,\n \"unlicensedAccess\": false\n },\n {\n \"subjects\": {\n \"_expandable\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"user\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"group\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n \"operation\": {\n \"operation\": \"restore\",\n \"targetType\": \"blogpost\"\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\": \"2014-12-12T23:08:45.947Z\"\n }\n }\n}"
},
{
"name": "Returned if the calling user does not have permission to use\nConfluence.",
"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/user/current?expand=<string>&expand=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"user",
"current"
],
"query": [
{
"key": "expand",
"value": "<string>"
},
{
"key": "expand",
"value": "<string>"
}
]
}
},
"status": "Forbidden",
"code": 403,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
}
]
}