NEU-DSG / tapas_rails

Hydra Head for the TAPAS project
1 stars 6 forks source link

Feature/status endpoints #33

Closed jbuckle closed 8 years ago

jbuckle commented 8 years ago

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.