Closed dpancic closed 1 year ago
In GitLab by @vronk on Mar 21, 2022, 17:28
marked this issue as related to sshoc-marketplace-frontend#100
In GitLab by @vronk on Mar 21, 2022, 17:32
mentioned in issue sshoc-marketplace-frontend#100
In GitLab by @tparkola on Mar 30, 2022, 11:17
You can retrieve single deleted item by using its persistentId and versionId in the endpoint : GET api/{category}/{persistentId}/versions/{versionId}
. As per whole list, it is not possible.
In GitLab by @vronk on Mar 31, 2022, 24:35
Is there no way, to provide an endpoint available to the administrators/moderators, that would allow to read the deleted items from the database? (I understand they are just "soft deleted" and actually kept in the DB with status inactive or so.)
In GitLab by @tparkola on Apr 4, 2022, 11:35
It is possible to retrieve deleted items in another endpoint. Will it be fine to retrieve only these ones that before delete action item status was APPROVED? If you want the most recent version before delete (such as INGESTED/SUGGESTED) then it will take much more time (I need to write recursive query and test it). @vronk
In GitLab by @tparkola on Apr 25, 2022, 13:57
I created separate REST endpoint GET /api/deleted-items
to retrieve all last items with deleted status (excluding STEPS).
Changes merged to dev.
In GitLab by @KlausIllmayer on Jun 28, 2022, 16:59
API endpoint exists and works as expected, thanks for creating it.
In GitLab by @vronk on Mar 21, 2022, 17:27
Deleted item are removed from solr index and therefore cannot be queried. Solr should only have approved ones, also due to performance.
Is there a way still to get a list of deleted items?
(notify: @tparkola, @stefanprobst, @laureD19 , @KlausIllmayer