Add trail resource to api