Get a Data Source
GET/v1/data-sources/:dataSourceId
Get a Data Source
Request
Path Parameters
dataSourceId stringrequired
The Data Source identifier to get.
Responses
- 200
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
dataSource
object
required
A Data Source.
dataSourceId stringrequired
The Data Source identifier.
name stringrequired
The name of the Data Source.
url stringrequired
The URL of the Data Source.
{
"dataSource": {
"dataSourceId": "string",
"name": "string",
"url": "string"
}
}
Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
code int32
An error status code describing the response.
| Enum Value | Description |
|---|---|
| 0 | OK |
| 1 | Cancelled |
| 2 | Unknown |
| 3 | InvalidArgument |
| 4 | DeadlineExceeded |
| 5 | NotFound |
| 6 | AlreadyExists |
| 7 | PermissionDenied |
| 8 | ResourceExhausted |
| 9 | FailedPrecondition |
| 10 | Aborted |
| 11 | OutOfRange |
| 12 | Unimplemented |
| 13 | Internal |
| 14 | Unavailable |
| 15 | DataLoss |
| 16 | Unauthenticated |
Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]
message string
A developer-facing error message
details
object[]
A list of messages containing details about the errors
@type stringrequired
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...