Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Call Instructions:

  1. This interface queries all user related groups based on the user name

  2. This interface is called only by system administrators


Interface Information

Name

Get Group List By Username

Address

/rest/tools/1.0/api/group/getGroupFromUser

Method

GET

Return Type

Json

Authentication

Basic,token

Parameters

Parameter name

Required

Parameter type

Description

name

Y

String

Username

return value format

Field

Type

Description

code

int

Appendix - Code

msg

String

total

int

Total data

isMore

bool

true or false

data

String

[{
“name”:”group name”
},
{
“name”:”group name”
}]


Example Postman call


Example return value

{
    "code": 0,
    "msg": "Success",
    "data": [
        {
            "name": "confluence-users"
        }
    ]
}

  • No labels