1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23:14 +02:00

relay/api: fix name of body field "buffer_name" in doc of POST /api/input

This commit is contained in:
Sébastien Helleu
2025-01-05 10:36:04 +01:00
parent 1ee6b6e635
commit b93a24d949
4 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -994,7 +994,7 @@ error:
* {
* "request": "POST /api/input",
* "body": {
* "buffer": "irc.libera.#weechat",
* "buffer_name": "irc.libera.#weechat",
* "command": "hello!"
* }
* }
@@ -1002,10 +1002,10 @@ error:
* It is converted to an HTTP request which could have been:
*
* POST /api/input HTTP/1.1
* Content-Length: 53
* Content-Length: 58
* Content-Type: application/json
*
* {"buffer": "irc.libera.#weechat","command": "hello!"}
* {"buffer_name": "irc.libera.#weechat","command": "hello!"}
*
* The JSON can also be an array of requests, for example to fetch all buffers
* data and synchronize at same time:
+1 -1
View File
@@ -991,7 +991,7 @@ components:
format: int64
description: Buffer identifier (≥ 0)
example: 1709932823238637
buffer:
buffer_name:
type: string
description: >-
Buffer full name