[api] refactor status controller