Use of the /Metadata Endpoint

You can use the /metadata endpoint to request a list of supported document types, or a list of filter and selection fields by document type. These fields and document types can be used to create custom view templates.