curl --request POST \
--url https://api.example.com/v1/worksheets:search \
--header 'Content-Type: application/json' \
--data '
{
"filter": "<string>"
}
'{
"worksheets": [
{
"name": "<string>",
"project": "<string>",
"title": "<string>",
"content": "<string>",
"visibility": "VISIBILITY_UNSPECIFIED",
"database": "<string>",
"creator": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"updateTime": "2023-11-07T05:31:56Z",
"contentSize": "<string>",
"starred": true,
"folders": [
"<string>"
]
}
]
}Search for worksheets. This is used for finding my worksheets or worksheets shared by other people. The sheet accessibility is the same as GetWorksheet(). Permissions required: bb.worksheets.get (or creator, or project member for shared worksheets)
curl --request POST \
--url https://api.example.com/v1/worksheets:search \
--header 'Content-Type: application/json' \
--data '
{
"filter": "<string>"
}
'{
"worksheets": [
{
"name": "<string>",
"project": "<string>",
"title": "<string>",
"content": "<string>",
"visibility": "VISIBILITY_UNSPECIFIED",
"database": "<string>",
"creator": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"updateTime": "2023-11-07T05:31:56Z",
"contentSize": "<string>",
"starred": true,
"folders": [
"<string>"
]
}
]
}To filter the search result. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec
Supported filter:
For example: creator == "users/{email}" creator != "users/{email}" starred == true starred == false visibility in ["PRIVATE", "PROJECT_READ", "PROJECT_WRITE"] visibility == "PRIVATE" project == "projects/{project resource id}"
OK
The worksheets that matched the search criteria.
Show child attributes
Was this page helpful?