u
This commit is contained in:
@@ -690,10 +690,10 @@ _none_
|
||||
#### Enable all categories on terminal — `PUT /posterminal/{id}/all`
|
||||
- Params: `id: int`
|
||||
- Returns: `200 { id: int, categoryIds: int[] }`
|
||||
#### Disable category on terminal — `DELETE /posterminal/{id}/category/{categoryId}`
|
||||
#### Disable category and subcategories on terminal — `DELETE /posterminal/{id}/category/{categoryId}`
|
||||
- Params: `id: int, categoryId: int`
|
||||
- Returns: `200 { id: int, categoryIds: int[] }`
|
||||
#### Enable category on terminal — `PUT /posterminal/{id}/category/{categoryId}`
|
||||
#### Enable category and subcategories on terminal — `PUT /posterminal/{id}/category/{categoryId}`
|
||||
- Params: `id: int, categoryId: int`
|
||||
- Returns: `200 { id: int, categoryIds: int[] }`
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
Protected. Requires a valid session cookie (`credentials: 'include'`).
|
||||
|
||||
Disable category on terminal
|
||||
Disable category and subcategories on terminal
|
||||
|
||||
Removes a single category's visibility on a terminal (idempotent).
|
||||
Removes a category and all its descendant subcategories from a terminal (idempotent).
|
||||
|
||||
## Path parameters
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
Protected. Requires a valid session cookie (`credentials: 'include'`).
|
||||
|
||||
Enable category on terminal
|
||||
Enable category and subcategories on terminal
|
||||
|
||||
Toggles a single category's visibility on a terminal (idempotent).
|
||||
Enables a category and all its descendant subcategories on a terminal (idempotent).
|
||||
|
||||
## Path parameters
|
||||
|
||||
|
||||
@@ -402,8 +402,8 @@ export function register(app, basePath = '') {
|
||||
* /posterminal/{id}/category/{categoryId}:
|
||||
* put:
|
||||
* tags: [Posterminal]
|
||||
* summary: Enable category on terminal
|
||||
* description: Toggles a single category's visibility on a terminal (idempotent).
|
||||
* summary: Enable category and subcategories on terminal
|
||||
* description: Enables a category and all its descendant subcategories on a terminal (idempotent).
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* x-markdown: posterminal/setOn.md
|
||||
@@ -458,8 +458,8 @@ export function register(app, basePath = '') {
|
||||
* $ref: '#/components/schemas/Error'
|
||||
* delete:
|
||||
* tags: [Posterminal]
|
||||
* summary: Disable category on terminal
|
||||
* description: Removes a single category's visibility on a terminal (idempotent).
|
||||
* summary: Disable category and subcategories on terminal
|
||||
* description: Removes a category and all its descendant subcategories from a terminal (idempotent).
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* x-markdown: posterminal/setOff.md
|
||||
|
||||
Reference in New Issue
Block a user