added term resource to api