2. Resources
2.1. Uaa-config-controller
Uaa Config Controller
2.1.1. Get identity providers list
GET /UAA/config/identity-providers
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< IdentityProviderInfo > array |
400 |
Bad Request - Invalid attributes |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden - Insufficient scope |
No Content |
2.2. User-controller
User Controller
2.2.1. Get UAA Clients
GET /UAA/clients
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
clientName |
UAA client name/id. |
string |
Query |
page |
Results page you want to retrieve (0..N) |
integer (int32) |
Query |
size |
Number of records per page. |
integer (int32) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
object |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
|
503 |
Service Unavailable |
2.2.2. Get UAA User
GET /UAA/user/{userId}
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
|
503 |
Service Unavailable |
2.2.3. Get UAA User with groups
GET /UAA/user/{userId}/groups
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
|
503 |
Service Unavailable |
2.2.4. Get UAA Users
GET /UAA/users
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
page |
Results page you want to retrieve (0..N) |
integer (int32) |
Query |
size |
Number of records per page. |
integer (int32) |
Query |
username |
UAA user name. |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
|
503 |
Service Unavailable |
2.3. User-groups-controller
User Groups Controller
2.3.1. Create a uaa group
POST /UAA/groups
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
201 |
Created successfully |
|
400 |
Bad Request - Invalid member ID |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden - Insufficient scope |
No Content |
2.3.2. Get UAA User groups
GET /UAA/groups
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Query |
displayName |
UAA group display name. |
string |
Query |
page |
Results page you want to retrieve (0..N) |
integer (int32) |
Query |
size |
Number of records per page. |
integer (int32) |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request - Invalid attributes |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden - Insufficient scope |
No Content |
2.3.3. Get group by id
GET /UAA/groups/{groupId}
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
|
404 |
Not Found |
|
503 |
Service Unavailable |
2.3.4. Remove group from UAA
DELETE /UAA/groups/{groupId}
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Incorrect version supplied in If-Match header |
|
401 |
Unauthorized |
No Content |
403 |
Insufficient scope |
|
404 |
Group does not exist, or the entity is not a member |
|
409 |
Conflict |
|
503 |
Service Unavailable |
2.3.5. Creates a group mapping with an internal UAA groups as members
POST /UAA/groups/{groupId}/members
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
groupId |
groupId |
string |
Body |
memberMapRequest |
memberMapRequest |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Bad Request - Invalid member ID |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden, Insufficient scope |
No Content |
404 |
Not Found - Specified group or member entity does not exist |
2.3.6. Get members of a group
GET /UAA/groups/{groupId}/members
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
< MemberInfo > array |
400 |
Bad Request - Invalid attributes |
|
401 |
Unauthorized |
|
403 |
Forbidden - Insufficient scope |
|
404 |
Not Found - Specified group does not exist |
|
503 |
Service Unavailable |
2.3.7. Check Membership of a member in a group
GET /UAA/groups/{groupId}/members/{memberId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
groupId |
groupId |
string |
Path |
memberId |
memberId |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Incorrect version supplied in If-Match header |
|
401 |
Unauthorized |
No Content |
403 |
Insufficient scope |
|
404 |
Group does not exist, or the entity is not a member |
|
409 |
Conflict |
|
503 |
Service Unavailable |
2.3.8. Remove Member from the group
DELETE /UAA/groups/{groupId}/members/{memberId}
Parameters
Type | Name | Description | Schema |
---|---|---|---|
Path |
groupId |
groupId |
string |
Path |
memberId |
memberId |
string |
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
OK |
|
400 |
Incorrect version supplied in If-Match header |
|
401 |
Unauthorized |
No Content |
403 |
Insufficient scope |
|
404 |
Group does not exist, or the entity is not a member |
|
409 |
Conflict |
|
503 |
Service Unavailable |
3. Definitions
3.2. GroupData
Name | Description | Schema |
---|---|---|
display |
The unique displayName of the group |
string |
type |
The unique displayName of the group |
string |
value |
The unique ID of the group |
string |
3.3. GroupInfo
Name | Description | Schema |
---|---|---|
description |
The description of the group |
string |
displayName |
The unique displayName of the group |
string |
id |
The unique ID of the group |
string |
members |
List of all members |
< object > array |
membersCount |
Members Count |
integer (int64) |
zoneId |
The unique displayName of the group |
string |
3.4. GroupMemberMapRequest
Name | Schema |
---|---|
origin |
string |
type |
string |
value |
string |
3.6. GroupsResponse
Name | Description | Schema |
---|---|---|
itemsPerPage |
User Items Per Page |
integer (int64) |
resources |
The list of group objects |
< GroupInfo > array |
startIndex |
Start index of the page |
integer (int64) |
totalResults |
Total group objects |
integer (int64) |
3.8. HttpUAAErrorResponse
Name | Schema |
---|---|
error |
string |
error_description |
string |
message |
string |
timestamp |
string |
3.9. IdentityProviderInfo
Name | Description | Schema |
---|---|---|
active |
Identity Provider status |
boolean |
id |
The unique ID of the group |
string |
identityZoneId |
Identity Provider identity Zone Id |
string |
name |
Identity Provider name |
string |
originKey |
Identity Provider origin Key |
string |
type |
Type of the Identity Provider |
string |
version |
version of the Identity Provider |
string |
3.11. MemberInfo
Name | Description | Schema |
---|---|---|
origin |
Origin of the group member |
string |
type |
Type of the member GROUP/USER |
string |
value |
The unique ID of the member |
string |
3.12. PageMetadata
Name | Schema |
---|---|
number |
integer (int64) |
size |
integer (int64) |
totalElements |
integer (int64) |
totalPages |
integer (int64) |
3.13. PagedUsersListResult
Name | Schema |
---|---|
content |
< UsersListInfo > array |
links |
< Link > array |
page |
3.14. UserInfo
Name | Description | Schema |
---|---|---|
active |
The current status of the user |
boolean |
familyName |
familyName |
string |
givenName |
givenName |
string |
id |
The unique ID of the user |
string |
name |
The name of the user |
|
userId |
string |
|
userName |
The userName/login in of the user |
string |
3.15. UserInfoWithGroups
Name | Description | Schema |
---|---|---|
active |
The current status of the user |
boolean |
groups |
The list of user related groups |
< GroupData > array |
id |
The unique ID of the user |
string |
name |
The name of the user |
|
userId |
string |
|
userName |
The userName/login in of the user |
string |
3.16. UserName
Name | Description | Schema |
---|---|---|
familyName |
familyName |
string |
givenName |
givenName |
string |
3.17. UsersListInfo
Name | Description | Schema |
---|---|---|
active |
The current status of the user |
boolean |
familyName |
familyName |
string |
givenName |
givenName |
string |
id |
The unique ID of the user |
string |
links |
< Link > array |
|
name |
The name of the user |
|
userId |
string |
|
userName |
The userName/login in of the user |
string |
4. Security
4.1. access_token
Type : oauth2
Flow : accessCode
Token URL : https://localhost/uaa/oauth/authorize
Token URL : https://localhost/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.2. resource_owner
Type : oauth2
Flow : password
Token URL : https://localhost/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.3. implicit_grant
Type : oauth2
Flow : implicit
Token URL : https://localhost/uaa/oauth/authorize
Name | Description |
---|---|
default |
Default oauth2 scope. |
4.4. client_creds
Type : oauth2
Flow : application
Token URL : https://localhost/uaa/oauth/token
Name | Description |
---|---|
default |
Default oauth2 scope. |