public BasicJSONResponse DeleteImageAsset(string imageAssetID) { BasicJSONResponse result = new BasicJSONResponse(); RestResponse response; string signature = this.Signer.CreateSignature("DELETE", "deleteimageasset", new List<string>() { imageAssetID }); response = this.ExecuteDELETEWithAuthorization("/imageasset?imageAssetID=" + imageAssetID, signature); result = JsonConvert.DeserializeObject<BasicJSONResponse>(response.Content); return result; }
public BasicJSONResponse MoveImageAssetUp(string imageAssetID) { StringBuilder query = new StringBuilder(); BasicJSONResponse result = new BasicJSONResponse(); RestResponse response; string signature = this.Signer.CreateSignature("GET", "moveimageassetup", new List<string>() { imageAssetID }); query.Append("/imageasset/"); query.Append(imageAssetID); query.Append("/moveup"); response = this.ExecuteGETWithAuthorization(query.ToString(), signature); result = JsonConvert.DeserializeObject<BasicJSONResponse>(response.Content); return result; }