Skip to main content
POST
/
v1
/
worksheets:search
{
  "worksheets": [
    {
      "name": "<string>",
      "project": "<string>",
      "database": "<string>",
      "title": "<string>",
      "creator": "<string>",
      "createTime": "2023-11-07T05:31:56Z",
      "updateTime": "2023-11-07T05:31:56Z",
      "content": "<string>",
      "contentSize": "<string>",
      "visibility": "VISIBILITY_UNSPECIFIED",
      "starred": true
    }
  ]
}

Body

application/json
filter
string

To filter the search result. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec

Supported filter:

  • creator: the worksheet creator in "users/{email}" format, support "==" and "!=" operator.
  • starred: should be "true" or "false", filter starred/unstarred sheets, support "==" operator.
  • visibility: check Visibility enum in the Worksheet message for values, support "==" and "in [xx]" operator.

For example: creator == "users/{email}" creator != "users/{email}" starred == true starred == false visibility in ["PRIVATE", "PROJECT_READ", "PROJECT_WRITE"] visibility == "PRIVATE"

Response

OK

worksheets
object[]

The worksheets that matched the search criteria.