Retrieve the schema of a table.
This command downloads the schema of a specific table within a specified namespace in JSON format.
dap [arguments] list [flags]
--base-url <string> URL to the DAP API endpoint. Use https://api-gateway.instructure.com.
--base-url <string>
https://api-gateway.instructure.com
--client-id <string> Client ID obtained from the Identity Service. Skip, if DAP_CLIENT_ID environment variable is set.
--client-id <string>
DAP_CLIENT_ID
--client-secret <string> Client Secret obtained from the Identity Service. Skip, if DAP_CLIENT_SECRET environment variable is set.
--client-secret <string>
DAP_CLIENT_SECRET
--namespace <string> Specifies the data source (namespace). Available options: {canvas, canvas_log, catalog}.
--namespace <string>
--table <string> Specifies the table fetch data from.
--table <string>
--output-directory <string> (default: downloads) Specifies the absolute or relative path to the output directory where the snapshot will be stored.
--output-directory <string> (default: downloads)
-h, --help Displays help information for the command.
-h, --help
Get schema of courses tables from the canvas namespace $ dap schema --namespace canvas --table courses
courses
canvas
$ dap schema --namespace canvas --table courses
Key Concepts
Get familiar with the concepts in DAP.
Rate Limits & Policies
Learn more about the limits and our policies.
Datasets
Discover namespaces and available tables
Last updated 1 year ago