Updated error response structure
Added API endpoint documentation