com.suibari.nagi.putDraft

suibari.com

Documentation

main procedure

No description available.

Input

Encodingapplication/json

Output

Encodingapplication/json

Errors

AuthRequired
InvalidRequest
DraftLimit
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "ref": "#draftInput",
      "type": "ref"
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "AuthRequired"
    },
    {
      "name": "InvalidRequest"
    },
    {
      "name": "DraftLimit"
    }
  ],
  "output": {
    "schema": {
      "ref": "#draftView",
      "type": "ref"
    },
    "encoding": "application/json"
  }
}
channel object

No description available.

Properties

end integer Required

No description available.

minimum: 0
name string Required

No description available.

maxLength: 300 bytes
start integer Required

No description available.

minimum: 0
uri string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

maxLength: 2048 bytes
View raw schema
{
  "type": "object",
  "required": [
    "start",
    "end",
    "uri",
    "name"
  ],
  "properties": {
    "end": {
      "type": "integer",
      "minimum": 0
    },
    "uri": {
      "type": "string",
      "format": "at-uri",
      "maxLength": 2048
    },
    "name": {
      "type": "string",
      "maxLength": 300
    },
    "start": {
      "type": "integer",
      "minimum": 0
    }
  }
}
draftContent object

No description available.

Properties

channels array of ref#channel Required

No description available.

maxLength: 100 items
dismissedUrls array of string Required

No description available.

maxLength: 100 items
emojis array of ref#emoji Required

No description available.

maxLength: 100 items
linkCards array of ref#linkCard Required

No description available.

maxLength: 4 items
mentions array of ref#mention Required

No description available.

maxLength: 100 items
quoteUri string at-uri Optional

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

maxLength: 2048 bytes
text string Required

No description available.

maxLength: 30000 bytesmaxGraphemes: 3000 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "text",
    "mentions",
    "channels",
    "emojis",
    "linkCards",
    "dismissedUrls"
  ],
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 30000,
      "maxGraphemes": 3000
    },
    "emojis": {
      "type": "array",
      "items": {
        "ref": "#emoji",
        "type": "ref"
      },
      "maxLength": 100
    },
    "channels": {
      "type": "array",
      "items": {
        "ref": "#channel",
        "type": "ref"
      },
      "maxLength": 100
    },
    "mentions": {
      "type": "array",
      "items": {
        "ref": "#mention",
        "type": "ref"
      },
      "maxLength": 100
    },
    "quoteUri": {
      "type": "string",
      "format": "at-uri",
      "maxLength": 2048
    },
    "linkCards": {
      "type": "array",
      "items": {
        "ref": "#linkCard",
        "type": "ref"
      },
      "maxLength": 4
    },
    "dismissedUrls": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 2048
      },
      "maxLength": 100
    }
  }
}
draftInput object

No description available.

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

id string Required

No description available.

maxLength: 36 bytes
updatedAt string datetime Required

An RFC 3339 formatted timestamp.

View raw schema
{
  "type": "object",
  "required": [
    "id",
    "content",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 36
    },
    "content": {
      "ref": "#draftContent",
      "type": "ref"
    },
    "createdAt": {
      "type": "string",
      "format": "datetime"
    },
    "updatedAt": {
      "type": "string",
      "format": "datetime"
    }
  }
}
draftView object

No description available.

Properties

channels array of ref#channel Required

No description available.

maxLength: 100 items
createdAt string datetime Required

An RFC 3339 formatted timestamp.

dismissedUrls array of string Required

No description available.

maxLength: 100 items
emojis array of ref#emoji Required

No description available.

maxLength: 100 items
id string Required

No description available.

maxLength: 36 bytes
linkCards array of ref#linkCard Required

No description available.

maxLength: 4 items
mentions array of ref#mention Required

No description available.

maxLength: 100 items
quoteUri string at-uri Optional

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

maxLength: 2048 bytes
text string Required

No description available.

maxLength: 30000 bytesmaxGraphemes: 3000 graphemes
updatedAt string datetime Required

An RFC 3339 formatted timestamp.

View raw schema
{
  "type": "object",
  "required": [
    "id",
    "text",
    "mentions",
    "channels",
    "emojis",
    "linkCards",
    "dismissedUrls",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 36
    },
    "text": {
      "type": "string",
      "maxLength": 30000,
      "maxGraphemes": 3000
    },
    "emojis": {
      "type": "array",
      "items": {
        "ref": "#emoji",
        "type": "ref"
      },
      "maxLength": 100
    },
    "channels": {
      "type": "array",
      "items": {
        "ref": "#channel",
        "type": "ref"
      },
      "maxLength": 100
    },
    "mentions": {
      "type": "array",
      "items": {
        "ref": "#mention",
        "type": "ref"
      },
      "maxLength": 100
    },
    "quoteUri": {
      "type": "string",
      "format": "at-uri",
      "maxLength": 2048
    },
    "createdAt": {
      "type": "string",
      "format": "datetime"
    },
    "linkCards": {
      "type": "array",
      "items": {
        "ref": "#linkCard",
        "type": "ref"
      },
      "maxLength": 4
    },
    "updatedAt": {
      "type": "string",
      "format": "datetime"
    },
    "dismissedUrls": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 2048
      },
      "maxLength": 100
    }
  }
}
emoji object

No description available.

Properties

end integer Required

No description available.

minimum: 0
start integer Required

No description available.

minimum: 0
uri string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

maxLength: 2048 bytes
View raw schema
{
  "type": "object",
  "required": [
    "start",
    "end",
    "uri"
  ],
  "properties": {
    "end": {
      "type": "integer",
      "minimum": 0
    },
    "uri": {
      "type": "string",
      "format": "at-uri",
      "maxLength": 2048
    },
    "start": {
      "type": "integer",
      "minimum": 0
    }
  }
}
linkCard object

No description available.

Properties

description string Optional

No description available.

maxLength: 30000 bytes
title string Required

No description available.

maxLength: 3000 bytes
uri string Required

No description available.

maxLength: 2048 bytes
View raw schema
{
  "type": "object",
  "required": [
    "uri",
    "title"
  ],
  "properties": {
    "uri": {
      "type": "string",
      "maxLength": 2048
    },
    "title": {
      "type": "string",
      "maxLength": 3000
    },
    "description": {
      "type": "string",
      "maxLength": 30000
    }
  }
}
mention object

No description available.

Properties

did string did Required

A decentralized identifier (DID).

end integer Required

No description available.

minimum: 0
handle string handle Required

An AT Protocol handle (e.g., alice.bsky.social).

start integer Required

No description available.

minimum: 0
View raw schema
{
  "type": "object",
  "required": [
    "start",
    "end",
    "did",
    "handle"
  ],
  "properties": {
    "did": {
      "type": "string",
      "format": "did"
    },
    "end": {
      "type": "integer",
      "minimum": 0
    },
    "start": {
      "type": "integer",
      "minimum": 0
    },
    "handle": {
      "type": "string",
      "format": "handle"
    }
  }
}

Lexicon Garden

@