plone.restapi icon indicating copy to clipboard operation
plone.restapi copied to clipboard

@aliases endpoint should allow to filter by how an alias has been added (automatically, manually)

Open tisto opened this issue 8 months ago • 0 comments

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"

tisto avatar Jun 14 '24 13:06 tisto