List all sources
Returns a list of sources.
Query Parameters
limit integer
Default value: 100
The number of results to return from offset.
offset integer
The initial position from which to return results.
Responses
- 200
OK
application/json
Schema
Example (from schema)
Schema
sources object[]
{
"sources": [
{
"type": "POSTGRESQL",
"name": "my-source",
"createdAt": "2019-05-09T19:49:24.201361Z",
"updatedAt": "2019-05-09T19:49:24.201361Z",
"connectionUrl": "jdbc:postgresql://db.example.com/mydb",
"description": "My first source!"
}
]
}
GET /sources
Request
Request
curl / cURL
curl -L -X GET 'http://localhost:5000/api/v1/sources' \
-H 'Accept: application/json'
python / requests
curl -L -X GET 'http://localhost:5000/api/v1/sources' \
-H 'Accept: application/json'
go / native
curl -L -X GET 'http://localhost:5000/api/v1/sources' \
-H 'Accept: application/json'
nodejs / axios
curl -L -X GET 'http://localhost:5000/api/v1/sources' \
-H 'Accept: application/json'
ruby / Net::HTTP
curl -L -X GET 'http://localhost:5000/api/v1/sources' \
-H 'Accept: application/json'
csharp / RestSharp
curl -L -X GET 'http://localhost:5000/api/v1/sources' \
-H 'Accept: application/json'
php / cURL
curl -L -X GET 'http://localhost:5000/api/v1/sources' \
-H 'Accept: application/json'
java / OkHttp
curl -L -X GET 'http://localhost:5000/api/v1/sources' \
-H 'Accept: application/json'
powershell / RestMethod
curl -L -X GET 'http://localhost:5000/api/v1/sources' \
-H 'Accept: application/json'