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

Ignore screenshots, versions, etc? #1

Open
simplenotezy opened this issue Jan 23, 2020 · 1 comment
Open

Ignore screenshots, versions, etc? #1

simplenotezy opened this issue Jan 23, 2020 · 1 comment

Comments

@simplenotezy
Copy link

Your code shows that versions, screenshots, etc should be ignored, but they are still returned on request:

image

image

How can theese be excluded?

@lucasctd
Copy link

lucasctd commented Feb 9, 2021

@simplenotezy did it work for you?
I am trying to make a request from my website to the following endpoint:

https://api.wordpress.org/themes/info/1.1?action=query_themes&request[search]=Twenty Twenty-One&request[fields][downloadlink]=1&request[fields][downloaded]=0&request[fields][screenshot_url]=1&request[fields][rating]=0&request[fields][num_ratings]=0&request[fields][homepage]=0&request[fields][description]=0&request[fields][author]=0

but I am getting CORS error. Do you know if I need some kind of api key or something like that?

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