Export all doc types:
Export one doc type:
Export all doc schemas:
Export one doc schema:
Export all facets:
Export one facet:
Question : do we want some kind of type adapter for the normal document endpoint ?
We have different format / marshaling options when exporting a doctype.
The idea is to export a structure that contains both the doctypes and the schemas .
This is was was done in the nuxeo-doctypes-io.
This structure is handy when you want to introspect everything in one call : typically this was the initial use case for Mule connector.
For other use case, we may want to retrieve a definition from a single doc type and have evything embedded inside the same entity :
The inline schemas could also be returned as simple urls pointing to the schema end point