Files
NodeBB/public/openapi/read/chats/roomid.yaml
Barış Soner Uşaklı 4c4f3ac983 feat: add direct message link (#12138)
* feat: add direct message link

/message/:mid
add /:index? to chat routes
add copy link to chat messages
add messageCount to each room object
add infinitescroll in both directions to chat

* fix more tests

* test: more text fixes

* test: fix tests

* remove async

* dont crash if element not in dom

clamp scrollToIndex values to 0, msgCount
2023-10-31 10:15:06 -04:00

26 lines
577 B
YAML

get:
tags:
- shorthand
summary: Access a chat room
description: Redirects a request to the proper chat page URL
parameters:
- name: roomid
in: path
required: true
schema:
type: string
example: 1
- name: index
in: path
required: true
schema:
type: string
example: 1
responses:
"200":
description: "Chat identifier resolved"
content:
text/plain:
schema:
type: string
description: A relative path to the canonical URL for that chat page