`result` should be `api_result` instead (naming convention).