# Public API

Machine-readable overview of Abanob Adel's portfolio HTTP APIs.

Origin: https://abanob.co

## Conventions

- Success lists: `{ "success": true, "data": [...], "pagination": { page, limit, total, totalPages, hasNextPage, hasPreviousPage } }`
- Pagination query: `page` (default 1), `limit` (default 10, max 100)
- Public GETs require **no auth**
- Admin mutations require same-origin + Admin session cookie + TOTP (not documented here for agents)

## Public endpoints

| Method | Path | Notes |
|--------|------|-------|
| GET | /api/projects | Published projects |
| GET | /api/projects/{slug} | Published project detail |
| GET | /api/blogs | Published insights |
| GET | /api/blogs/{slug} | Insight detail |
| GET | /api/clients | Clients |
| GET | /api/technologies | Technologies |
| GET | /api/project-categories | Categories |
| GET | /api/project-industries | Industries |
| GET | /api/blog-categories | Blog categories |
| POST | /api/contact | Contact form (same-origin, rate limited, honeypot `website`) |

## MCP

Read-only MCP server (Streamable HTTP, stateless, no auth): `POST /mcp`.
Tools: get_profile, list_projects, get_project, list_technologies, list_insights, get_insight, search_portfolio.
Card: [/.well-known/mcp/server-card.json](/.well-known/mcp/server-card.json)

## Discovery

- Linkset catalog: [/.well-known/api-catalog](/.well-known/api-catalog)
- ARD catalog: [/.well-known/ai-catalog.json](/.well-known/ai-catalog.json)
- Auth policy: [/auth.md](/auth.md)
- Sitemap: [/sitemap.xml](/sitemap.xml)
- Robots: [/robots.txt](/robots.txt)
