Public API for the Diwash Bhandari portfolio website. Built with Next.js 15 and deployed on Vercel.
Base URL: https://www.diwash-bhandari.com.np/api
Send a message to Diwash Bhandari. Ideal for project inquiries, collaboration proposals, or technical questions.
| Field | Type | Required | Constraints |
|---|---|---|---|
| name | string | Yes | 2–100 characters |
| string | Yes | Valid email format | |
| message | string | Yes | 10–2000 characters |
{
"success": true,
"message": "Message sent successfully! I'll get back to you within 24-48 hours."
}
Returns endpoint metadata and accepted fields.
Full OpenAPI 3.1 specification (machine-readable).
RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset, and Retry-After on a 429/mcp, /.well-known/mcp/call): 60 requests per minute per IP| Code | HTTP | Description |
|---|---|---|
| MISSING_FIELDS | 400 | Required fields not provided |
| INVALID_NAME | 400 | Name length invalid |
| INVALID_EMAIL | 400 | Email format invalid |
| INVALID_MESSAGE | 400 | Message length invalid |
| INVALID_JSON | 400 | Request body is not valid JSON |
| RATE_LIMITED | 429 | Too many requests |
| DELIVERY_FAILED | 502 | Email provider unavailable |
| INTERNAL_ERROR | 500 | Unexpected server error |
POST /mcpAccept: text/markdown to any content page