social.showcase.collection.createCollection

lexicons.showcase.social

Documentation

Create a new collection. Requires authentication.

main procedure

Create a new collection. Requires authentication.

Input

Encodingapplication/json
coverImage blob Optional

No description available.

description string Optional

No description available.

maxLength: 1000 bytes
items array Optional

No description available.

maxLength: 500 items
name string Required

No description available.

maxLength: 200 bytes
tags array Required

No description available.

maxLength: 10 items
type string Required

No description available.

maxLength: 20 bytes
visibility string Required

No description available.

maxLength: 10 bytes

Output

Encodingapplication/json
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": {
      "type": "object",
      "required": [
        "name",
        "tags",
        "type",
        "visibility"
      ],
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 200
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 64
          },
          "maxLength": 10
        },
        "type": {
          "type": "string",
          "maxLength": 20,
          "knownValues": [
            "custom",
            "bookmark"
          ]
        },
        "items": {
          "type": "array",
          "items": {
            "ref": "social.showcase.defs#collectionItem",
            "type": "ref"
          },
          "maxLength": 500
        },
        "coverImage": {
          "type": "blob"
        },
        "visibility": {
          "type": "string",
          "maxLength": 10,
          "knownValues": [
            "public",
            "private"
          ]
        },
        "description": {
          "type": "string",
          "maxLength": 1000
        }
      }
    },
    "encoding": "application/json"
  },
  "output": {
    "schema": {
      "ref": "social.showcase.defs#collectionView",
      "type": "ref"
    },
    "encoding": "application/json"
  },
  "description": "Create a new collection. Requires authentication."
}

Lexicon Garden

@