@falcon.before(require_scope, 'read:texts')
def on_get(self, _, resp: falcon.Response, genre: str, category: str, index: str, stage: str, name: str) -> None:
    chapter_id = create_chapter_id(genre, category, index, stage, name)
    chapter = self._corpus.find_chapter(chapter_id)
    resp.media = ApiChapterSchema().dump(chapter)
@falcon.before(require_scope, 'read:texts')
def on_get(self, _, resp: falcon.Response, genre: str, category: str, index: str, stage: str, name: str) -> None:
    chapter_id = create_chapter_id(genre, category, index, stage, name)
    chapter = self._corpus.find_chapter(chapter_id)
    resp.media = ApiChapterSchema().dump(chapter)