plone / plone.restapi

RESTful API for Plone.
http://plonerestapi.readthedocs.org/
85 stars 75 forks source link

Can't get the real site title as an anonymous user #1415

Closed JeffersonBledsoe closed 2 years ago

JeffersonBledsoe commented 2 years ago

Currently, there doesn't seem to be an out-the-box way of querying the site title. I ran some queries agains the site root with Volto, Plone 6 classic and Plone 5.2 and got the following results:

I asked this question on the Plone forum recently, and while I was suggested an addon (cusy.restapi.info) to be able to get the 'real' site title, it seems this functionality should be included in the core REST API.

https://github.com/plone/plone.restapi/blob/49cc786159acb2d152117aa77d8511a97345c630/src/plone/restapi/serializer/site.py#L65

JeffersonBledsoe commented 2 years ago

Superseded by #1462