Add Api::get_opt
for better existence handling
#809
Merged
Api::get_opt
for better existence handling
#809