title: Adding an explicit action route to ASP.NET Web API Controller
body: <p>I have an ASP.NET Web API project with an <code>ApiController</code> that provides a <code>User</code> endpoint with the following actions:</p>
  
  <pre><code>GET /api/User
  POST /api/User
  DELETE /api/user
  </code></pre>
  
  <p>I want to provide the following endpoint:</p>
  
  <pre><code>GET /api/user/metrics
  </code></pre>
  
  <p>However, when I define the controller action like so:</p>
  
  <pre><code>[HttpGet]
  public HttpResponseMessage Metrics()
  {
      return null;
  }
  </code></pre>
  
  <p>I get the <code>Multiple actions were found that match the request</code> error message.</p>
  
  <p>I understand this violates the definition of a "pure" REST API but this is how I would like to do it.  I imagine I have to solve this problem by mapping an HTTP route, but I have tried a few routes and I can't get it to work.  What should my route look like?</p>