LevelChatLevelChatDocs

Documentation

LevelChat Chat Service (HTTP surface)

LevelChat Chat Service (HTTP surface)

v0.2.0

Servers

  • {base}

Operations

  • get/healthz

    Liveness probe

    health
  • get/readyz

    Readiness probe (DB + Phoenix.PubSub)

    health
  • get/metrics

    Prometheus exposition (text/plain)

    health
  • get/v1/chat/rooms/{id}/messages

    List messages in a room (descending by created_at, cursor-paginated)

    messages
  • post/v1/chat/rooms/{id}/messages

    Send a message (also fans out over the room's Phoenix Channel)

    messages
  • patch/v1/chat/messages/{id}

    Edit a previously-sent message (author-only, soft-edit window)

    messages
  • delete/v1/chat/messages/{id}

    Soft-delete a previously-sent message

    messages
  • post/v1/chat/rooms/{id}/reactions

    Add or toggle an emoji reaction on a message

    messages
  • post/v1/chat/rooms/{id}/moderation/mute

    Mute a member in this room

    moderation
  • post/v1/chat/rooms/{id}/moderation/ban

    Ban a member from this room

    moderation
  • post/v1/chat/rooms/{id}/moderation/warn

    Issue a warning to a member in this room

    moderation
  • post/v1/chat/attachments/presign

    Presign an S3-compatible PUT URL for a chat attachment

    attachments
LevelChat Docs — One SDK. Any topology.