social.colibri.beta.bridge.replaceAvatar
Swaps the avatar on every message and thread attributed to one remote author of this registration, so the previous avatar blob is no longer referenced.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | bridge.beta.colibri.social |
| Indexed |
Procedure
procedure · POSTInput
application/jsonavatar
blobThe new avatar, uploaded with uploadBlob. Leave it out to remove the avatar.
maxSize: 1000000accept: image/png, image/jpeg, image/gif, image/webp
The community the registration belongs to.
Record key of the registration.
The author's id on the other service, as attributed on their records.
maxLength: 256
Output
application/jsonHow many records now carry the new avatar.
minimum: 0
Errors
AuthRequired
The request is missing, malformed, or unverifiable service auth.
CommunityNotFound
No community exists at the given DID.
RegistrationNotFound
The community has no bridge registration with that id.
Forbidden
The caller is not the bridge this registration belongs to.
CredentialsUnavailable
The AppView cannot act as the community because its stored credentials are missing or unusable.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
social.colibri.beta.bridge.uploadBlob
procedureUploads a file to the community's repo for use in a bridged message or as a bridged author's avatar.
-
social.colibri.beta.community.putImage
procedureSets a community's picture or banner. The bytes are uploaded to the community's own repo, which is why this goes through the AppView: a community's blobs can only be written with the community credentials the AppView holds, and a space record must reference a blob living in the repo that holds the record. Replaces whatever was there before.
-
social.colibri.beta.bridge.editMessage
procedureReplaces the text of a message the calling bridge posted.
-
social.coves.community.update
procedureUpdate community profile. Requires authentication and moderator/admin permissions.
-
social.colibri.beta.bridge.update
procedureChanges which channels a bridge relays, or pauses and resumes it. Omitted fields stay as they are.