devRant API: Rants
A rant is a DevPlace post. Reads are public; writes need the token triple - log in with the bar
below (or on the Authentication page) and run any widget live. The
token triple is injected automatically. text is the post's title and body combined; devRant
tags round-trip verbatim. Posting a comment lives here too; editing and voting on a comment is
on the Comments page.
/api/devrant/rants
Minimal role: Public
Rant feed
List rants. Sort by recent, top, or algo.
/api/devrant/rants/{rant_id}
Minimal role: Public
Single rant with comments
Fetch one rant and its comments.
/api/devrant/rants
Minimal role: Member
Post a rant
Create a new rant. Tags are comma-separated and stored verbatim.
/api/devrant/rants/{rant_id}
Minimal role: Member
Edit a rant
Replace a rant's text and tags (owner only).
/api/devrant/rants/{rant_id}
Minimal role: Member
Delete a rant
Soft-delete a rant (owner or admin).
/api/devrant/rants/{rant_id}/vote
Minimal role: Member
Vote on a rant
Upvote (1), downvote (-1), or clear (0). Returns the updated rant.
/api/devrant/rants/{rant_id}/favorite
Minimal role: Member
Favorite a rant
Bookmark a rant.
/api/devrant/rants/{rant_id}/unfavorite
Minimal role: Member
Unfavorite a rant
Remove a rant bookmark.
/api/devrant/rants/{rant_id}/comments
Minimal role: Member
Comment on a rant
Post a comment on a rant.
/api/devrant/search
Minimal role: Public
Search rants
Search rants by text in the title and body.