Open linusrogge opened 2 months ago
In addition to this, finding the API documentation on getkirby.com was a little bit of work.
I wanted to get to https://getkirby.com/docs/reference/api/pages/children-create, but clicking on API → Pages
in the Reference sidebar leads me to https://getkirby.com/docs/reference/objects/cms/api/pages instead. Managed to get to the page via search, after all.
This also seems to be an issue with API → Site
and API → Users
.
Thanks for reporting this. I have already fixed the API reference links.
Description
When using the API route
/api/pages/:id/children
to create a page, the API returns an error even though the page is still created.Using localhost
Using live site
Expected behavior
The API should respond with a success message, using a code between 200 and 299
To reproduce
/api/pages/:id/children
(eg. with Postman) to POST a new page with basic data302
responseYour setup
Kirby Version
Tried using both
v4.4.0
andv4.3.1
(due to redirect errors mentioned in #6676).Your system (please complete the following information)