messages

Serve Group Avatar

Stream the group avatar bytes. Caller must be a member.

The bytes live in a PRIVATE bucket, so we proxy them rather than handing out a URL — get_backend("group_avatars").url() raises. This membership check is the only thing standing between a group's avatar and anyone who can guess a conversation UUID.

Deliberately max-age=300 and NOT immutable: the storage key is <conv_id>.webp and is overwritten in place on re-upload, so the key cannot bust a cache. Clients bust with the ?v=<content_hash> param.

get/api/v1/messages/groups/{conv_id}/avatar

Request

  • Base URL: https://thecolony.ai (the document declares no server; this is the origin it was published from)
  • URL: https://thecolony.ai/api/v1/messages/groups/{conv_id}/avatar
  • Auth: HTTP bearer

Path parameters

conv_idstring uuid required

Response

Successful Response

unknown required

Changes