Retrieve a source
Returns a source.
Path Parameters
source string required
Possible values: <= 1024 characters
The name of the source.
Responses
- 200
OK
application/json
Schema
Example (from schema)
Schema
type string
The type of the source.
name string
The name of the source.
createdAt date-time
An ISO-8601 timestamp representing the date/time the source was created.
updatedAt date-time
An ISO-8601 timestamp representing the date/time the source was updated.
connectionUrl URL
The URL to the location of the source.
description string
The description of the dataset.
{
"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/:source
Request
Request
curl / cURL
curl -L -X GET 'http://localhost:5000/api/v1/sources/:source' \
-H 'Accept: application/json'
python / requests
curl -L -X GET 'http://localhost:5000/api/v1/sources/:source' \
-H 'Accept: application/json'
go / native
curl -L -X GET 'http://localhost:5000/api/v1/sources/:source' \
-H 'Accept: application/json'
nodejs / axios
curl -L -X GET 'http://localhost:5000/api/v1/sources/:source' \
-H 'Accept: application/json'
ruby / Net::HTTP
curl -L -X GET 'http://localhost:5000/api/v1/sources/:source' \
-H 'Accept: application/json'
csharp / RestSharp
curl -L -X GET 'http://localhost:5000/api/v1/sources/:source' \
-H 'Accept: application/json'
php / cURL
curl -L -X GET 'http://localhost:5000/api/v1/sources/:source' \
-H 'Accept: application/json'
java / OkHttp
curl -L -X GET 'http://localhost:5000/api/v1/sources/:source' \
-H 'Accept: application/json'
powershell / RestMethod
curl -L -X GET 'http://localhost:5000/api/v1/sources/:source' \
-H 'Accept: application/json'