social.colibri.beta.emoji.updatePack
Renames a community's pack or replaces its emoji. Omitted fields stay as they are.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | emoji.beta.colibri.social |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe community that owns the emoji.
description
stringThe new description. An empty string clears it.
maxLength: 3000maxGraphemes: 300
emojis
arrayThe full new list of emoji URIs, in order.
maxLength: 500
name
stringThe new name.
minLength: 1maxLength: 64
The pack's record URI in the community's repo.
Output
application/jsonThe pack as stored.
Errors
AuthRequired
The request is missing, malformed, or unverifiable service auth.
Forbidden
The caller lacks the community.manage permission.
CommunityNotFound
No community exists at the given DID.
PackNotFound
No pack of this community exists at the given URI.
EmojiNotFound
No emoji of this community exists at the given URI.
UnsupportedProvider
The emoji provider is unknown, or it does not support the requested operation.
InvalidName
The pack name is empty or longer than 64 characters.
CredentialsUnavailable
The AppView cannot act as the community because its stored credentials are missing or unusable.
UpstreamFailure
A PDS call the AppView depends on failed.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Renames a community's custom emoji. Providers that key records by name move the record to a new key and repoint pack memberships, so the emoji's URI changes.
-
Creates a pack of a community's custom emoji.
-
Adds a custom emoji to a community. The bytes are uploaded to the community's own repo and the AppView writes the provider's record there with the community's credentials.
-
Deletes a community's pack. The emoji in it stay.
-
social.colibri.beta.community.update
procedureUpdates a community's settings. A field left absent stays unchanged.