Add rate limiting to v1 API

Method for resetting limit is currently not being called. This will be
done as part of background process.