This is currently responding with a 404. As you can see have a custom folder structure using year and month subfolders to store show entries… is this compatible with the POST endpoint?
I’ve changed my request as you advised and I’m now able to create a show to the panel.
My request body is as follows
{
"slug": "2024+09+george-s-test-show-new",
"template": "show",
"content": {
"title": "A new test show 2025"
}
}
However, this only creates the show in the the root show directory, whereas I would like it be create in a sub folder of shows, in this case /shows/2024/09 i.e this month.
I am attempting to send the request via a Javascript fetch request. Am I right to think that the page needs to be created first using a the above POST request, then the image uploaded, and then the page patched / field updated with the image that was uploaded?
If you could provide any guidance on this it would be much appreciated.