API documentation

Public endpoints used by this portfolio to track engagement metrics.

/api/views/{slug}

Methods: GET, POST

Get or increment view counts for a content slug.

/api/reactions/{slug}

Methods: GET, POST

Get or update reactions for a content slug.