AnyVision interview question

design some API for adding/removing/updating items