Jul 29, 20265min read
API Documentation
Learn how to use the M. Revi Ramadhan Developer API to retrieve portfolio data programmatically.
Developer API Documentation
Welcome to the developer API for M. Revi Ramadhan's portfolio. You can retrieve real-time data about projects, experiences, tools, blog posts, and site settings using your API key.
Authentication
All requests must include your API key in the x-api-key HTTP header.
x-api-key: mr_your_api_key_hereEndpoints
The base URL for the API is http://localhost:3001 (in development) or the production API URL.
1. Get Full Portfolio Data
GET /api/portfolioReturns all projects, experiences, tools, blog posts, and site settings.
2. Get Projects
GET /api/projects3. Get Journey / Experiences
GET /api/experiences4. Get Tools
GET /api/tools5. Get Blog Posts
GET /api/blogPlayground (Code Execution)
You can also use the /api/playground endpoint (POST) to run sandboxed code in Go, Rust, or PHP. Note that these containers do not have outbound network access.