đĒUpdate Collection
Use this method to update a collection's metadata
Usage in your script
Member Functions
.Initialize()
Parameter
Type
Required
Description
destroyAtEnd
bool
Optional
defines if this component will be destroyed after .Run()
.SetParameters()
Parameter
Type
Required
Description
address
String
Yes
Collection address
image
String
Yes
new image URL
image_url
String
Yes
new image URL
description
String
Yes
new description for the project
website
String
Yes
Website of the collection
genre
String
Yes
Type of the collection
.onError()
Action on Error: returns error information.
.onComplete()
Action on successful: returns Collection_model
type.
.Run()
Runs the API call and fills the corresponding model in the component on success.
Last updated