static async public Task <Subscription> Update(Api api, ISubscribable item, UpdateSubscriptionsList updates) { return(await api.PutAsync <Subscription>(Api.UriToApi(item.SubscriptionUrl), null, updates)); }
static async public Task <Subscription> Update(Api api, long projectId, long recordingId, UpdateSubscriptionsList updates) { return(await api.PutAsync <Subscription>(Api.Combine("buckets", projectId, "recordings", recordingId, "subscription"), null, updates)); }