Request: API to allow passing or linking to a search via URL #3108
Labels
Status: Accepted
Reviewed by Manifold Team. In scope for project. We could complete this under existing funding.
Type: Enhancement
Issue represents new feature or expanded functionality.
Feature Description
Add API functionality to allow searches to be passed to a URL, along the lines of
https://my.manifold.site/search/knowledge
https://my.manifold.site/search/"knowledge unlatched"
Why is this feature important? Who does it help?
Potentially, it would allow end users of a site to construct automated searches for whatever reasons. For a site owner, our specific use case would be to enable creating a hyperlink that would return search results, for example in the context of a blog post about our Manifold instance where we wanted to return a certain set of content matching a search.
Development Notes
I don't know the intricacies of the Manifold search functionality but I'm aware from working on a similar API added to an existing website that it can be very tricky to handle all of the cases of incoming syntax (as well as being sure there are no security holes opened by the API, to injection attacks). So I can understand if implementing this would not be trivial.
The text was updated successfully, but these errors were encountered: