fyi.opensocial.listDrafts

lexicons.opensocial.fyi

Documentation

The drafts your assistant left for you in the group's tabs, waiting for you to add or let go: each with the space it goes in, added as you, or for its tab's page to make into what it keeps (page).

main query

The drafts your assistant left for you in the group's tabs, waiting for you to add or let go: each with the space it goes in, added as you, or for its tab's page to make into what it keeps (page).

Parameters

group string did Required

A decentralized identifier (DID).

Output

Encodingapplication/json
drafts array Required

No description available.

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://api.bsky.social)
Parameters
A decentralized identifier (DID).
View raw schema
{
  "description": "The drafts your assistant left for you in the group's tabs, waiting for you to add or let go: each with the space it goes in, added as you, or for its tab's page to make into what it keeps (page).",
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "drafts": {
          "items": {
            "ref": "#draftView",
            "type": "ref"
          },
          "type": "array"
        }
      },
      "required": [
        "drafts"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "group": {
        "format": "did",
        "type": "string"
      }
    },
    "required": [
      "group"
    ],
    "type": "params"
  },
  "type": "query"
}
draftFile object

No description available.

Properties

alt string Optional

What it shows, in words.

n integer Required

Its number, from 1.

minimum: 1
size integer Required

How big it is, in bytes.

type string Required

Its MIME type.

View raw schema
{
  "properties": {
    "alt": {
      "description": "What it shows, in words.",
      "type": "string"
    },
    "n": {
      "description": "Its number, from 1.",
      "minimum": 1,
      "type": "integer"
    },
    "size": {
      "description": "How big it is, in bytes.",
      "type": "integer"
    },
    "type": {
      "description": "Its MIME type.",
      "type": "string"
    }
  },
  "required": [
    "n",
    "type",
    "size"
  ],
  "type": "object"
}
draftView object

No description available.

Properties

asGroup boolean Optional

Added as the group, by whoever adds it and may.

by string Optional

The AI app that left it, by the name it gave.

collection string nsid Required

A namespaced identifier (e.g., app.bsky.feed.post).

createdAt string datetime Required

An RFC 3339 formatted timestamp.

files array of ref#draftFile Optional

The files it brings, in order: each read with getDraftFile, by its number.

id string Required

No description available.

page boolean Optional

Its tab's page makes it into what it keeps.

record unknown Required

No description available.

remove boolean Optional

It removes that one, rather than changing it.

replaces string Optional

The one it changes, or removes: the record's address, or, for its tab's page to change, as the page names one.

space string Optional

The space it goes in, added.

tab string Required

Its tab's namespace.

title string Required

No description available.

was string Optional

What the one it changes or removes is called.

View raw schema
{
  "properties": {
    "asGroup": {
      "description": "Added as the group, by whoever adds it and may.",
      "type": "boolean"
    },
    "by": {
      "description": "The AI app that left it, by the name it gave.",
      "type": "string"
    },
    "collection": {
      "format": "nsid",
      "type": "string"
    },
    "createdAt": {
      "format": "datetime",
      "type": "string"
    },
    "files": {
      "description": "The files it brings, in order: each read with getDraftFile, by its number.",
      "items": {
        "ref": "#draftFile",
        "type": "ref"
      },
      "type": "array"
    },
    "id": {
      "type": "string"
    },
    "page": {
      "description": "Its tab's page makes it into what it keeps.",
      "type": "boolean"
    },
    "record": {
      "type": "unknown"
    },
    "remove": {
      "description": "It removes that one, rather than changing it.",
      "type": "boolean"
    },
    "replaces": {
      "description": "The one it changes, or removes: the record's address, or, for its tab's page to change, as the page names one.",
      "type": "string"
    },
    "space": {
      "description": "The space it goes in, added.",
      "type": "string"
    },
    "tab": {
      "description": "Its tab's namespace.",
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "was": {
      "description": "What the one it changes or removes is called.",
      "type": "string"
    }
  },
  "required": [
    "id",
    "tab",
    "collection",
    "title",
    "record",
    "createdAt"
  ],
  "type": "object"
}

Lexicon Garden

@