Add resources to api.