Metadata Catalogs

Version 22.0.8486


Metadata Catalogs

Version 22.0.8486


This operation returns information about available catalogs.

Request Format

GET /rest.rsc/catalogs

Response Format

This operation returns the following columns in the standard JSON result object.

Column Data Type Description
TABLE_CATALOG String The catalog name.

Example

Request

GET https://myconnectserver/rest.rsc/catalogs

Response

{
    "results": [
        {
            "affectedRows": -1,
            "schema": [
                {
                    "catalogName": "CData",
                    "columnLabel": "TABLE_CATALOG",
                    "columnName": "TABLE_CATALOG",
                    "dataType": 5,
                    "dataTypeName": "VARCHAR",
                    "length": 255,
                    "nullable": true,
                    "ordinal": 0,
                    "precision": 255,
                    "scale": 0,
                    "schemaName": "QueryFederation",
                    "tableName": "sys_catalogs"
                }
            ],
            "rows": [
                [
                    "Salesforce1"
                ]
            ]
        }
    ]
}