API
CommunityThread
8 endpoint del gruppo CommunityThread.
| Metodo | Path | Descrizione | Rischio | Senza token |
|---|---|---|---|---|
| GET | /threads | Lists / queries CommunityThread. Filterable via where (ThreadQueryDto). Query options: token, fields, include, limit, sort. | read | no |
| POST | /threads | Creates a new CommunityThread. Accepts fields: user, title, content, tags, status, score, comment_count, reaction_stats. | create | no |
| GET | /threads/count | Counts CommunityThread. Filterable via where (ThreadQueryDto). | read | no |
| GET | /threads/{thread} | Fetches a single CommunityThread (scoped by thread). | read | no |
| PATCH | /threads/{thread} | Updates a single CommunityThread (scoped by thread). Accepts fields: user, title, content, tags, status, score, comment_count, reaction_stats. | mutate | no |
| DELETE | /threads/{thread} | Deletes a single CommunityThread (scoped by thread). | destructive | no |
| POST | /threads/{thread}/comment | comment CommunityThread (scoped by thread). Comment on a thread Accepts fields: comment, content, comment_count, reaction_stats. | create | no |
| POST | /threads/{thread}/react | react CommunityThread (scoped by thread). React on a thread Accepts fields: comment, type. | create | no |
Questo articolo ti è stato utile?