-
Notifications
You must be signed in to change notification settings - Fork 0
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
Complete webhook updates #61
Comments
Cache clearing code now exists! should be called by otindex. {API base URL}/clear_cache_keys/{key OR regular expression} Example: https://devapi.opentreeoflife.org/clear_cache_keys/^clearme.* @jimallman What would clearing the study list for the curator look like? (https://api.opentreeoflife.org/cached/v3/studies/find_studies verbose=true) |
Try the new API method, i.e. |
Right after that, call https://devapi.opentreeoflife.org/cached/find_studies, to refresh the cache. |
That refresh call probably needs some additional query-string args; see the footer details on devtree curator... |
@snacktavish OK, here's a (simplified) cURL call that's equivalent to what the web-app actually requests.
The more closely you can match this call, the more likely you'll populate the cache with a complete and correct cache key. |
Studies github webhook route is working - but isn't checking that the docstore matches
https://github.com/OpenTreeOfLife/otindex/blob/webhook/otindex/views.py#L277
Also, route for taxon amendments doesn't exist yet.
(although I started a stub)
The text was updated successfully, but these errors were encountered: