How to build REST API on Zope5

I would like to build a REST API on Zope5. Are there products or python packages commonly used by Zope developers? Would appreciate for any materials.

Why Zope? Use a modern Python framework like FastAPI for building decent REST applications and services. Zope basically lacks all you need for building REST services in a reasonable way. Just don't do it - unless you have very serious reasons.

Thank you for your reply. What you told me is totally true. If I create a REST API itself, I will use other tools. However, I have a requirement to easily call Zope objects from a REST API. So I wanted to know if there was a way to easily integrate a REST API into Zope.

Best guess: look at the implementation of plone.restapi for inspiration.

1 Like

Thank you for the advice. I'll check it.

plone.rest as the base implementation does only depend on CMFCores site-root concept. Other parts are core Zope. However, tests are depending on plone.dexterity.

1 Like

Thank you for your help. It suits my requirement of creating HTTP/REST endpoints on Zope.