Changes to the External API in version 9.10.0
External API Changes
Reference Document Based on Previous Version (9.9.5): OpenAPI Specification JSON Reference Document
Reference Document based on the Previous Version (9.9.5):
OpenAPI Specification JSON Reference Document
Deleted External API
Approval Rule API
Create
Update
Added External API
Workflow API (Here are the updated Workflow API endpoints, which replace the previous Access Approval API and Approval API)
[Access Request| Detail
[Access Request] Approve
[Access Request] Reject
[Export Request] Detail
[Export Request] Approve
[Export Request] Reject
[SQL Request] Detail
[SQL Request] Approve
[SQL Request] Reject
All Requests
Approval Rule API V2 (Replaces the Existing Approval Rule API)
List
Add approval rule
Remove approval rule
Detail
Edit approval rule
Changed External API
Access Approval API
List of Access Approval
Approval Rule API
Detail
Approval API
List of Approval
Access Approval API - List of Access Approval
GET /api/external/access-approvals
Modified Request
The
status
parameter that can be used as a query parameter has changed. "PARTIALLY_APPROVED
" has been replaced by "IN_PROGRESS
", and "NONE
" has been removed.before :
"NONE"
"PENDING"
"CANCELED"
"REJECTED"
"PARTIALLY_APPROVED"
"APPROVED"
"EXPIRED"
after :
"PENDING"
"CANCELED"
"REJECTED"
"IN_PROGRESS"
"APPROVED"
"EXPIRED"
Changes in Response
Before | After |
---|---|
CODE
|
CODE
|
The
currentDegree
field has been removed.The
approvalStatus
field has been updated:before :
"NONE"
"PENDING"
"CANCELED"
"REJECTED"
"PARTIALLY_APPROVED"
"APPROVED"
"EXPIRED"
after :
"PENDING"
"CANCELED"
"REJECTED"
"IN_PROGRESS"
"APPROVED"
"EXPIRED"
The
updatedUser
field has been removed.The
uuid
field underlines
has been removed.The
degree
field underlines
has been replaced bystep
.The
approvedAt
field underlines
has been replaced byactionAt
.The
status
field underlines
has been updated:before :
"PENDING"
"REQUESTED"
"CANCELED"
"APPROVED"
"REJECTED"
"SQL_EXECUTED"
"SQL_CANCELED"
"SQL_SUCCEED"
"SQL_FAILED"
"CONFIRMED"
after :
"NONE"
"PENDING"
"CANCELED"
"APPROVED"
"REJECTED"
"EXECUTED"
"UNREAD"
"CONFIRMED"
The
type
field underlines
has been updated:before :
"REPORTER"
"APPROVER"
"EXECUTOR"
"REFERRER"
"REVIEWER"
after :
"APPROVER"
"EXECUTOR"
"REVIEWER"
The
clusterGroupDescription
field underconnections
has been removed.The
databaseName
field underconnections
has been removed.The
schemaName
field underconnections
has been removed.
Approval Rule API - Detail
GET /api/external/approval-rules/{uuid}
Changes in Response
Before | After |
---|---|
CODE
|
CODE
|
The
approvalCondition
field has been removed.The
executionCondition
field has been updated:before :
"NONE"
"MANUAL"
"SELF"
"CONNECTION_OWNER"
"ANY"
after :
"ADMIN_ONLY"
"ALL_USERS"
"FIXED"
"CONNECTION_OWNER"
The
reviewEnabled
field has been removed.The
urgentMode
field has been added.The
degree
field underlines
has been replaced bystep
.The
type
field underlines
has been updated:before :
"REPORTER"
"APPROVER"
"EXECUTOR"
"REFERRER"
"REVIEWER"
after :
"APPROVER"
"EXECUTOR"
"REVIEWER"
The
resourceType
field underlines
has been updated:before :
USER
,ROLE
after :
USER
,GROUP
The
uuid
field underlines
has been removed.
Approval API - List of Approval
GET /api/external/approvals
Before | After |
---|---|
CODE
|
CODE
|
currentDegree
has been removed.approvalStatus
has been changed:before :
"NONE"
"PENDING"
"CANCELED"
"REJECTED"
"PARTIALLY_APPROVED"
"APPROVED"
"EXPIRED"
after :
"PENDING"
"CANCELED"
"REJECTED"
"IN_PROGRESS"
"APPROVED"
"EXPIRED"
updatedUser
has been removed.uuid
underlines
has been removed.degree
underlines
has been replaced bystep
.approvedAt
underlines
has been replaced byactionAt
.status
underlines
has been changed:before :
"PENDING"
"REQUESTED"
"CANCELED"
"APPROVED"
"REJECTED"
"SQL_EXECUTED"
"SQL_CANCELED"
"SQL_SUCCEED"
"SQL_FAILED"
"CONFIRMED"
after :
"NONE"
"PENDING"
"CANCELED"
"APPROVED"
"REJECTED"
"EXECUTED"
"UNREAD"
"CONFIRMED"
type
underlines
has been updated:before :
"REPORTER"
"APPROVER"
"EXECUTOR"
"REFERRER"
"REVIEWER"
after :
"APPROVER"
"EXECUTOR"
"REVIEWER"