Update API.md

This commit is contained in:
Tetrakern 2023-02-18 13:14:21 +01:00
parent 52386160fd
commit b888b30dc7

6
API.md
View File

@ -22,9 +22,9 @@ The following schema defines all fields that can exist within the response, excl
| language `string` | Language code of the _site_, not necessarily stories or chapters.
| storyCount `integer` | Total number of published and visible stories.
| chapterCount `integer` | Total number of published and visible chapters.
| lastPublished `integer|null` | Unix timestamp of the last published story (GMT).
| lastModified `integer|null` | Unix timestamp of the last modified story (GMT).
| stories `object|null` | Paginated collection of stories, ordered by publishing date. See **Story** endpoint.
| lastPublished `integer\|null` | Unix timestamp of the last published story (GMT).
| lastModified `integer\|null` | Unix timestamp of the last modified story (GMT).
| stories `object\|null` | Paginated collection of stories, ordered by publishing date with internal ID as key. See **Story** endpoint.
<details>
<summary><strong>Example Response:</strong> https://fictioneer-theme.com/wp-json/storygraph/v1/stories</summary><br>