added storage to api

Signed-off-by: Graham Chiu <compkarori@gmail.com>