curl --request POST \
--url https://dev.startree.ai/connections/browse \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"connection": {
"type": "<string>",
"params": {}
},
"path": "<string>"
}'
{
"items": [
{
"name": "<string>",
"type": "DIR"
}
]
}
Browse resources in a connection. Eg list directories/files in a s3 bucket, list tables in a database, list topics in a Kafka cluster etc.
curl --request POST \
--url https://dev.startree.ai/connections/browse \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"connection": {
"type": "<string>",
"params": {}
},
"path": "<string>"
}'
{
"items": [
{
"name": "<string>",
"type": "DIR"
}
]
}
The format of the key is "Basic <token>" or "Bearer <token>"
List of keys based on input locator
The response is of type object
.
Was this page helpful?