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

Refactor videos/query endpoint to allow for more params, filterByFormula, etc. #26

Open
15 tasks
avanavana opened this issue Dec 24, 2021 · 1 comment
Open
15 tasks
Assignees
Labels
enhancement New feature or request

Comments

@avanavana
Copy link
Owner

avanavana commented Dec 24, 2021

Params:

  • :pg
  • maxRecords
  • pageSize
  • modifiedAfter
  • createdAfter

Future params:

  • combine multiple filters + searches?
@avanavana avanavana self-assigned this Dec 24, 2021
@avanavana avanavana added the enhancement New feature or request label Dec 24, 2021
@avanavana
Copy link
Owner Author

avanavana commented Dec 31, 2021

  • Starting with simple WHERE URL=<req.query.url> type query, to use for a browser extension that tells one if the current YouTube video page is in the ESOVDB. (for curating purposes)
  • Instead of (or perhaps as separate API route, which replaces old videoIds route) performing a full search on the ESOVDB–just perform a cached search on a simplified, cached, reference list of only ESOVDB records with YTIDs and their corresponding ESOVDB and Zotero IDs. (much quicker). Generate this list as part of the daily cache function.
[
    { youTubeID, esovdbID, zoteroKey, dateAdded },
    { youTubeID, esovdbID, zoteroKey, dateAdded },
    { youTubeID, esovdbID, zoteroKey, dateAdded },
    ...
]

@avanavana avanavana changed the title Refactor videos/query endpoint to allow for more params, filterbyformulae, etc. Refactor videos/query endpoint to allow for more params, filterByFormula, etc. Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant