Documented the metrics REST API endpoint
Added syntax highlighting