Update API.md

This commit is contained in:
Tetrakern 2023-02-18 15:38:52 +01:00
parent cd497bbd10
commit f0f4cabaa6

5
API.md
View File

@ -10,7 +10,7 @@ GET /wp-json/storygraph/v1/story/<id>
| Argument | Description |
| :-- | :-- |
| id | ID of the story.
| id | ID of the story. Required.
### Schema
@ -23,6 +23,9 @@ The following schema defines all fields that can exist within the response, excl
| url `string` | Current URL of the story.
| language `string` | Language code of the story, not necessarily chapters.
| title `string` | Title of the story.
| author `object` | Author node.
| author.name `string` | Author name.
| author.url `string\|null` | Author website.
## Endpoint: Stories