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

Generic entity query endpoint #167

Open
martastain opened this issue May 7, 2024 · 1 comment
Open

Generic entity query endpoint #167

martastain opened this issue May 7, 2024 · 1 comment
Assignees

Comments

@martastain
Copy link
Member

Story

3rd party may need to query a list of entities using arbitrary conditions, such as "tasks with due date between {date} and {date}"
This is easy to do using a custom endpoint of an addon (simple SQL query), but not directly possible via REST or graphQL right now.

Proposed solution

query endpoint (already drafted, but only available for events ATM), allowing to query entities using a structured json filtering system similar to the one available in the enroll endpoint.

@martastain martastain added the type: enhancement Improvement of existing functionality or minor addition label May 7, 2024
@martastain martastain self-assigned this May 7, 2024
@BigRoy
Copy link
Contributor

BigRoy commented May 7, 2024

Would be great to have a test with this that shows how to e.g. query:

  • All tasks assigned to user {user} with due dates between {start_date} and {end_date} that are children of folder path {folder_path}

So that one could e.g. query all my tasks for s01e01 that are due shortly.

@martastain martastain removed the type: enhancement Improvement of existing functionality or minor addition label Nov 6, 2024
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