fimfiction-issues icon indicating copy to clipboard operation
fimfiction-issues copied to clipboard

API including chapters does not include unpublished chapters

Open Lithl opened this issue 7 years ago • 1 comments

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.

Lithl avatar Sep 11 '17 19:09 Lithl

Update: Just tested, it is still the case that include will not pull in unpublished chapters.

Lithl avatar Jan 28 '20 22:01 Lithl