-
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 'ISCARP-15666 :- Added API Doc for approvers list en…
…dpoint (#1933) * Added API Doc for approvers list endpoint * Minor Changes * Updated tag * Minor changes to fix errors * Remove type attribute for testing * Reverted the change * Fixed formatting * Fixed errors * Added offset and limit params * Added count param * Add accessRequestId to path param --------- Co-authored-by: Tyler Mairose <[email protected]>' by github action: 12664914232
- Loading branch information
1 parent
e1da218
commit d65893b
Showing
3 changed files
with
98 additions
and
2 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,73 @@ | ||
get: | ||
operationId: listAccessRequestApprovers | ||
security: | ||
- userAuth: [ idn:access-request-administration:read ] | ||
x-sailpoint-userLevels: | ||
- ORG_ADMIN | ||
tags: | ||
- Access Request Approvals | ||
summary: Access Request Approvers | ||
description: | | ||
This API endpoint returns the list of approvers for the given access request id. | ||
parameters: | ||
- in: path | ||
name: accessRequestId | ||
description: Access Request ID. | ||
required: true | ||
schema: | ||
type: string | ||
example: 2c91808568c529c60168cca6f90c1313 | ||
- in: query | ||
name: limit | ||
description: Max number of results to return. | ||
required: false | ||
schema: | ||
type: integer | ||
format: int32 | ||
minimum: 0 | ||
maximum: 250 | ||
default: 250 | ||
example: 100 | ||
- in: query | ||
name: offset | ||
description: >- | ||
Offset into the full result set. Usually specified with *limit* to | ||
paginate through the results. Defaults to 0 if not specified. | ||
required: false | ||
schema: | ||
type: integer | ||
format: int32 | ||
minimum: 0 | ||
example: 10 | ||
- in: query | ||
name: count | ||
description: >- | ||
If this is true, the *X-Total-Count* response header populates with the | ||
number of results that would be returned if limit and offset were | ||
ignored. | ||
required: false | ||
schema: | ||
type: boolean | ||
default: false | ||
example: false | ||
responses: | ||
'200': | ||
description: List of Approvers. | ||
content: | ||
application/json: | ||
schema: | ||
type: array | ||
items: | ||
$ref: ../schemas/AccessRequestApproversListResponse.yaml | ||
'400': | ||
$ref: ../../v3/responses/400.yaml | ||
'401': | ||
$ref: ../../v3/responses/401.yaml | ||
'403': | ||
$ref: ../../v3/responses/403.yaml | ||
'404': | ||
$ref: ../../v3/responses/404.yaml | ||
'429': | ||
$ref: ../../v3/responses/429.yaml | ||
'500': | ||
$ref: ../../v3/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,22 @@ | ||
type: object | ||
properties: | ||
id: | ||
type: string | ||
description: Approver id. | ||
example: id12345 | ||
email: | ||
type: string | ||
description: Email of the approver. | ||
example: [email protected] | ||
name: | ||
type: string | ||
description: Name of the approver. | ||
example: John Doe | ||
approvalId: | ||
type: string | ||
description: Id of the approval item. | ||
example: ap12345 | ||
type: | ||
type: string | ||
description: Type of the object returned. In this case, the value for this field will always Identity. | ||
example: Identity |