edit_collection_folder: Edit a folder’s metadata.

Description Usage Arguments Details Examples

View source: R/Collection.R

Description

Edit a folder’s metadata.

Usage

1
2
3
4
5
6
edit_collection_folder(
 username,
 folder_id
 token,
 name = ""
)

Arguments

username

String containing a valid username

folder_id

Valid identifier for a folder

token

Token object obtained from authorize() or a string containing your personal access token

name

(optional) Name for the folder

Details

Folders 0 and 1 cannot be renamed. Authentication as the collection owner is required.

Examples

1
2
token <- authorize("key", "secret")
edit_collection_folder("username", 3, token, name = "new_folder_name")

Pascallio/discogsAPI documentation built on Dec. 31, 2020, 3:27 p.m.