Hi, in the example project provided I was wanted to access the notes content via the api but I canāt seem to find a way of doing that. Is it possible to access content via the api?
I was thinking it would be nice to use Kirby as an CMS but have a iOS app accessing the content via the api.
Hi, thank you for the quick reply. I have had a look at the docs. I couldnāt see what I was trying to achieve in there. Could it be I have to use a custom collection or model which is currently saying: Docs are coming soonā¦?
Looking at the part which says:
$this->kirby();
$this->site();
$this->page($pageId);
$this->file($pageId, $filename);
$this->user($userId = null);
$this->users();
I was expecting one which said something like $this->content but could be way off.
Anyone has solved out this issue? Experiencing the exact same issue here. A bit frustrated here, as I always receive the code 404 via API and I donāt think the docs are particularly helpful for this matter.
i remember this being discussed on slack once. it might depens how your localhost setup is created and how authentification is done. have you tried uploading it to an apache/nginx server online?
can you tell us more about your localhost? mamp, xamp, php-router,ā¦ ?
We didnāt manage to figure this out in the time we had been given to find a solution for a few upcoming projects in the office, so sadly we had to bounce on to Cockpit cms for those. Will follow this thread and hopefully get to use Kirby in the future for something.