cURL
curl --request GET \ --url https://cloud.cdata.com/api/schemas \ --header 'Authorization: Bearer <token>'
{ "results": [ { "affectedRows": 123, "schema": [ { "catalogName": "<string>", "columnLabel": "<string>", "columnName": "<string>", "dataType": 1, "dataTypeName": "<string>", "length": 123, "nullable": true, "ordinal": 123, "precision": 123, "scale": 123, "schemaName": "<string>", "tableName": "<string>" } ], "rows": [ [ "<unknown>" ] ] } ], "error": { "code": 0, "message": "<string>" } }
This operation returns a list of schemas for a given catalog.
JWT token authentication. Include the token in the Authorization header as 'Bearer '.
Restricts results to the specified catalog.
Restricts results to the specified schema.
OK
Show child attributes
Was this page helpful?