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

Add licenses select field #9

Open
lenasterg opened this issue Feb 11, 2022 · 3 comments
Open

Add licenses select field #9

lenasterg opened this issue Feb 11, 2022 · 3 comments

Comments

@lenasterg
Copy link
Owner

We should provide a drop-down or radio box selection for images licenses.
The Openverse API doesn't have an endpoint for the licenses but we can based the licenses option on their code
https://github.com/WordPress/openverse-frontend/blob/main/src/constants/license.js

@vagelisp
Copy link
Contributor

vagelisp commented Feb 11, 2022

That's what I'm currently using on my fetch [ that's related to the block ]

https://api.openverse.engineering/v1/images?format=json&shouldPersistImages=true&q=" + ${query}&licence=BY-NC-SA

So I guess we would need a field to control the value of licence right ?

@lenasterg
Copy link
Owner Author

Yes.
But maybe we wait a bit, cause the Openverse team is θετική στο να φτιάξουν ένα endpoint.
Τους ανοιξα και σχετικό issue για αυτό. WordPress/openverse#732

@vagelisp
Copy link
Contributor

That's great, thanks.

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