blue.moji.collection.saveToCollection

moji.blue

Documentation

Copy a single emoji from another repo. Requires auth.

main procedure

Copy a single emoji from another repo. Requires auth.

Input

Encodingapplication/json
name string Required

The source Bluemoji alias or rkey. Internationalised aliases are accepted and encoded per RFC 0005.

maxLength: 512 bytes
renameTo string Optional

The alias to save the Bluemoji to in the current logged-in user's repo.

source stringat-identifier Required

The handle or DID of the repo to copy from.

Output

Encodingapplication/json
uri stringat-uri Required

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

Errors

EmojiNotFound Indicates the named Bluemoji was not found in the source repo.
DestinationExists Indicates another Bluemoji with the same name already exists in the source repo. Set renameTo to rename.
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": [
        "source",
        "name"
      ],
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 512,
          "description": "The source Bluemoji alias or rkey. Internationalised aliases are accepted and encoded per RFC 0005."
        },
        "source": {
          "type": "string",
          "format": "at-identifier",
          "description": "The handle or DID of the repo to copy from."
        },
        "renameTo": {
          "type": "string",
          "description": "The alias to save the Bluemoji to in the current logged-in user's repo."
        }
      }
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "EmojiNotFound",
      "description": "Indicates the named Bluemoji was not found in the source repo."
    },
    {
      "name": "DestinationExists",
      "description": "Indicates another Bluemoji with the same name already exists in the source repo. Set renameTo to rename."
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "uri",
        "item"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "item": {
          "ref": "blue.moji.collection.item#itemView",
          "type": "ref"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Copy a single emoji from another repo. Requires auth."
}

Lexicon Garden

@