Comments
Every prediction event on Intotes has a comment section where users can discuss outcomes, share analysis, and debate probabilities. Comments also display the author's current position in the market, adding transparency to the discussion.
Viewing Commentsβ
Event Commentsβ
GET /api/v1/events/{event_id}/comments
Returns top-level comments for the specified event. Each comment includes the author's profile information and their current market position (if any).
Replies to a Commentβ
GET /api/v1/comments/{id}/replies
Returns all replies to a specific comment, forming a threaded conversation.
Creating Commentsβ
Post a Top-Level Commentβ
POST /api/v1/events/{event_id}/comments
{
"text": "I think this event resolves YES based on recent data."
}
Requires authentication.
Reply to a Commentβ
POST /api/v1/comments/{id}/reply
{
"text": "Good point, but consider the opposing trend."
}
Requires authentication. Creates a nested reply under the specified parent comment.
Editing and Deletingβ
Update a Commentβ
PUT /api/v1/comments/{id}
{
"text": "Updated analysis with new information."
}
You can only edit your own comments. Requires authentication.
Delete a Commentβ
DELETE /api/v1/comments/{id}
You can only delete your own comments. Requires authentication.
Reactionsβ
Users can like or dislike comments to surface the most valuable discussion.
Add a Reactionβ
POST /api/v1/comments/{id}/like
POST /api/v1/comments/{id}/dislike
Requires authentication. Each user can add only one reaction per comment. Adding a like when you have already disliked (or vice versa) replaces the previous reaction.
Remove a Reactionβ
DELETE /api/v1/comments/{id}/reaction
Removes your reaction from the comment. Requires authentication.
Position Transparencyβ
Each comment displayed in the UI includes the author's current position in the event's market. This means other users can see whether the commenter has a long (YES) or short (NO) stake, and its approximate size. This feature helps the community evaluate opinions in the context of the commenter's financial interest.
Summary of Endpointsβ
| Method | Endpoint | Auth | Description |
|---|---|---|---|
GET | /api/v1/events/{event_id}/comments | Optional | List event comments |
GET | /api/v1/comments/{id}/replies | Optional | List replies to a comment |
POST | /api/v1/events/{event_id}/comments | Required | Create a top-level comment |
POST | /api/v1/comments/{id}/reply | Required | Reply to a comment |
PUT | /api/v1/comments/{id} | Required | Edit your comment |
DELETE | /api/v1/comments/{id} | Required | Delete your comment |
POST | /api/v1/comments/{id}/like | Required | Like a comment |
POST | /api/v1/comments/{id}/dislike | Required | Dislike a comment |
DELETE | /api/v1/comments/{id}/reaction | Required | Remove your reaction |