Hello,

I'm working on different things around backdropcms. And one is to be able to create a mobile application that displays posts and/or allows administration from a smartphone.

I saw that there were 2 modules : headless and services
Are they necessary or are there possibilities directly in core?

 

Thanks for your help.

Dominique.

Comments

I don't think you can do this in core. When the API is referenced, it is an internal API that modules loaded with Backdrop can hook into. Headless or services may be the way to go. I did briefly look at services but it wasn't suitable for my use case so I dropped it.

Something that may do what you need in a different way for the posts is views_json. I think you may find headless administration more of a challenge to do securely, but the admin interface is passable for basic tasks on mobile.

There is also the module restws (which has a PR that fixes some security issues). I believe that will get merged soon, and probably a first release will happen, making that module another option.

https://github.com/backdrop-contrib/restws

Hello,

Sorry, I forgot to thank you for your responses. So thank you for your help.

Dominique.