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

[Bug]: API give only 100 images when there are over 100 on the creators Pages #924

Open
Confuzu opened this issue Jan 4, 2024 · 1 comment
Labels
bug-report Something might not be working

Comments

@Confuzu
Copy link

Confuzu commented Jan 4, 2024

What happened?

Normal API query
https://civitai.com/api/v1/images?username=WTFusion
The API response gives only the First page with 100 Images and nextCursor null

Steps to reproduce the problem

  1. Go to https://civitai.com/api/v1/images?username=WTFusion
  2. Scroll down it says nextCursor null

What should have happened?

should give me all the Images from the Creator WTFusion.

metadata.nextCursor number The id of the first image in the next batch
metadata.currentPage number The the current page you are at (if paging)
metadata.pageSize number The the size of the batch (if paging)
metadata.nextPage string The url to get the next batch of items

What platforms do you use to access the site?

Linux

What browsers do you use to access the site?

Mozilla Firefox

Additional information, context and logs

No response

@Confuzu Confuzu added the bug-report Something might not be working label Jan 4, 2024
@FaultierSP
Copy link

It is in the documentation:
https://github.com/civitai/civitai/wiki/REST-API-Reference#get-apiv1images

The number of results to be returned per page. This can be a number between 0 and 200. By default, each page will return 100 results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Something might not be working
Projects
None yet
Development

No branches or pull requests

2 participants