Rename endpoints to resources

see:
https://github.com/interagent/pliny/pull/23