Topic: [Bug] API set index returns post list in json

Posted under Site Bug Reports & Feature Requests

Bug overview description.
Json api for set index returns returns list of posts for each set. It makes loading really slow.

What part(s) of the site page(s) are affected?
JSON api

What is the expected behavior?
https://e621.net/wiki/show/e621:api#sets

What actual behavior is given instead?
There extra "posts" field in json object which contains list of all posts in sets.

Time of incident (if applicable).
Today

Can you reproduce the bug every time?
Yes

What steps did you take to replicate this bug?
I opened https://e621.net/set/index.json?user_id=16311 and https://e621.net/set/index.xml?user_id=16311 (with additional login parameters) in browsers and python script, and noticed difference in response time.

Errors or other messages returned (if any).
None

  • 1