-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated commit 'Merge pull request #39 from sailpoint/NEROCKET-1060
NEROCKET-1060 added get system role paths.' by github action: 10836548087
- Loading branch information
1 parent
98240ee
commit e3cf15a
Showing
5 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
get: | ||
summary: Get system roles | ||
operationId: getSystemRoles | ||
description: This endpoint can retrieve system roles from NERM. Optionally you can provide parameters to filter results. | ||
tags: | ||
- system roles | ||
parameters: | ||
- $ref: "../parameters/query/query.yaml" | ||
- $ref: "../parameters/query/metadata.yaml" | ||
responses: | ||
'200': | ||
$ref: "../responses/System_Roles_Meta.yaml" | ||
'400': | ||
$ref: "../responses/400.yaml" | ||
'500': | ||
$ref: "../responses/500.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
description: Expected response to a valid request | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
system_roles: | ||
type: array | ||
items: | ||
$ref: '../schemas/GET/SystemRole.yaml' | ||
_metadata: | ||
$ref: '../schemas/Metadata.yaml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
type: object | ||
properties: | ||
id: | ||
type: string | ||
format: uuid | ||
description: The unique identifier for the object | ||
example: 2e06b876-f456-473d-bd65-b6435e0b6b2d | ||
readOnly: true | ||
uid: | ||
type: string | ||
description: The user identifier for the object | ||
minLength: 32 | ||
maxLength: 32 | ||
readOnly: true | ||
enum: [profile_contributor, profile_owner] | ||
example: "profile_contributor" | ||
name: | ||
description: The name of the role | ||
type: string | ||
enum: [Profile Contributor, Profile Owner] | ||
example: "Profile Contributor" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
type: object | ||
properties: | ||
system_roles: | ||
type: array | ||
items: | ||
$ref: '../GET/SystemRole.yaml' |