Project Type: WordPress Plugins

Event Submission Flow Endpoint

Route POST /wp-json/extrachill/v1/event-submissions Purpose Accepts public event submissions from blocks and forms, verifies Cloudflare Turnstile tokens, uploads optional flyers, and spins up a Data Machine job so the configured automation...

Upcoming Event Counts Endpoint

Route GET /wp-json/extrachill/v1/events/upcoming-counts Purpose Returns counts of upcoming events (events with _datamachine_event_datetime >= today) for taxonomy terms on the events site (Blog ID resolved via ec_get_blog_id( 'events' )). This endpoint...

Blog Taxonomy Counts Endpoint

Route GET /wp-json/extrachill/v1/blog/taxonomy-counts Purpose Returns taxonomy term counts and archive URLs from the main blog site (Blog ID resolved via ec_get_blog_id( 'main' )). This endpoint is used by cross-site taxonomy...

Community Drafts

Manage bbPress topic and reply drafts with context-aware storage and retrieval. Endpoints Get Draft Endpoint: GET /wp-json/extrachill/v1/community/drafts Purpose: Retrieve a saved draft for a topic or reply with context matching....

Community Upvote Endpoint

Route POST /wp-json/extrachill/v1/community/upvote Purpose Records an upvote (or removes it, depending on the helper implementation) for forum topics and replies inside the community plugin. All business rules—duplicate detection, score limits,...

Image Voting Vote Endpoint

Route POST /wp-json/extrachill/v1/image-voting/vote Purpose Cast a vote in an image voting block instance. This endpoint allows visitors to vote on images in polls embedded in posts, returning updated vote totals....

Image Voting Vote Count Endpoint

Route GET /wp-json/extrachill/v1/blog/image-voting/vote-count/{post_id}/{instance_id} Purpose Returns the latest vote tally for a specific Image Voting block instance embedded in a post. Frontend blocks poll this endpoint to keep live tallies without...

Rapper Name Generator Endpoint

Route POST /wp-json/extrachill/v1/blog/rapper-name Purpose Generate rapper name suggestions using AI. This endpoint powers the ExtraChill Blog "Rapper Name Generator" block, providing AI-powered creative suggestions for hip-hop and rap artists. Permission...

Auth Login

Authenticate a user and return access + refresh tokens for API access. Supports device tracking for session management and optional cookie setting. Endpoints User Login Endpoint: POST /wp-json/extrachill/v1/auth/login Purpose: Authenticate...

Auth Logout

Revoke user session tokens and end authentication for a specific device. Endpoints User Logout Endpoint: POST /wp-json/extrachill/v1/auth/logout Purpose: Revoke refresh token for a device to end session without logging out...

← Back to Chubes.net