Memos
Shortcut Service

Create Shortcut

CreateShortcut creates a new shortcut for a user.

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

Path Parameters

user*string

The user id.

Query Parameters

validateOnly?boolean

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

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/users/string/shortcuts" \  -H "Content-Type: application/json" \  -d '{    "title": "string"  }'
{
  "name": "string",
  "title": "string",
  "filter": "string"
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}

On this page

No Headings