added amendments API endpoint