Skip to content

List datasource catalog policies

GET
/v1/admin/datasources/catalog-policies
curl --request GET \
--url https://localhost:8080/v1/admin/datasources/catalog-policies \
--header 'Authorization: <Authorization>'

Returns datasource scan policy metadata for admin management

page
integer

Page number

limit
integer

Page size

sort
string

Sort field

OK

Media typeapplication/json
object
data
object
datasources
Array<object>
object
created_at
string
id
string
metadata
name
string
scan_policy
string
type
string
limit
integer
offset
integer
total
integer
success
boolean

Example generated

{
"data": {
"datasources": [
{
"created_at": "example",
"id": "example",
"metadata": "example",
"name": "example",
"scan_policy": "example",
"type": "example"
}
],
"limit": 1,
"offset": 1,
"total": 1
},
"success": true
}

Unauthorized

Media typeapplication/json
object
error
string
message
string
success
boolean

Example

{
"error": "",
"message": "Success",
"success": true
}

Forbidden

Media typeapplication/json
object
error
string
message
string
success
boolean

Example

{
"error": "",
"message": "Success",
"success": true
}

Internal Server Error

Media typeapplication/json
object
error
string
message
string
success
boolean

Example

{
"error": "",
"message": "Success",
"success": true
}