Memos
Shortcut Service

List Shortcuts

ListShortcuts returns a user's saved shortcuts. Each shortcut is a named, reusable CEL filter (see Shortcut.filter); pass its filter string directly to the ListMemos `filter` argument to reuse a saved view.

GET
/api/v1/users/{user}/shortcuts

Path Parameters

user*string

The user id.

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/users/string/shortcuts"
{
  "shortcuts": [
    {
      "name": "string",
      "title": "string",
      "filter": "string"
    }
  ]
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}