com.suibari.nagi.putDraft
Details · procedure
| Kind | procedure |
|---|---|
| Authority | nagi.suibari.com |
| Commit rev | 3n2g56lt3pi2d |
| Indexed |
Showing version bafyreifhgcxkkwnqpxwkoewzwhu4vkkzp4gv7hqu6qtlivu2xkesi6kx24. Show the latest
Checks
Validunlimited-stringdefs.draftContent.properties.articleTags.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.draftContent.properties.articleTitleNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.draftContent.properties.textNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.draftView.properties.articleTags.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.draftView.properties.articleTitleNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.draftView.properties.textNo maxLength, maxGraphemes or format limits this string.large-stringdefs.linkCard.properties.descriptionmaxLength is over 20 KB. Use a blob for content that large.missing-primary-descriptiondefs.mainThe procedure has no description.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"draftContent": {
"properties": {
"articleTags": {
"items": {
"type": "string"
},
"type": "array"
},
"articleTitle": {
"type": "string"
},
"dismissedUrls": {
"items": {
"maxLength": 2048,
"type": "string"
},
"maxLength": 100,
"type": "array"
},
"emojis": {
"items": {
"ref": "#emoji",
"type": "ref"
},
"maxLength": 100,
"type": "array"
},
"linkCards": {
"items": {
"ref": "#linkCard",
"type": "ref"
},
"maxLength": 4,
"type": "array"
},
"mentions": {
"items": {
"ref": "#mention",
"type": "ref"
},
"maxLength": 100,
"type": "array"
},
"quoteUri": {
"format": "at-uri",
"maxLength": 2048,
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"text",
"mentions",
"emojis",
"linkCards",
"dismissedUrls"
],
"type": "object"
},
"draftInput": {
"properties": {
"content": {
"ref": "#draftContent",
"type": "ref"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"id": {
"maxLength": 36,
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"id",
"content",
"createdAt",
"updatedAt"
],
"type": "object"
},
"draftView": {
"properties": {
"articleTags": {
"items": {
"type": "string"
},
"type": "array"
},
"articleTitle": {
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"dismissedUrls": {
"items": {
"maxLength": 2048,
"type": "string"
},
"maxLength": 100,
"type": "array"
},
"emojis": {
"items": {
"ref": "#emoji",
"type": "ref"
},
"maxLength": 100,
"type": "array"
},
"id": {
"maxLength": 36,
"type": "string"
},
"linkCards": {
"items": {
"ref": "#linkCard",
"type": "ref"
},
"maxLength": 4,
"type": "array"
},
"mentions": {
"items": {
"ref": "#mention",
"type": "ref"
},
"maxLength": 100,
"type": "array"
},
"quoteUri": {
"format": "at-uri",
"maxLength": 2048,
"type": "string"
},
"text": {
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"id",
"text",
"mentions",
"emojis",
"linkCards",
"dismissedUrls",
"createdAt",
"updatedAt"
],
"type": "object"
},
"emoji": {
"properties": {
"end": {
"minimum": 0,
"type": "integer"
},
"start": {
"minimum": 0,
"type": "integer"
},
"uri": {
"format": "at-uri",
"maxLength": 2048,
"type": "string"
}
},
"required": [
"start",
"end",
"uri"
],
"type": "object"
},
"linkCard": {
"properties": {
"description": {
"maxLength": 30000,
"type": "string"
},
"title": {
"maxLength": 3000,
"type": "string"
},
"uri": {
"maxLength": 2048,
"type": "string"
}
},
"required": [
"uri",
"title"
],
"type": "object"
},
"main": {
"errors": [
{
"name": "AuthRequired"
},
{
"name": "InvalidRequest"
},
{
"name": "DraftLimit"
}
],
"input": {
"encoding": "application/json",
"schema": {
"ref": "#draftInput",
"type": "ref"
}
},
"output": {
"encoding": "application/json",
"schema": {
"ref": "#draftView",
"type": "ref"
}
},
"type": "procedure"
},
"mention": {
"properties": {
"did": {
"format": "did",
"type": "string"
},
"end": {
"minimum": 0,
"type": "integer"
},
"handle": {
"format": "handle",
"type": "string"
},
"start": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"start",
"end",
"did",
"handle"
],
"type": "object"
}
},
"id": "com.suibari.nagi.putDraft",
"lexicon": 1
}