UserService · UserService_ListMemoViews
Access
Owner-only: the user named in the path must be the authenticated caller. Instance administrator status does not allow acting on another account here.
Reuse the stored filter
Read the filter string from the returned MemoView and pass it to ListMemos.filter. The resulting feed is evaluated with the caller's current permissions and current data; a saved view is not a snapshot.
Request
ListMemoViews returns a user's memo views. Each view is a named, reusable CEL filter (see MemoView.filter); pass its filter string directly to the ListMemos `filter` argument.
/api/v1/users/{user}/viewsParameters
| Name / location | Type / requirement | Description |
|---|---|---|
userpath | string Required | The user id. |
Request body
No request body is declared.
Responses
200 · OK
application/json · ListMemoViewsResponse
default · Default error response
application/json · Status
Complete operation definition
All declared constraints, media types and response details are retained below. Schema references link to their complete definitions.
Open JSON definition
{
"tags": [
"UserService"
],
"description": "ListMemoViews returns a user's memo views. Each view is a named, reusable\n CEL filter (see MemoView.filter); pass its filter string directly to the\n ListMemos `filter` argument.",
"operationId": "UserService_ListMemoViews",
"parameters": [
{
"name": "user",
"in": "path",
"description": "The user id.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ListMemoViewsResponse"
}
}
}
},
"default": {
"description": "Default error response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Status"
}
}
}
}
}
}