52 lines
1.7 KiB
Markdown
52 lines
1.7 KiB
Markdown
---
|
|
name: comments-routes
|
|
description: Handle 4 OpenAPI operation(s) under /api/v1/comments/{comment_uuid} for the comments route group.
|
|
---
|
|
|
|
# comments API Routes
|
|
|
|
Handle 4 OpenAPI operation(s) under /api/v1/comments/{comment_uuid} 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
|
|
|
|
### api_update_comment_api_v1_comments_comment_uuid_put
|
|
|
|
- Operation ID: `api_update_comment_api_v1_comments_comment_uuid_put`
|
|
- Route: `PUT /api/v1/comments/{comment_uuid}`
|
|
- Mode: WRITE
|
|
- Summary: Update a comment
|
|
- Parameters:
|
|
- `comment_uuid` in `path` required
|
|
- Body: JSON request body accepted.
|
|
|
|
### api_delete_comment_api_v1_comments_comment_uuid_delete
|
|
|
|
- Operation ID: `api_delete_comment_api_v1_comments_comment_uuid_delete`
|
|
- Route: `DELETE /api/v1/comments/{comment_uuid}`
|
|
- Mode: WRITE
|
|
- Summary: Delete a comment
|
|
- Parameters:
|
|
- `comment_uuid` in `path` required
|
|
|
|
### api_upvote_comment_api_v1_comments_comment_uuid_vote_post
|
|
|
|
- Operation ID: `api_upvote_comment_api_v1_comments_comment_uuid_vote_post`
|
|
- Route: `POST /api/v1/comments/{comment_uuid}/vote`
|
|
- Mode: WRITE
|
|
- Summary: Upvote a comment
|
|
- Parameters:
|
|
- `comment_uuid` in `path` required
|
|
|
|
### api_remove_comment_upvote_api_v1_comments_comment_uuid_vote_delete
|
|
|
|
- Operation ID: `api_remove_comment_upvote_api_v1_comments_comment_uuid_vote_delete`
|
|
- Route: `DELETE /api/v1/comments/{comment_uuid}/vote`
|
|
- Mode: WRITE
|
|
- Summary: Remove an upvote from a comment
|
|
- Parameters:
|
|
- `comment_uuid` in `path` required
|