MemoService

POST /api/memos/{memo}/shares

Changed on

CreateMemoShare creates a share link for a memo. Requires the memo creator or an instance administrator. Only active memos without SPACE visibility can be shared.

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

memostring required

The memo id.

Request body

namestring

Identifier. The resource name of the share. The {share} segment is the opaque token used in the share URL. Format: memos/{memo}/shares/{share}

createTimestring date-time

Output only. The creation time.

expireTimestring date-time

Optional. The time after which the share link stops working. Must be in the future when set. If unset, the link never expires.

Response

OK

namestring

Identifier. The resource name of the share. The {share} segment is the opaque token used in the share URL. Format: memos/{memo}/shares/{share}

createTimestring date-time

Output only. The creation time.

expireTimestring date-time

Optional. The time after which the share link stops working. Must be in the future when set. If unset, the link never expires.

Changes