-
Notifications
You must be signed in to change notification settings - Fork 4
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
moving labs API iiif catalog to prod service #67
base: main
Are you sure you want to change the base?
Conversation
}, allow_redirects=True, timeout=None) | ||
def getids(q, limit=1000, cursor='', page=1): | ||
q = request.args.get('q', '') | ||
query = "(mediatype:(texts) OR mediatype:(image))" + \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about AV items?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The currently deployed version of labs uses this exact code -- we could expand it to include AV though this may be useful as a followup PR
The two times we use the getids method is:
|
Archivelab: https://iiif.archivelab.org/iiif/ This doesn't work: |
Need to point this to the spring-2024 branch and get the fix deployed for testing. |
https://iiif.archive.org/iiif/ and https://iiif.archivelab.org/iiif/ both work for me, this may have been an ephemeral issue. https://iiif.archivelab.org/iiif/collection.json definitely seems broken and needs investigation |
This PR has been hacked together as a proof of concept and not tested but should be useful in closing: