55 lines
1.3 KiB
Markdown
55 lines
1.3 KiB
Markdown
---
|
|
name: comments-routes
|
|
description: Handle 4 OpenAPI operation(s) under /comments for the comments route group.
|
|
---
|
|
|
|
# comments API Routes
|
|
|
|
Handle 4 OpenAPI operation(s) under /comments for the comments route group.
|
|
|
|
Use the generated operation tools to make real API calls. Do not invent API responses.
|
|
If a tool reports missing setup, return the exact setup field name to the caller.
|
|
For write, update, or delete operations, state the intended action before calling the tool.
|
|
|
|
## Operations
|
|
|
|
### get_comments_id
|
|
|
|
- Operation ID: `get_comments_id`
|
|
- Route: `GET /comments/{comment_id}`
|
|
- Mode: READ
|
|
- Summary: Get comment
|
|
- Parameters:
|
|
- `comment_id` in `path` required
|
|
- `fields` in `query`
|
|
|
|
### put_comments_id
|
|
|
|
- Operation ID: `put_comments_id`
|
|
- Route: `PUT /comments/{comment_id}`
|
|
- Mode: WRITE
|
|
- Summary: Update comment
|
|
- Parameters:
|
|
- `comment_id` in `path` required
|
|
- `fields` in `query`
|
|
- Body: JSON request body accepted.
|
|
|
|
### delete_comments_id
|
|
|
|
- Operation ID: `delete_comments_id`
|
|
- Route: `DELETE /comments/{comment_id}`
|
|
- Mode: WRITE
|
|
- Summary: Remove comment
|
|
- Parameters:
|
|
- `comment_id` in `path` required
|
|
|
|
### post_comments
|
|
|
|
- Operation ID: `post_comments`
|
|
- Route: `POST /comments`
|
|
- Mode: WRITE
|
|
- Summary: Create comment
|
|
- Parameters:
|
|
- `fields` in `query`
|
|
- Body: JSON request body accepted.
|