REST API: Data Sources

The Data Sources service displays one or all data source definitions that are contained within the datasources.yml file.
HTTP Method and URI Path
The URI path has the following format:
GET <
base URL
>/datasources/<
datasource
>
Where:
  • <base URL>
    Specifies the base URL address for the CA IDMS REST API operations
  • <datasource>
    (optional) Identifies the name of a single data source to be reported on
Example:
Display all data sources
Direct URL:
https://zoshost.domain.com:10010/api/v1/datasources
Zowe API gateway URL:
https://zoshost.domain.com:10010/api/v1/caidms/datasources
In the URL, spaces must be encoded as
%20
or
+
.
Response:
{ "datasourceName": "SYSDEMO", "description": "Canonical data source for Swagger", "databaseName": "APPLDICT" }, { "datasourceName": "SYSOD108", "description": "Dedicated IDMS API test system", "databaseName": "APPLDICT" }, { "datasourceName": "SYSQA10", "description": "General QA test system", "databaseName": "APPLDICT" }