Comments (1)
This issue is still present when applying the following query parameters and utilizing nextCursor: username, limit, sort, nsfw
Example:
-
First 50 models by the user, novowels:
https://civitai.com/api/v1/models?username=novowels&limit=50&sort=Newest&nsfw=true -
Next 50 (nextCursor at the time of reporting):
https://civitai.com/api/v1/models?limit=50&nsfw=true&sort=Newest&username=novowels&cursor=2024-03-10T21%3A35%3A22.332Z -
First 100 models by nochekaiser881:
https://civitai.com/api/v1/models?username=novowels&limit=100&sort=Newest&nsfw=true
Utilizing the nextCursor on the API query with First 50 to retrieve the Next 50, the 51st model from the First 100 API query is missing from the Next 50. Exhausting the nextCursor function until completion, there are the same amount of missing models as there were nextCursors provided.
Additional troubleshooting...
Things get quite strange when troubleshooting this with another user, nochekaiser881:
- First 50 models by the user, nochekaiser881:
https://civitai.com/api/v1/models?username=nochekaiser881&limit=50&sort=Newest&nsfw=true - Next 50:
https://civitai.com/api/v1/models?limit=50&nsfw=true&sort=Newest&username=nochekaiser881&cursor=2024-04-02T00%3A01%3A11.724Z - First 100:
https://civitai.com/api/v1/models?username=nochekaiser881&limit=100&sort=Newest&nsfw=true
The 51st model and ongoing from the Next 50 do not follow the same ordered listing as the First 100 API query, despite using the sort parameter. Nothing about this API query is different from the first example apart from the username (and nextCursor of course).
from civitai.
Related Issues (20)
- [Bug]: NEXT_PUBLIC_CIVITAI_LINK: Invalid url
- [Bug]: Favoriting a model fails with an error in the development console
- [Bug]: Get Models using `cursor` query parameter returns 500 Internal Server Error HOT 3
- [Bug]: API model pagination is broken
- [Bug]: Can't create account on localhost
- [Bug]: API `models` endpoint problems. HOT 1
- [Bug]: Error: s3 bucket var missing HOT 5
- [Bug]: `nsfw` parameter/return broken on Public API HOT 2
- [Bug]: GET /api/v1/models/:modelId HOT 14
- [Bug]: image API is not returning images at requested nsfw level HOT 1
- [Bug]: API /model does not list my favorited models
- [Bug]: No modelVersions.createdAt reponse field
- [Bug]: API pagination is broken HOT 1
- [Bug]: Get Model information by API is miss creator fields HOT 1
- [Bug]: Slow Download Speed into Failed Download
- [Bug]: DORAs should be treated the same as LORAs for keeping the filename
- [Bug]: Original image is can't return correct content-type
- [Bug]: DB error when uploading image in post HOT 1
- [Bug]: image meta disparity between API and actual HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from civitai.