title: Executing commands via REST
body: <p>Let's say I have a REST interface with a resource called <strong>Jobs</strong> which have <strong>Properties</strong>.  I'd have an interface that looks like this:</p>
  
  <pre><code>GET|POST|PUT|DELETE /jobs/:id
  GET|POST|PUT|DELETE /jobs/:jobId/properties/:id
  </code></pre>
  
  <p>Now, let's assume that I want to execute that I want to execute that job.  Executions aren't really resources.  They are essentially commands that you want to tell the server to act upon <strong>Jobs</strong>.</p>
  
  <p>What is the best interface from a REST perspective to do this?  Options I have come up with:</p>
  
  <pre><code>PUT /jobs/:id/execute
  PUT /jobs/execute/:id
  PUT /commands/execute_job/:jobId
  POST /jobs/:id/executions
  </code></pre>
  
  <p>But I don't know which is best.  ALSO, I don't know if <code>PUT</code> is correct.  I am suggesting <code>PUT</code> because the <code>execute</code> command will ultimately modify some of the data on the <strong>Job</strong> resource.  My last option would turn <code>execute</code> into a resource, like I am creating a new execution, but that doesn't feel right because it is not like I am going to have GET/PUT/DELETE verbs on it.</p>
  
  <p>What is the REST way to do this?</p>