Get a collection of tables

get/dataSources/{dataTableProviderId}/tables
Internal-Use Only

Returns a collection of tables as application/vnd.sas.data.table or application/vnd.sas.data.table.summary. Supports both loaded and unloaded tables.

Request Samples

1

Response Samples

1No example avaliable

Path Parameters

NameTypeRequiredDescription
dataTableProviderId
string
true

See Data Tables API documentation for details about dataTableProviderId. A sample value is cas~fs~serverName~fs~caslibName.

Query Parameters

NameTypeRequiredDescription
loaded
boolean
false

Determines whether loaded tables are included in the results. Defaults to true. Note that a value of false does not imply that source tables should be included, only that loaded tables should be excluded.

scope
string
false

When loaded tables are included, determines which loaded tables are returned. Valid values include: - all Includes tables in both session scope and global scope - global Includes tables only in a global scope Defaults to all.

sources
boolean
false

Determines whether source tables are included in the results. Defaults to true. Note that a value of false does not imply that loaded tables should be included, only that source tables should be excluded.

limit
integer
false

Maximum number of items to return in this page of results. The actual number of returned items can be less if the collection has been exhausted. Defaults to 10.

start
integer
false

The starting index of the first item in a page. Defaults to 0.

Header Parameters

NameTypeRequiredDescription
Accept-Item
string
false

The desired representation. The Accept-Item options are: application/vnd.sas.data.table+json application/vnd.sas.data.table.summary+json blank If the Accept-Item header is not provided, then the application/vnd.sas.data.source+json representation will be returned.

Allowed values:
application/vnd.sas.data.table.summary+jsonapplication/vnd.sas.data.table+json

Responses

StatusMeaningDescription
200OKThe request succeeded. The list of tables was returned.
400Bad RequestThe request was invalid.Schema
404Not FoundThe requested CAS server or Caslib does not exist.
409ConflictThe request could not be completed due to a conflict with the current state of the resource. Details are included in the response body.