There needs to be a way to see which assignments are awaiting review

There needs to be a way to see which assignments are awaiting review in the API.

Previously, I was just filtering by available_at < now, plus not hidden. However, as of a couple days ago, that no longer works, because 又 was moved to level 51, but still shows as an available review. This means that the number of assignments awaiting review returned by the API is now two higher than the actual number of reviews shown on WK itself.

2 Likes

Do you use the api endpoint '/assignments?immediately_available_for_review’?

1 Like

I definitely use this for my review display and I don’t have an issue with it. Did you have 又 as a review when the change happened?

Yes, I did.

Ah, smells like a bug

1 Like

The problem with this is that I want to see how many reviews will be available at a given point in time in the future as well. As far as I can tell, there is no way to do this with the API currently.

Previously, filtering on hidden and available_at worked, but this breaks whenever items are moved between levels (most recently with ε…¬ε‘Š and 又).