plone.restapi
plone.restapi copied to clipboard
@aliases endpoint should allow to filter by how an alias has been added (automatically, manually)
PR for adding aliases: https://github.com/plone/plone.restapi/pull/1398
The @aliases endpoint allows to filter by path:
http://localhost:8080/Plone/++api++/@aliases&q=/de/ft/my-path
However, there is no way to filter by how an alias has been added, e.g.:
http://localhost:8080/Plone/++api++/@aliases&q=/de/ft/my-path&manual=true
I'd suggest adding a new parameter "manual" to the GET endpoint so that we can filter by "manual=true" or "manual=false"