blue.moji.collection.saveToCollection
Copy a single emoji from another repo. Requires auth.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | collection.moji.blue |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.renameToNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Copy a single emoji from another repo. Requires auth.",
"errors": [
{
"description": "Indicates the named Bluemoji was not found in the source repo.",
"name": "EmojiNotFound"
},
{
"description": "Indicates another Bluemoji with the same name already exists in the source repo. Set renameTo to rename.",
"name": "DestinationExists"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"name": {
"description": "The source Bluemoji alias or rkey. Internationalised aliases are accepted and encoded per RFC 0005.",
"maxLength": 512,
"type": "string"
},
"renameTo": {
"description": "The alias to save the Bluemoji to in the current logged-in user's repo.",
"type": "string"
},
"source": {
"description": "The handle or DID of the repo to copy from.",
"format": "at-identifier",
"type": "string"
}
},
"required": [
"source",
"name"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"item": {
"ref": "blue.moji.collection.item#itemView",
"type": "ref"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"item"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "blue.moji.collection.saveToCollection",
"lexicon": 1
}