Accept local api call definition from app