include endpoints when fetching api by id