Add examples for REST api and GCF usage