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 by mime_type on Media Endpoint #45

Open
dshanske opened this issue Dec 11, 2021 · 0 comments
Open

Filter by mime_type on Media Endpoint #45

dshanske opened this issue Dec 11, 2021 · 0 comments

Comments

@dshanske
Copy link
Member

One of the attempt to decide what returns q=source on the Media Endpoint would look like, @aaronpk #14 (comment) added url, published, and mime_type. I also have mime_type in my return now.

So, this proposal would allow q=source to accept the optional parameter of mime_type, to only return media of a certain mime-type. Mime types consists of a type and a subtype. The parameter would accept both, or just the type...so mime_type=image would return every subtype of image and so on.

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

1 participant