lol.atmobin.paste

chris.pardy.family

Documentation

A paste: a snippet of text and/or attached images, pastebin style.

main record

A paste: a snippet of text and/or attached images, pastebin style.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

images array of ref #image Optional

Optional attached images.

maxLength: 4 items
language string Optional

Optional language hint for syntax highlighting.

maxLength: 64 bytes
text string Optional

The pasted text content.

maxLength: 100000 bytes
title string Optional

Optional title for the paste.

maxLength: 1280 bytesmaxGraphemes: 128 graphemes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "createdAt"
    ],
    "properties": {
      "text": {
        "type": "string",
        "maxLength": 100000,
        "description": "The pasted text content."
      },
      "title": {
        "type": "string",
        "maxLength": 1280,
        "description": "Optional title for the paste.",
        "maxGraphemes": 128
      },
      "images": {
        "type": "array",
        "items": {
          "ref": "#image",
          "type": "ref"
        },
        "maxLength": 4,
        "description": "Optional attached images."
      },
      "language": {
        "type": "string",
        "maxLength": 64,
        "description": "Optional language hint for syntax highlighting."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "A paste: a snippet of text and/or attached images, pastebin style."
}
image object

No description available.

Properties

alt string Optional

No description available.

maxLength: 2000 bytes
image blob Required

No description available.

maxSize: 1.0 MB
View raw schema
{
  "type": "object",
  "required": [
    "image"
  ],
  "properties": {
    "alt": {
      "type": "string",
      "maxLength": 2000
    },
    "image": {
      "type": "blob",
      "accept": [
        "image/*"
      ],
      "maxSize": 1000000
    }
  }
}

Lexicon Garden

@