> For the complete documentation index, see [llms.txt](https://minseokgos-organization.gitbook.io/api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minseokgos-organization.gitbook.io/api/reference/api/chat.md).

# Chat

채팅 도메인 API 명세

## 채팅방 생성

## 채팅방 생성

<mark style="color:green;">`POST`</mark> `http://localhost:8080/chats/create`

공유 게시물을 작성하면 채팅방이 생성됩니다.

## 채팅방 목록 조회

## 채팅방 목록 조회

<mark style="color:blue;">`GET`</mark> `http://localhost:8080/chats`

## 채팅방 조회

## 채팅방 조회

<mark style="color:blue;">`GET`</mark> `http://localhost:8080/chats/{id}`

## 채팅방 삭제

## 채팅방 삭제

<mark style="color:red;">`DELETE`</mark> `http://localhost:8080/chats/{id}/delete`

공유가 종료되거나, 글 작성자가 게시물을 삭제한 경우, 글 작성자가 채팅방을 직접 삭제한 경우 채팅방이 삭제 됩니다.
