social.colibri.beta.community.putImage
Sets 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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | community.beta.colibri.social |
| Indexed |
Procedure
procedure · POSTParameters
query stringInput
image/*Output
application/jsonThe community with the new image resolved, so one call is enough to re-render.
Errors
AuthRequired
The request is missing, malformed, or unverifiable service auth.
Forbidden
The requesting user lacks the community.manage permission.
CommunityNotFound
No community exists with that DID.
UnsupportedImage
The bytes are not one of the accepted image types.
ImageTooLarge
The image exceeds the size limit for this kind.
CredentialsUnavailable
The AppView's stored credentials for this community are missing or unusable.
UpstreamFailure
A PDS or third-party 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.
-
Clears a community's picture or banner. Idempotent: clearing an image that was never set succeeds. The blob itself is left in the community's repo rather than deleted, so an older record revision still resolves.
-
social.colibri.beta.role.putBadgeImage
procedureSets a role's badge to an uploaded image. The bytes are uploaded to the community's own repo, which is why this goes through the AppView: a space record must reference a blob living in the repo that holds the record. Replaces whatever badge was there before. Use social.colibri.beta.role.update with removeBadge to clear it.
-
Updates a community's metadata and optionally its picture and banner.
-
social.coves.community.update
procedureUpdate community profile. Requires authentication and moderator/admin permissions.
-
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.