Skip to content

Migrate rooms.nameExists endpoint to new API format #39588

@CodeMatrix1

Description

@CodeMatrix1

Problem

The rooms.nameExists endpoint currently uses the deprecated API.v1.addRoute method.

Rocket.Chat is migrating REST endpoints to the new API format (API.v1.get, API.v1.post, etc.) which provides:

  • built-in AJV schema validation
  • automatic OpenAPI generation
  • improved type safety
  • consistent endpoint structure

Goal

Migrate the rooms.nameExists endpoint to the new API format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featurePull requests that introduces new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions