Closed kolja-lucht closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
potter-db-docs | ✅ Ready (Inspect) | Visit Preview | Oct 30, 2023 6:50pm |
Found another small thing to fix @danielschuster-muc :)
Just curious: How would you query the characters' endpoint when using
[name_eq]
? I tried a few things but never got any results back...
https://api.potterdb.com/v1/characters?filter[name_eq]=Harry+James+Potter
this should work
Summary
While working on the documentation I tried out some of the example API requests. I noticed that
https://api.potterdb.com/v1/characters?filter[name_eq]=Weasley
doesn't return anything (I'm assuming because the character's name consists of first name and last name).Also the paragraph mentions
[name_cont]
. That's why I'm tweaking it slightly to use[name_cont]
to fix this small inconsistency and to give users an example that actually returns something.Related Issues
n/a
Checklist
Additional information
Just curious: How would you query the characters' endpoint when using
[name_eq]
? I tried a few things but never got any results back...