Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter queries by post-type #42

Open
dshanske opened this issue Aug 16, 2020 · 3 comments
Open

Filter queries by post-type #42

dshanske opened this issue Aug 16, 2020 · 3 comments

Comments

@dshanske
Copy link
Member

As determined by post type discovery, this would filter any returned query by post type, using the query variable post-type. This is proposed to apply specifically to q=source, as well as q=syndicate-to, but may be applied to other queries.

@jalcine
Copy link

jalcine commented Jul 2, 2021

I can see a case for this to be a property that would be accepted multiple times. If someone wanted to build a composite feeds of responses, doing something like q=source&post-type[]=like&post-type[]=reply would be simpler than doing a separate request for each instance and then having to potentially merge and sort the list of items on the client side.

@jalcine
Copy link

jalcine commented Feb 6, 2022

Coming back to this, I don't explicitly support the format proposed above (mainly due to the immediate complexity it'd introduce).

@jalcine
Copy link

jalcine commented Dec 13, 2022

Heh, reneging the comment I made above, the Rust IndieWeb library supports it, which enables Shock and Koype to support it for querying and consuming, respectively.

(Originally published at: https://jacky.wtf/2022/12/tndR)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants