Update community profile. Requires authentication and moderator/admin permissions.
Input
application/jsonallowExternalDiscovery
boolean
Optional
Whether other Coves instances can index and discover this community
avatarBlob
string
Optional
Base64-encoded avatar image data (png, jpeg, or webp)
maxLength: 1400000 bytesavatarMimeType
string
Optional
MIME type of the avatar image (image/png, image/jpeg, image/webp)
maxLength: 128 bytesbannerBlob
string
Optional
Base64-encoded banner image data (png, jpeg, or webp)
maxLength: 2800000 bytesbannerMimeType
string
Optional
MIME type of the banner image (image/png, image/jpeg, image/webp)
maxLength: 128 bytescommunityDid
stringdid
Required
DID of the community to update
contentWarnings
array
Optional
Required content warnings for this community
maxLength: 10 itemsdescription
string
Optional
Community description
maxLength: 10000 bytesmaxGraphemes: 1000 graphemesdisplayName
string
Optional
Display name for the community
maxLength: 1280 bytesmaxGraphemes: 128 graphemesmoderationType
string
Optional
Type of moderation system
maxLength: 64 bytesvisibility
string
Optional
Community visibility level
maxLength: 64 bytesOutput
application/jsoncid
stringcid
Required
CID of the updated community profile
uri
stringat-uri
Required
AT-URI of the updated community profile
Errors
NotFound
Community not found NotAuthorized
User is not authorized to update this community Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"communityDid"
],
"properties": {
"avatarBlob": {
"type": "string",
"maxLength": 1400000,
"description": "Base64-encoded avatar image data (png, jpeg, or webp)"
},
"bannerBlob": {
"type": "string",
"maxLength": 2800000,
"description": "Base64-encoded banner image data (png, jpeg, or webp)"
},
"visibility": {
"type": "string",
"maxLength": 64,
"description": "Community visibility level",
"knownValues": [
"public",
"unlisted",
"private"
]
},
"description": {
"type": "string",
"maxLength": 10000,
"description": "Community description",
"maxGraphemes": 1000
},
"displayName": {
"type": "string",
"maxLength": 1280,
"description": "Display name for the community",
"maxGraphemes": 128
},
"communityDid": {
"type": "string",
"format": "did",
"description": "DID of the community to update"
},
"avatarMimeType": {
"type": "string",
"maxLength": 128,
"description": "MIME type of the avatar image (image/png, image/jpeg, image/webp)"
},
"bannerMimeType": {
"type": "string",
"maxLength": 128,
"description": "MIME type of the banner image (image/png, image/jpeg, image/webp)"
},
"moderationType": {
"type": "string",
"maxLength": 64,
"description": "Type of moderation system",
"knownValues": [
"moderator",
"sortition"
]
},
"contentWarnings": {
"type": "array",
"items": {
"type": "string",
"maxLength": 32,
"knownValues": [
"nsfw",
"violence",
"spoilers"
]
},
"maxLength": 10,
"description": "Required content warnings for this community"
},
"allowExternalDiscovery": {
"type": "boolean",
"description": "Whether other Coves instances can index and discover this community"
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "NotFound",
"description": "Community not found"
},
{
"name": "NotAuthorized",
"description": "User is not authorized to update this community"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"uri",
"cid"
],
"properties": {
"cid": {
"type": "string",
"format": "cid",
"description": "CID of the updated community profile"
},
"uri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the updated community profile"
}
}
},
"encoding": "application/json"
},
"description": "Update community profile. Requires authentication and moderator/admin permissions."
}