moe.karashiiro.kpaste.paste

karashiiro.moe

Documentation

main record

No description available.

Record Key tid Timestamp-based ID

Properties

content blob Required

Blob reference to the paste content

maxSize: 10.0 MB
createdAt string datetime Required

When the paste was created

language string Optional

Programming language for syntax highlighting

maxLength: 50 bytes
Default: text
title string Optional

Optional title for the paste

maxLength: 200 bytes
updatedAt string datetime Optional

When the paste was last modified (optional, defaults to createdAt)

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "content",
      "createdAt"
    ],
    "properties": {
      "title": {
        "type": "string",
        "maxLength": 200,
        "description": "Optional title for the paste"
      },
      "content": {
        "type": "blob",
        "accept": [
          "text/plain",
          "text/*"
        ],
        "maxSize": 10000000,
        "description": "Blob reference to the paste content"
      },
      "language": {
        "type": "string",
        "default": "text",
        "maxLength": 50,
        "description": "Programming language for syntax highlighting"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "When the paste was created"
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime",
        "description": "When the paste was last modified (optional, defaults to createdAt)"
      }
    },
    "description": "A code/text paste"
  }
}

Lexicon Garden

@