title: What is the proper RESTful API method to replace an entire collection?
body: <p>Imagine, We have an Entity <code>School</code> and this entity has a one to many relationship with <code>Student</code> entity. In other words, there is a collection of <code>Student</code>s attached to a given <code>School</code></p>
  
  <p>If we are to replace the entire <code>Student</code> collection via a single API call,</p>
  
  <pre><code>API_URL/school/:school_id/students
  </code></pre>
  
  <p>which is the best Rest method to go along with. I think <code>PUT</code> is only used on an Entity not on a Collection. Hence, available options would be to use either <code>PATCH</code> or <code>POST</code></p>