Changes to the External API (v9.8.10 > v9.9.4)
External API Changes
API Docs json file
9810_external.json 994_external.json
1. Authentication
API Key HTTP Header name has been changed.
Before | After | |
---|---|---|
Header Parameter name | X-QueryPie-Api-Token | Authorization |
2. Alert API
Changes/Improvements
API(9.8.10) | Changes |
---|---|
(GET) List |
|
(POST) Create |
|
(PUT) Update |
|
(Delete) Delete |
|
[NEW] (POST) Create, (PUT) Update, (GET) Detail API
Detailed request content can be found in the documentation.
Alert Type(9.8.10) | Doc Paths (9.9.4) |
---|---|
| [SQL Execution] |
| [Prevented SQL Execution] |
| [DB Connection Attempt] |
| [Sensitive Data Access]
|
| [Sensitive Data Access]
|
| [Data Export] |
| [Workflow New Request] |
[Unusual Login Attempt](신규) |
(GET) List
/api/external/notifications
Request
None
Response
Before | After |
---|---|
JSON
|
JSON
|
3. Approval Rule API
(GET) List
/api/external/approval-rules
Request
Query Parameter
RequestType has been updated from
SQL
,ACCESS
toSQL
,EXPORT
,ACCESS
, with the addition ofEXPORT
.
Response
None
4. Audit Log API
(GET) List of Approval
/api/external/audit-logs
Request
Query Parameter
Before | After |
---|---|
|
|
You can use the Response's nextCursor as is for the cursor. If it's the first call, leave it empty.
The information in /api/docs is incorrect and will be corrected in future versions.
The count remains the same as the previous pageSize, and the max value is 100.
Redis
has been added to the databaseType.
Response
Before | After |
---|---|
{ | { |
The hasNext field has been added, indicating whether there is more data after the Response.
The execResult field has been deprecated and will be removed in future versions.
The page field has been removed, and nextCursor has been added.
The value of executedAt for the last element in the list of the current Response represents the time between the startDate and endDate of the Request.
By putting this value into the cursor of the Request, you can retrieve data starting from that time. (You don't need to change the startDate and endDate.)
The information in /api/docs is incorrect and will be corrected in future versions.
(GET) Detail
/api/external/audit-logs/{id}
Request
None
Response
Before | After |
---|---|
{ | { |
The execResult field has been deprecated and will be removed in future versions.
(GET) Detail
/api/external/audit-logs/{uuid}
Request
None
Response
Before | After |
---|---|
{ | { |
The execResult field has been deprecated and will be removed in future versions.
5. Authentication History API
(GET) List of Authentication
/api/external/connection-auth-logs
Request
Query Parameter
Before | After |
---|---|
|
|
The following action types have been removed from actionType:
LOGIN
,LOGOUT
,LOCKED
,EXPIRED
,LOCKED_MANUALLY
,UNLOCK
.Only
CONNECT
,DISCONNECT
are now used.
Redis
has been added to the databaseType.
Response
None
6. User Access History API
(GET) List of User Access History
/api/external/system-auth-logs
Request & Response
The following action types have been removed from actionType:
CONNECT
,DISCONNECT
.Only
LOGIN
,LOGOUT
,LOCKED
,EXPIRED
,LOCKED_MANUALLY
,UNLOCK
are now used.
7. Cloud Provider API
(GET) List of Cloud Provider
/api/external/cloud-providers
Request
None
Response
Before | After |
---|---|
{ | { |
The field synchronizableDatabaseTypes has been added.
It is an output field that indicates the types (vendors) of databases to synchronize with.
AURORA_MY_SQL
,AURORA_POSTGRESQL
,MY_SQL
,POSTGRESQL
,MARIA_DB
,ORACLE
,SQL_SERVER
,DYNAMO_DB
,DOCUMENT_DB
,REDSHIFT
,ATHENA
(POST) Create Cloud Provider
/api/external/cloud-providers
Request
Before | After |
---|---|
{ | { |
The field synchronizableDatabaseTypes has been added.
It is an output field that indicates the types (vendors) of databases to synchronize with.
AURORA_MY_SQL
,AURORA_POSTGRESQL
,MY_SQL
,POSTGRESQL
,MARIA_DB
,ORACLE
,SQL_SERVER
,DYNAMO_DB
,DOCUMENT_DB
,REDSHIFT
,ATHENA
Response
Before | After |
---|---|
{ | { |
The field synchronizableDatabaseTypes has been added.
It is an output field that indicates the types (vendors) of databases to synchronize with.
AURORA_MY_SQL
,AURORA_POSTGRESQL
,MY_SQL
,POSTGRESQL
,MARIA_DB
,ORACLE
,SQL_SERVER
,DYNAMO_DB
,DOCUMENT_DB
,REDSHIFT
,ATHENA
(PUT) Update Cloud Provider
/api/external/cloud-providers/{cloudProviderUuid}
Request
Before | After |
---|---|
{ | { |
The field synchronizableDatabaseTypes has been added.
It is an output field that indicates the types (vendors) of databases to synchronize with.
AURORA_MY_SQL
,AURORA_POSTGRESQL
,MY_SQL
,POSTGRESQL
,MARIA_DB
,ORACLE
,SQL_SERVER
,DYNAMO_DB
,DOCUMENT_DB
,REDSHIFT
,ATHENA
Response
Before | After |
---|---|
{ | { |
The field synchronizableDatabaseTypes has been added.
It is an output field that indicates the types (vendors) of databases to synchronize with.
AURORA_MY_SQL
,AURORA_POSTGRESQL
,MY_SQL
,POSTGRESQL
,MARIA_DB
,ORACLE
,SQL_SERVER
,DYNAMO_DB
,DOCUMENT_DB
,REDSHIFT
,ATHENA
8. Cluster Role API
(GET) List of Role
/api/external/roles
Request
None
Response
Before | After |
---|---|
JSON
|
CODE
|
The privilegeVendor has been added.
SQL
,REDIS
(POST) Create Role
/api/external/roles
Request & Response
Before | After |
---|---|
JSON
|
CODE
|
The privilegeVendor has been added.
SQL
,REDIS
(PUT) Update Role
/api/external/roles/{roleUuid}
Request & Response
Before | After |
---|---|
JSON
|
CODE
|
The privilegeVendor has been added.
SQL
,REDIS
9. Connection API
(GET) List of Cluster Group
/api/external/connections
Request
None
Response
Before | After | |
---|---|---|
Request | - | 없음 |
Response | { | { |
The fields dbUserInfo and userMultipleAccount have been removed.
The information of these fields is now conveyed through the connectionAccount field.
The connectionAccount field has been added.
It is a field that conveys the account information of the connection.
The type indicates the type of the account.
Possible values are:
NOAUTH
SASL_KERBEROS
SASL_PLAIN_UID
UIDPWD
SASL_PLAIN_UIDPWD_SSL
NOAUTH_SSL
DELEGATION_TOKEN
O_AUTH_CLIENT_CREDENTIALS
The useMultipleAccount is a boolean value indicating whether multiple accounts are used.
KerberosProtocols is a field that conveys Kerberos account information.
Kerberos accounts do not support proxy accounts.
usernamePasswords is a field that conveys usernamePassword account information.
(POST) Create Cluster Group
/api/external/connections
Request
Before | After | |
---|---|---|
Request | - | None |
Response | { | { |
The fields dbUserInfo and userMultipleAccount have been removed.
The information of these fields is now conveyed through the connectionAccount field.
The connectionAccount field has been added.
It is a field that conveys the account information of the connection.
The type indicates the type of the account.
Possible values are:
NOAUTH
SASL_KERBEROS
SASL_PLAIN_UID
UIDPWD
SASL_PLAIN_UIDPWD_SSL
NOAUTH_SSL
DELEGATION_TOKEN
O_AUTH_CLIENT_CREDENTIALS
The useMultipleAccount is a boolean value indicating whether multiple accounts are used.
KerberosProtocols is a field that conveys Kerberos account information.
Kerberos accounts do not support proxy accounts.
usernamePasswords is a field that conveys usernamePassword account information.
Response
Before | After | |
---|---|---|
Request | - | None |
Response | { | { |
The fields dbUserInfo and userMultipleAccount have been removed.
The information of these fields is now conveyed through the connectionAccount field.
The connectionAccount field has been added.
It is a field that conveys the account information of the connection.
The type indicates the type of the account.
Possible values are:
NOAUTH
SASL_KERBEROS
SASL_PLAIN_UID
UIDPWD
SASL_PLAIN_UIDPWD_SSL
NOAUTH_SSL
DELEGATION_TOKEN
O_AUTH_CLIENT_CREDENTIALS
The useMultipleAccount is a boolean value indicating whether multiple accounts are used.
KerberosProtocols is a field that conveys Kerberos account information.
Kerberos accounts do not support proxy accounts.
usernamePasswords is a field that conveys usernamePassword account information.
(PATCH) Update Cluster Group
/api/external/connections/{uuid}
Request
Before | After | |
---|---|---|
Request | - | None |
Response | { | { |
The fields dbUserInfo and userMultipleAccount have been removed.
The information of these fields is now conveyed through the connectionAccount field.
The connectionAccount field has been added.
It is a field that conveys the account information of the connection.
The type indicates the type of the account.
Possible values are:
NOAUTH
SASL_KERBEROS
SASL_PLAIN_UID
UIDPWD
SASL_PLAIN_UIDPWD_SSL
NOAUTH_SSL
DELEGATION_TOKEN
O_AUTH_CLIENT_CREDENTIALS
The useMultipleAccount is a boolean value indicating whether multiple accounts are used.
KerberosProtocols is a field that conveys Kerberos account information.
Kerberos accounts do not support proxy accounts.
usernamePasswords is a field that conveys usernamePassword account information.
Response
Before | After | |
---|---|---|
Request | - | None |
Response | { | { |
The fields dbUserInfo and userMultipleAccount have been removed.
The information of these fields is now conveyed through the connectionAccount field.
The connectionAccount field has been added.
It is a field that conveys the account information of the connection.
The type indicates the type of the account.
Possible values are:
NOAUTH
SASL_KERBEROS
SASL_PLAIN_UID
UIDPWD
SASL_PLAIN_UIDPWD_SSL
NOAUTH_SSL
DELEGATION_TOKEN
O_AUTH_CLIENT_CREDENTIALS
The useMultipleAccount is a boolean value indicating whether multiple accounts are used.
KerberosProtocols is a field that conveys Kerberos account information.
Kerberos accounts do not support proxy accounts.
usernamePasswords is a field that conveys usernamePassword account information.
10. Notification Channels API
(GET) List of Notification channel
/api/external/notification-channels
Request
Query Parameter fields have been added.
Before | After |
---|---|
|
|
dataflowRequest.filterKey: Put the filter key, for example, "Title".
dataflowRequest.filterValue: Put the filter value (search term), for example, "channelName123".
dataflowRequest.sortKey: Put the column name to sort, for example, "createdAt".
dataflowRequest.sortType: Enter whether to sort in ascending or descending order, for example, "ASC" or "DESC".