aapi samples