Query resources with CEL expression

Changed on

Returns paginated resources that match the provided CEL expression. Use the "resource" variable in your expression to access resource properties.

post/v1/workspaces/{workspaceId}/resources/query

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

workspaceIdstring required

ID of the workspace

Query parameters

limitinteger

Maximum number of items to return

offsetinteger

Number of items to skip

Request body

filterstring

CEL expression to filter resources. Defaults to "true" (all resources).

Response

Paginated list of items

limitinteger required

Maximum number of items returned

offsetinteger required

Number of items skipped

totalinteger required

Total number of items available

Changes

    • info

      added the optional property // to the response with the status

    • breaking

      removed from the request property oneOf list

    • breaking

      the request property type changed from no type to string