ulsdevteam / lcsu

0 stars 0 forks source link

Allow for export of all validated trays #14

Closed ctgraham closed 5 years ago

ctgraham commented 5 years ago

Unless there is a different API endpoint I haven't seen yet, the TrayController::export() method will need to change.

https://github.com/ulsdevteam/lcsu/blob/fd1e3dc5a1307831f0275fafc29c4aa746a60f90/src/Controller/TraysController.php#L300-L305

The calling system will not know what Trays have been completed, so it will need to be able to hit an endpoint without a Tray id. The caller will request an export of all Trays that have been validated in this system.

It should also only operate on validated but not exported trays.

ctgraham commented 5 years ago

Resolved per https://github.com/ulsdevteam/lcsu/commit/0be6eeaa0237496a2d7169c29d8f42c501f9215f#diff-53bcb7439999e8c5d3fb34d7b4351003R314