fimfiction-issues
fimfiction-issues copied to clipboard
API including chapters does not include unpublished chapters
GET /api/v2/users/me/stories?include=chapters
GET /api/v2/stories/:id?include=chapters
The above endpoints only return published chapters in the included
field. And yet, GET /api/v2/stories/:id/chapters
does return unpublished chapters (but not the story data, so two requests are required to get all the information), and GET /api/v2/users/me/stories
does include unpublished stories. Per knighty in the Discord chat on July 26, unpublished chapters should be included as well.
Update: Just tested, it is still the case that include
will not pull in unpublished chapters.