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 itemslanguage
string
Optional
Optional language hint for syntax highlighting.
maxLength: 64 bytestext
string
Optional
The pasted text content.
maxLength: 100000 bytestitle
string
Optional
Optional title for the paste.
maxLength: 1280 bytesmaxGraphemes: 128 graphemesView 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."
}