Issue:
ERPNext does not provide a built-in way to list all API endpoints along with their full metadata. This makes it difficult to know the input/output structure, fields, permissions, and standard CRUD URLs for every DocType.
What I Need:
A method or script to programmatically retrieve all ERPNext API endpoints with their DocType metadata, including fields (type, default, options, mandatory, unique, description), permissions (roles and access rights), and standard CRUD paths (list, create, read, update, delete) so I can generate a complete API reference or documentation.