Add resource definition endpoint