DocumentationAPI reference

Rust · 0.1.0

MemoShare

Application protocol schema. Field names and inherited descriptions are kept in their original language.

Where this schema is used

These links are derived from direct references in the protocol snapshot. Follow the calling operation for authentication, accepted fields and runtime behavior; a reusable resource schema is not by itself a complete write request.

Referenced by these component schemas:

Shape and fields

object

MemoShare is an access grant that permits read-only access to a memo via an opaque bearer token.

FieldType / requirementDescription
namestringThe resource name of the share. Format: memos/{memo}/shares/{share} The {share} segment is the opaque token used in the share URL.
createTimestring (date-time)Output only. When this share link was created.
expireTimestring (date-time)Optional. When set, the share link stops working after this time. If unset, the link never expires.

Complete schema

Use this complete JSON definition for constraints and nested structure. A field's presence here does not mean it is writable by every caller.

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The resource name of the share. Format: memos/{memo}/shares/{share}\n The {share} segment is the opaque token used in the share URL."
    },
    "createTime": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. When this share link was created.",
      "format": "date-time"
    },
    "expireTime": {
      "type": "string",
      "description": "Optional. When set, the share link stops working after this time.\n If unset, the link never expires.",
      "format": "date-time"
    }
  },
  "description": "MemoShare is an access grant that permits read-only access to a memo via an opaque bearer token."
}