public vs private api