System
The sacred endpoints of COINFESSOL
๐ฎ API Documentation
Overview
COINFESSOL's API is protected by the ancient Row Level Security (RLS) spells of Supabase. All endpoints are designed to maintain anonymity while ensuring data integrity.
๐ Authentication
No authentication required! The Veil of Digital Shadows protects all users naturally.
๐ก Endpoints
Confessions
// Submit a new confession
POST /confessions
{
"content": string (max 500 chars)
}
// Retrieve the digital tapestry
GET /confessions
Returns: Array<Confession>
// Cast your vote
POST /confessions/{id}/vote
Response Examples
{
"id": "uuid",
"content": "Your whisper here",
"votes": 42,
"created_at": "timestamp"
}
Remember: "The API is merely a gateway; the real magic happens in the digital ether." - Technical Scroll, Volume III
Last updated