Queries

Get a list of Queries

Get a list of queries. Use fields parameter to get only necessary fields. Use cursor-based pagination to limit the number entries in the list using limit and before or after query params. When filtering by entityId, also provide entityType to enable proper authorization based on the parent entity's permissions.

get/v1/queries

Request

  • Base URL: https://demo.getcollate.io/api
  • URL: https://demo.getcollate.io/api/v1/queries
  • Auth: HTTP bearer

Query parameters

fieldsstring
Example:owners,followers,users,votes,tags,queryUsedIn

Fields requested in the returned resource

entityIdstring uuid

UUID of the entity for which to list the Queries

entityTypestring

Type of the entity specified by entityId (e.g., 'table', 'storedProcedure'). Required when entityId is provided for proper authorization.

servicestring

Filter Queries by service Fully Qualified Name

limitinteger

Limit the number queries returned. (1 to 1000000, default = 10)

beforestring

Returns list of queries before this cursor

afterstring

Returns list of queries after this cursor

Response

Get List of queries

warningsCountinteger

Changes

No recorded changes to this operation across all 1 revision of this API.