125 lines
6.2 KiB
Markdown
125 lines
6.2 KiB
Markdown
---
|
|
id: plugin.quotes
|
|
title: Quotes
|
|
scope: plugins
|
|
status: active
|
|
priority: 10
|
|
visibility: user
|
|
category: Plugin
|
|
tags: plugin, quotes
|
|
generated: true
|
|
editable: false
|
|
updated_at: "2026-06-25T12:06:11.231Z"
|
|
---
|
|
# Quotes
|
|
Store, search, and manage community quotes.
|
|
## Metadata
|
|
Plugin ID: quotes
|
|
Version: 0.1.1
|
|
Default state: enabled
|
|
## Web Routes
|
|
- /plugins/quotes
|
|
- GET /plugins/quotes
|
|
- POST /plugins/quotes/quotes/create
|
|
- POST /plugins/quotes/quotes/:id/update
|
|
- POST /plugins/quotes/quotes/:id/hide
|
|
- POST /plugins/quotes/quotes/:id/unhide
|
|
- POST /plugins/quotes/quotes/:id/archive
|
|
- POST /plugins/quotes/quotes/:id/restore
|
|
- GET /plugins/quotes/api/quotes
|
|
- GET /plugins/quotes/api/quotes/:id
|
|
## Route Reference
|
|
### MOUNT /plugins/quotes
|
|
|
|
- Purpose: Mounts the plugin router at this base WebUI path.
|
|
- Inputs: No request parameters detected by static analysis.
|
|
- Response format: Plugin router mount point.
|
|
- Access: Access is controlled by the mount options and individual plugin routes.
|
|
- Side effects: No direct route action; child routes handle requests.
|
|
- Limits/notes: Mount metadata is inferred from static source scanning.
|
|
|
|
### GET /plugins/quotes
|
|
|
|
- Purpose: Renders or serves the quotes plugin page.
|
|
- Inputs: query: `edit`
|
|
- Response format: HTML page rendered from an EJS view
|
|
- Access: admin access expected; moderator access may be required; logged-in session required or used
|
|
- Side effects: Usually read-only.
|
|
- Limits/notes: Generated from static route source analysis; confirm exact behavior in the handler before changing integrations.
|
|
|
|
### POST /plugins/quotes/quotes/create
|
|
|
|
- Purpose: Processes the quotes plugin action for quotes create.
|
|
- Inputs: body: `archived`, `game_name`, `hidden`, `quote_datetime`, `quote_text`, `quoter`
|
|
- Response format: HTTP redirect after handling the request
|
|
- Access: admin access expected; moderator access may be required; logged-in session required or used
|
|
- Side effects: Consumes submitted data; state mutation happens in called helpers if present.
|
|
- Limits/notes: Generated from static route source analysis; confirm exact behavior in the handler before changing integrations. Most non-API POST routes are browser form submissions and usually redirect after completion.
|
|
|
|
### POST /plugins/quotes/quotes/:id/update
|
|
|
|
- Purpose: Processes the quotes plugin action for quotes id update.
|
|
- Inputs: path params: `id`; body: `archived`, `game_name`, `hidden`, `quote_datetime`, `quote_text`, `quoter`
|
|
- Response format: HTTP redirect after handling the request
|
|
- Access: admin access expected; moderator access may be required; logged-in session required or used
|
|
- Side effects: writes or mutates server-side state
|
|
- Limits/notes: Generated from static route source analysis; confirm exact behavior in the handler before changing integrations. Most non-API POST routes are browser form submissions and usually redirect after completion.
|
|
|
|
### POST /plugins/quotes/quotes/:id/hide
|
|
|
|
- Purpose: Processes the quotes plugin action for quotes id hide.
|
|
- Inputs: path params: `id`
|
|
- Response format: HTTP redirect after handling the request
|
|
- Access: admin access expected; moderator access may be required; logged-in session required or used
|
|
- Side effects: writes or mutates server-side state
|
|
- Limits/notes: Generated from static route source analysis; confirm exact behavior in the handler before changing integrations. Most non-API POST routes are browser form submissions and usually redirect after completion.
|
|
|
|
### POST /plugins/quotes/quotes/:id/unhide
|
|
|
|
- Purpose: Processes the quotes plugin action for quotes id unhide.
|
|
- Inputs: path params: `id`
|
|
- Response format: HTTP redirect after handling the request
|
|
- Access: admin access expected; moderator access may be required; logged-in session required or used
|
|
- Side effects: writes or mutates server-side state
|
|
- Limits/notes: Generated from static route source analysis; confirm exact behavior in the handler before changing integrations. Most non-API POST routes are browser form submissions and usually redirect after completion.
|
|
|
|
### POST /plugins/quotes/quotes/:id/archive
|
|
|
|
- Purpose: Processes the quotes plugin action for quotes id archive.
|
|
- Inputs: path params: `id`
|
|
- Response format: HTTP redirect after handling the request
|
|
- Access: admin access expected; moderator access may be required; logged-in session required or used
|
|
- Side effects: writes or mutates server-side state
|
|
- Limits/notes: Generated from static route source analysis; confirm exact behavior in the handler before changing integrations. Most non-API POST routes are browser form submissions and usually redirect after completion.
|
|
|
|
### POST /plugins/quotes/quotes/:id/restore
|
|
|
|
- Purpose: Processes the quotes plugin action for quotes id restore.
|
|
- Inputs: path params: `id`
|
|
- Response format: HTTP redirect after handling the request
|
|
- Access: admin access expected; moderator access may be required; logged-in session required or used
|
|
- Side effects: writes or mutates server-side state
|
|
- Limits/notes: Generated from static route source analysis; confirm exact behavior in the handler before changing integrations. Most non-API POST routes are browser form submissions and usually redirect after completion.
|
|
|
|
### GET /plugins/quotes/api/quotes
|
|
|
|
- Purpose: Renders or serves the quotes plugin page for api quotes.
|
|
- Inputs: No request parameters detected by static analysis.
|
|
- Response format: JSON response
|
|
- Access: admin access expected; moderator access may be required; logged-in session required or used
|
|
- Side effects: Usually read-only.
|
|
- Limits/notes: Generated from static route source analysis; confirm exact behavior in the handler before changing integrations. API consumers should expect JSON unless the response format says otherwise.
|
|
|
|
### GET /plugins/quotes/api/quotes/:id
|
|
|
|
- Purpose: Renders or serves the quotes plugin page for api quotes id.
|
|
- Inputs: path params: `id`
|
|
- Response format: JSON response
|
|
- Access: admin access expected; moderator access may be required; logged-in session required or used
|
|
- Side effects: Usually read-only.
|
|
- Limits/notes: Generated from static route source analysis; confirm exact behavior in the handler before changing integrations. API consumers should expect JSON unless the response format says otherwise.
|
|
## Commands
|
|
- No plugin command triggers detected.
|
|
## Source
|
|
Plugin folder: plugins/quotes
|