Add a New Image
This method allows you to append a new image to an existing item at a specified index and optionally set the newly appended image as the primary image.
Add a new image
Adds a new image to an items otherImage's array
POST
https://api.alturanft.com/api/v2/item/append_images
Takes an item's collection address, tokenId, a property name, an imageUrl and your API key and appends a new image to the item's otherImage array
Query Parameters
Name
Type
Description
apiKey*
String
Your API key
Request Body
Name
Type
Description
address*
String
The item's collection address
tokenId*
Integer
The item's tokenId
imageUrl*
String
The url of the image/video to add
imageIndex*
Int
The index that the image should be inserted into
setAsPrimary
Boolean
Boolean to set the newly appened image as the items primary image
Last updated