Log poem read
log_poem_readRecords that the reader read a poem from the ReadingRate collection, adding one read to its count. Poems the reader returns to often rank higher in get_poetry_reading_stats, and recent reads can feature in their daily reading connections. A work in sections, such as an epic, is logged one section at a time.
Use when the reader says they read or reread a poem, or asks to mark one as read. Each call adds one more read.
Examples:
{"identifier": "wyatt/whoso-list-to-hunt"}
{"identifier": "milton/paradise-lost", "section": 1}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| section | No | Section number; required for a work in sections | |
| identifier | Yes | The poem's anchor ("poet/poem") or slug, as for get_poem |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poem | No | ||
| anchor | Yes | What was logged: the whole work, or one section of it | |
| read_at | No | ISO 8601 | |
| success | Yes | ||
| read_count | Yes | Times the reader has now read this poem |