v52

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-037389158.9 KB
ShortcutService

CreateShortcut creates a new shortcut for a user.

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

Path parameters

userstring required

The user id.

Query parameters

validateOnlyboolean

Optional. If set, validate the request, but do not actually create the shortcut.

Request body

namestring

The resource name of the shortcut. Format: users/{user}/shortcuts/{shortcut}

titlestring required

The title of the shortcut.

filterstring

The CEL filter expression for the shortcut, using the same grammar as the ListMemos filter argument. Reuse it by passing this value to ListMemos.

Response

OK

namestring

The resource name of the shortcut. Format: users/{user}/shortcuts/{shortcut}

titlestring required

The title of the shortcut.

filterstring

The CEL filter expression for the shortcut, using the same grammar as the ListMemos filter argument. Reuse it by passing this value to ListMemos.