Named Sources API
Server-side aliases for SQL queries.
Endpoints
Creates a named source — an alias for a SQL query that you can reference from the Maps and SQL APIs without exposing the query itself.
An API Access Token or an OAuth Access Token, sent as
Authorization: Bearer <token>.
Lowercase alphanumerics, hyphens and underscores. Must start with a letter or digit, must not end with a hyphen or underscore, and must be 3 to 51 characters long.
^[a-z0-9][a-z0-9\-_]{2,50}(?<![-_])$The SQL query this name resolves to.
The named source was created.
The request is malformed or a parameter failed validation.
The token is missing, malformed or expired.
An API Access Token or an OAuth Access Token, sent as
Authorization: Bearer <token>.
Filter by name.
110createdAtPossible values: DESCPossible values: The named sources.
The request is malformed or a parameter failed validation.
The token is missing, malformed or expired.
An API Access Token or an OAuth Access Token, sent as
Authorization: Bearer <token>.
The name of the named source.
my_named_source_1The named source.
The token is missing, malformed or expired.
The named source doesn't exist.
Changes the query a named source points to. The name can't change.
An API Access Token or an OAuth Access Token, sent as
Authorization: Bearer <token>.
The name of the named source.
my_named_source_1The updated named source.
The request is malformed or a parameter failed validation.
The token is missing, malformed or expired.
The resource doesn't exist.
An API Access Token or an OAuth Access Token, sent as
Authorization: Bearer <token>.
The name of the named source.
my_named_source_1The named source was deleted.
No content
The token is missing, malformed or expired.
The resource doesn't exist.
No content
Last updated
Was this helpful?
