Document-types endpoints