[api] Added metrics resource