monoesdocs
Menu

API reference

Bugs

Bug reports, voting, comments, and moderation labels.

POST/api/community/bugscommunity:write

File a bug report.

Request

{ title: string, description: string, severity: 'low'|'medium'|'high'|'critical' }

Response

201 { id, title, description, authorId, status: 'open', severity, createdAt, updatedAt }

title 1-100 chars, description 1-1000 chars.

PATCH/api/community/bugs/{id}community:write · admin/moderator

Update a bug's status and/or severity.

Request

{ status?: 'open'|'in_progress'|'resolved'|'wontfix', severity?: 'low'|'medium'|'high'|'critical' }

Response

{ status?, severity? }

At least one field required.

DELETE/api/community/bugs/{id}community:write · admin/moderator

Delete a bug report.

Response

{ id }
POST/api/community/bugs/{id}/votecommunity:write

Upvote, downvote, or clear your vote on a bug.

Request

{ value: 1 | -1 | 0 }

Response

{ score: number, myVote: 1|-1|0 }

0 removes an existing vote. Idempotent upsert per (bug, user).

POST/api/community/bugs/{id}/commentscommunity:write

Post a comment on a bug.

Request

{ body: string }

Response

201 { id, bugId, authorId, authorUsername, body, createdAt }

body 1-1000 chars.

DELETE/api/community/bugs/{id}/comments/{commentId}community:write

Delete your own comment (or any comment, as a moderator/admin).

Response

{ id }
POST/api/community/bugs/{id}/labelscommunity:write · admin/moderator

Attach a label to a bug.

Request

{ labelId: string }

Response

{ bugId, labelId }

Idempotent: attaching an already-attached label is a no-op.

DELETE/api/community/bugs/{id}/labels/{labelId}community:write · admin/moderator

Detach a label from a bug.

Response

{ bugId, labelId }