Report API #5
Labels
No Label
backend
beginner-friendly
bug
build
db
endpoint
federation
http
low-priority
tests
waiting for zig 0.11
web
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: heartles/fediglam#5
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
POST /cases
- create reportGET /cases?status=open
- list reportsGET /cases/:id
POST /cases/:id/evidence
- Add case notes, reference to posts, etc etcGET /cases/:id/evidence
- list case notesGET /cases/:id/results
- List moderation actions associated with this casePUT /cases/:id
- or update report (set status)general thoughts on schema:
Case: {
id: Uuid
created_by: User
target: User
status: 'open' | 'resolved'
evidence: []Evidence
}
Evidence: struct {
CaseNote | NoteRef | ProfileRef
}