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

Use Query Scope from Content API #3310

Open
fjahn opened this issue Feb 15, 2021 · 0 comments · May be fixed by #10893
Open

Use Query Scope from Content API #3310

fjahn opened this issue Feb 15, 2021 · 0 comments · May be fixed by #10893

Comments

@fjahn
Copy link
Contributor

fjahn commented Feb 15, 2021

Currently, it is not possible to utilize Scopes with the Content API. I believe this would be useful.

I was thinking about the following syntax:

/endpoint?query_scope=featured

I already glanced over the code, and I believe that implementing this feature would not be too difficult. It only requires extending the ApiController to honor a query_scope parameter. I would be willing to submit a PR if the maintainers agree that this feature would be useful.

@jesseleite jesseleite transferred this issue from statamic/ideas Feb 26, 2021
@ryanmitchell ryanmitchell linked a pull request Oct 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants