Interactive Rondayvoo REST API Guide
Welcome! This interactive guide provides a comprehensive overview of how to use the Rondayvoo REST API with Application Passwords for custom post types, taxonomies, and media.
Getting Started
Select a topic from the sidebar to view detailed instructions and copy-able code snippets for performing API operations.
🔐 Authentication
This section explains how to generate and use Application Passwords for secure API authentication.
How to Generate
- Log in to your Rondayvoo Admin Dashboard.
- Navigate to Users > Profile.
- Scroll to Application Passwords.
- Enter a name (e.g., "Web Agency Sync").
- Click Add New Application Password.
- Important: Copy the password immediately.
Using the Password
Header Format:
Authorization: Basic <Base64(username:password)>
cURL Example
curl -X GET https://your-site.com/wp-json/wp/v2/posts \
-H "Authorization: Basic eW9...cA=="
📄 Post Types
CRUD operations for Rondayvoo custom post types.
Speaker (`post_type = speaker`)
Seminar (`post_type = seminar`)
Exhibitor (`post_type = exhibitor`)
Sponsor (`post_type = sponsor`)
🏷️ Taxonomies
🖼️ Media Uploads
Uploading files is a two-step process: upload to the Rondayvoo Media Library to get an ID, then assign it to a post.
Step 1: Upload the File
curl -X POST https://your-site.com/wp-json/wp/v2/media \
-H "Authorization: Basic eW9...cA==" \
-H "Content-Type: image/jpeg" \
-H "Content-Disposition: attachment; filename=\"photo.jpg\"" \
--data-binary "@path/to/your/photo.jpg"
Step 2: Assign the File
curl -X PUT https://your-site.com/wp-json/wp/v2/speaker/123 \
-H "Content-Type: application/json" \
-d '{ "featured_media": 45, "acf": { "speaker_photo": 45 } }'