ino_edit_subscription: Edit subscription

Description Usage Arguments Value References

View source: R/edit-subscription.R

Description

This method is used to rename the subscription, add it to a folder, remove it from folder or unsubscribe from it. You can also subscribe and directly rename it and add it to folder via this method.

Usage

1
2
3
4
5
6
7
ino_edit_subscription(
  action = c("edit", "subscribe", "unsubscribe"),
  stream_id,
  title = NULL,
  add_to = NULL,
  remove_from = NULL
)

Arguments

action

Action. Can be edit, subscribe, or unsubscribe.

stream_id

Stream ID, e.g. feed/http://feeds.arstechnica.com/arstechnica/science

title

Subscription title. Keep NULL to keep the title unchanged

add_to

Add subscription to folder. Use full folder name like user/-/label/Tech. Keep NULL to leave in place.

remove_from
  • Remove subscription from folder. Use full folder name like user/-/label/Tech Keep NULL to leave in place.

Value

(invisibly) subscription edit request result as a classed (ino_edit_sub_res) list

References

Edit subscription


hrbrmstr/inoreadr documentation built on Jan. 1, 2022, 12:14 a.m.