Skip to content

仕様 REST API

たけちゃ edited this page Jul 9, 2020 · 2 revisions

ルーム

一覧取得

GET /api/room

Response:

[
  {
    roomId: string,
    roomName: string,
    participants: int
  }
]

作成一覧取得

GET /api/room/accountId/{accountId}

Response:

[
  {
    roomId: string,
    roomName: string,
    participants: int
  }
]

作成

POST /api/room/accountId/{accountId}

Request Body:

{
  roomName: string
}

Response:

{
  roomId: string
}
Clone this wiki locally