Let's assume that I have a search block somewhere and I want to link to that page with a predefined set of filters, as part of a teaser block href. Right now the serializer machinery strips the querystring information. My proposal is to allow the brain identification and serialization, but add the querystring as part of the @id. Not sure how proper this is in terms of linked data semantics, but it would solve my problem.
|
brain = url_to_brain(url) |
Let's assume that I have a search block somewhere and I want to link to that page with a predefined set of filters, as part of a teaser block href. Right now the serializer machinery strips the querystring information. My proposal is to allow the brain identification and serialization, but add the querystring as part of the
@id. Not sure how proper this is in terms of linked data semantics, but it would solve my problem.plone.restapi/src/plone/restapi/serializer/blocks.py
Line 237 in cdd2f72