The reason to recomment plone.restapi bug tracker is the error message that the server gives when serializing the Collection schema:
{
"message": "",
"traceback": [
"File \"/home/kitconcept/.buildout/eggs/Zope-4.5.5-py3.8.egg/ZPublisher/WSGIPublisher.py\", line 162, in transaction_pubevents",
" yield",
"",
" File \"/home/kitconcept/.buildout/eggs/Zope-4.5.5-py3.8.egg/ZPublisher/WSGIPublisher.py\", line 371, in publish_module",
" response = _publish(request, new_mod_info)",
"",
" File \"/home/kitconcept/.buildout/eggs/Zope-4.5.5-py3.8.egg/ZPublisher/WSGIPublisher.py\", line 266, in publish",
" result = mapply(obj,",
"",
" File \"/home/kitconcept/.buildout/eggs/Zope-4.5.5-py3.8.egg/ZPublisher/mapply.py\", line 85, in mapply",
" return debug(object, args, context)",
"",
" File \"/home/kitconcept/.buildout/eggs/Zope-4.5.5-py3.8.egg/ZPublisher/WSGIPublisher.py\", line 63, in call_object",
" return obj(*args)",
"",
" File \"/home/kitconcept/.buildout/eggs/plone.rest-2.0.0a1-py3.8.egg/plone/rest/service.py\", line 22, in __call__",
" return self.render()",
"",
" File \"/home/kitconcept/.buildout/eggs/plone.restapi-8.13.0-py3.8.egg/plone/restapi/services/__init__.py\", line 19, in render",
" content = self.reply()",
"",
" File \"/home/kitconcept/.buildout/eggs/plone.restapi-8.13.0-py3.8.egg/plone/restapi/services/types/get.py\", line 114, in reply",
" return self.reply_for_type()",
"",
" File \"/home/kitconcept/.buildout/eggs/plone.restapi-8.13.0-py3.8.egg/plone/restapi/services/types/get.py\", line 136, in reply_for_type",
" schema = get_info_for_type(dtype, self.request, portal_type)",
"",
" File \"/home/kitconcept/.buildout/eggs/plone.restapi-8.13.0-py3.8.egg/plone/restapi/types/utils.py\", line 303, in get_info_for_type",
" schema = get_jsonschema_for_portal_type(name, getSite(), request)",
"",
" File \"/home/kitconcept/.buildout/eggs/plone.restapi-8.13.0-py3.8.egg/plone/restapi/types/utils.py\", line 253, in get_jsonschema_for_portal_type",
" return get_jsonschema_for_fti(",
"",
" File \"/home/kitconcept/.buildout/eggs/plone.restapi-8.13.0-py3.8.egg/plone/restapi/types/utils.py\", line 217, in get_jsonschema_for_fti",
" properties = get_jsonschema_properties(",
"",
" File \"/home/kitconcept/.buildout/eggs/plone.restapi-8.13.0-py3.8.egg/plone/restapi/types/utils.py\", line 177, in get_jsonschema_properties",
" properties[fieldname] = adapter.get_schema()",
"",
" File \"/home/kitconcept/.buildout/eggs/plone.restapi-8.13.0-py3.8.egg/plone/restapi/types/adapters.py\", line 89, in get_schema",
" schema.update(self.additional())",
"",
" File \"/home/kitconcept/.buildout/eggs/plone.restapi-8.13.0-py3.8.egg/plone/restapi/types/adapters.py\", line 286, in additional",
" info = super().additional()",
"",
" File \"/home/kitconcept/.buildout/eggs/plone.restapi-8.13.0-py3.8.egg/plone/restapi/types/adapters.py\", line 277, in additional",
" info[\"items\"] = self.get_items()",
"",
" File \"/home/kitconcept/.buildout/eggs/plone.restapi-8.13.0-py3.8.egg/plone/restapi/types/adapters.py\", line 266, in get_items",
" return value_type_adapter.get_schema()",
"",
" File \"/home/kitconcept/.buildout/eggs/plone.restapi-8.13.0-py3.8.egg/plone/restapi/types/adapters.py\", line 89, in get_schema",
" schema.update(self.additional())",
"",
" File \"/home/kitconcept/.buildout/eggs/plone.restapi-8.13.0-py3.8.egg/plone/restapi/types/adapters.py\", line 437, in additional",
" \"schema\": value_type.get_schema(),",
"",
" File \"/home/kitconcept/.buildout/eggs/plone.restapi-8.13.0-py3.8.egg/plone/restapi/types/adapters.py\", line 69, in get_schema",
" \"type\": self.get_type(),",
"",
" File \"/home/kitconcept/.buildout/eggs/plone.restapi-8.13.0-py3.8.egg/plone/restapi/types/adapters.py\", line 93, in get_type",
" raise NotImplementedError"
],
"type": "NotImplementedError"
}