ListGroupMember
Queries the members of a code group without pagination or sorting.
Try it now
Test
RAM authorization
Request syntax
GET /repository/groups/{groupId}/list HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| groupId |
integer |
Yes |
The primary key ID of the code group. |
22901 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| organizationId |
string |
Yes |
The organization identifier, also known as the organization ID. It is a string that can be obtained from the Apsara DevOps URL, such as https://devops.aliyun.com/organization/[OrganizationId]. |
632bbfdf419338aaa2b1360a |
| accessToken |
string |
No |
The personal access token. This parameter is not required if you use an Alibaba Cloud AccessKey pair or Security Token Service (STS) temporary authorization. |
f0b1e61db5961df5975a93f9129d2513 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
The request ID. |
C8F8B434-B006-59FB-8B9C-0382CF3D5680 |
| errorMessage |
string |
The error message. |
”“ |
| errorCode |
string |
The error code. |
SYSTEM_UNKNOWN_ERROR |
| success |
boolean |
Indicates whether the call is successful. |
true |
| result |
array<object> |
The list of returned results. |
|
|
object |
The result item. |
||
| id |
integer |
The Codeup user ID. |
123456 |
| name |
string |
The user name. |
test-codeup |
| username |
string |
The user nickname. |
test-codeup-nickname |
| state |
string |
The status. Valid values:
|
active |
| avatarUrl |
string |
The avatar URL. |
https://tcs-devops.aliyuncs.com/thumbnail/112afcb7a6a35c3f67f1bea827c4/w/100/h/100 |
|
string |
The email address of the user. |
username@example.com |
|
| accessLevel |
integer |
The permission level. Valid values:
|
30 |
| memberType |
string |
The member type. Default value: USERS. Valid values:
|
USERS |
| sourceId |
integer |
The associated source ID. For this API, it generally refers to the ID of the code group. |
223241 |
Examples
Success response
JSON format
{
"requestId": "C8F8B434-B006-59FB-8B9C-0382CF3D5680",
"errorMessage": "”“",
"errorCode": "SYSTEM_UNKNOWN_ERROR",
"success": true,
"result": [
{
"id": 123456,
"name": "test-codeup",
"username": "test-codeup-nickname",
"state": "active",
"avatarUrl": "https://tcs-devops.aliyuncs.com/thumbnail/112afcb7a6a35c3f67f1bea827c4/w/100/h/100",
"email": "username@example.com",
"accessLevel": 30,
"memberType": "USERS",
"sourceId": 223241
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.