Me
Me: 5 operations, tagged me in the OpenAPI document.
| Method | Path | Summary |
|---|---|---|
GET |
/api/me |
Who am I: the calling principal, its roles, permissions and accessible clients/applications |
GET |
/api/me/applications |
Applications the calling principal can access |
GET |
/api/me/clients |
Clients the calling principal can access (anchors see all) |
GET |
/api/me/clients/{clientId} |
One client the calling principal can access |
GET |
/api/me/clients/{clientId}/applications |
Applications enabled for a client the calling principal can access |
Operations
Section titled “Operations”GET /api/me
Section titled “GET /api/me”Who am I: the calling principal, its roles, permissions and accessible clients/applications
Operation ID: getMe
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json WhoamiResponse |
default |
Error | application/json ErrorModel |
GET /api/me/applications
Section titled “GET /api/me/applications”Applications the calling principal can access
Operation ID: listMyApplications
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json MyApplicationsListResponse |
default |
Error | application/json ErrorModel |
GET /api/me/clients
Section titled “GET /api/me/clients”Clients the calling principal can access (anchors see all)
Operation ID: listMyClients
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json MyClientsListResponse |
default |
Error | application/json ErrorModel |
GET /api/me/clients/{clientId}
Section titled “GET /api/me/clients/{clientId}”One client the calling principal can access
Operation ID: getMyClient
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
clientId |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json MyClientResponse |
default |
Error | application/json ErrorModel |
GET /api/me/clients/{clientId}/applications
Section titled “GET /api/me/clients/{clientId}/applications”Applications enabled for a client the calling principal can access
Operation ID: listMyClientApplications
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
clientId |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json MyApplicationsListResponse |
default |
Error | application/json ErrorModel |
Schemas
Section titled “Schemas”MyApplicationResponse
Section titled “MyApplicationResponse”| Field | Type | Required | Description |
|---|---|---|---|
baseUrl |
string | no | |
code |
string | yes | |
description |
string | no | |
iconUrl |
string | no | |
id |
string | yes | |
logoMimeType |
string | no | |
name |
string | yes | |
website |
string | no |
MyApplicationsListResponse
Section titled “MyApplicationsListResponse”| Field | Type | Required | Description |
|---|---|---|---|
applications |
MyApplicationResponse[] |
yes | |
clientId |
string | yes | |
total |
integer (int64) | yes |
MyClientResponse
Section titled “MyClientResponse”| Field | Type | Required | Description |
|---|---|---|---|
createdAt |
string | yes | |
id |
string | yes | |
identifier |
string | yes | |
name |
string | yes | |
status |
string | no | |
updatedAt |
string | yes |
MyClientsListResponse
Section titled “MyClientsListResponse”| Field | Type | Required | Description |
|---|---|---|---|
clients |
MyClientResponse[] |
yes | |
total |
integer (int64) | yes |
WhoamiResponse
Section titled “WhoamiResponse”| Field | Type | Required | Description |
|---|---|---|---|
accessibleApplicationIds |
string[] | yes | |
accessibleClientIds |
string[] | yes | |
active |
boolean | yes | |
allApplications |
boolean | yes | |
email |
string | no | |
name |
string | yes | |
permissions |
string[] | yes | |
principalId |
string | yes | |
principalType |
string | yes | |
roles |
string[] | yes | |
scope |
string | yes |