public CallRet Delete(string key) { string entryURI = BucketName + ":" + key; string url = Config.RS_HOST + "/delete/" + Base64UrlSafe.Encode(entryURI); return(Conn.Call(url)); }
public StatRet Stat(string key) { string entryURI = BucketName + ":" + key; string url = Config.RS_HOST + "/stat/" + Base64UrlSafe.Encode(entryURI); CallRet callRet = Conn.Call(url); return(new StatRet(callRet)); }
public GetRet GetIfNotModified(string key, string attName, string hash) { string entryURI = BucketName + ":" + key; string url = Config.RS_HOST + "/get/" + Base64UrlSafe.Encode(entryURI) + "/attName/" + Base64UrlSafe.Encode(attName) + "/base/" + hash; CallRet callRet = Conn.Call(url); return(new GetRet(callRet)); }
public PutFileRet SaveAs(string url, string specStr, string key) { string entryURI = BucketName + ":" + key; url = url + specStr + "/save-as/" + Base64UrlSafe.Encode(entryURI); CallRet callRet = Conn.Call(url); return(new PutFileRet(callRet)); }
public CallRet Publish(string domain) { String url = Config.RS_HOST + "/publish/" + Base64UrlSafe.Encode(domain) + "/from/" + BucketName; return(Conn.Call(url)); }
public PutAuthRet PutAuth() { CallRet callRet = Conn.Call(Config.IO_HOST + "/put-auth/"); return(new PutAuthRet(callRet)); }
public CallRet MkBucket() { string url = Config.RS_HOST + "/mkbucket/" + BucketName; return(Conn.Call(url)); }
public CallRet Drop() { string url = Config.RS_HOST + "/drop/" + BucketName; return(Conn.Call(url)); }
public CallRet Unpublish(string domain) { string url = Config.RS_HOST + "/unpublish/" + Base64UrlSafe.Encode(domain); return(Conn.Call(url)); }