Skip to content

🐛 GET /room/list endpoint returns 404 #502

Closed

Description

@ajianaz

Issue 4: GET /room/list endpoint returns 404

Problem

The CLI reference documents GET /room/list?namespace=xxx as a valid endpoint, but it returns 404. POST to /room/list also returns 404.

Reproduction

uteke-serve --port 8767 &
curl -s http://127.0.0.1:8767/room/list?namespace=default
# 404
curl -s -X POST http://127.0.0.1:8767/room/list -H "Content-Type: application/json" -d '{"namespace":"default"}'
# 404

Expected

Either the endpoint should work, or the CLI reference should be updated to reflect the actual API.

Severity

Low — workaround available via CLI uteke room list.

Activity

  1. added
    bug
    scope:core
    on Jun 30, 2026
  2. ajianaz commented on Jun 30, 2026

    @ajianaz
    CollaboratorAuthor

    Update: route analysis

    Checked crates/uteke-server/src/main.rs route function. Room list endpoint is NOT registered as a GET route. Only room endpoints in the match:

    • POST /room/create
    • POST /room/recall
    • POST /room/summary
    • POST /room/document
    • POST /room/stats
    • DELETE /room/delete

    The CLI reference docs GET /room/list?namespace= but this endpoint was never implemented as GET. The uteke room list CLI command calls uteke-core directly, not via HTTP. Need to add GET /room/list route or fix the docs.

  3. ajianaz commented on Jun 30, 2026

    @ajianaz
    CollaboratorAuthor

    False positive — GET /room/list endpoint already exists at line 1078 of crates/uteke-server/src/main.rs. It was implemented as part of v0.2.1 room operations (#395). The 404 in testing was likely due to URL path matching (query string included in path comparison). Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugscope:core

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions