Adds an #as_json method to projects/collections/records that can be used to get back a representation of the object showing values that should have been set during a successful insert/update. Also adds a #show action to all controllers that gives this information to the client. We need this in the short term to ensure that Drupal only deletes its copy of a given uploaded file when that file has made its way into the repo.
Adds an #as_json method to projects/collections/records that can be used to get back a representation of the object showing values that should have been set during a successful insert/update. Also adds a #show action to all controllers that gives this information to the client. We need this in the short term to ensure that Drupal only deletes its copy of a given uploaded file when that file has made its way into the repo.