Refresh NFT metadata
POST/collections/:token_address/refresh_metadata
Refresh the metadata for all tokens in the collection token_address
, given a list of up to 100 token IDs per request. Request access to the API by following the steps in Refresh NFT metadata on Mavis Market using the API.
Request
Path Parameters
token_address stringrequired
Token contract address.
- application/json
Body
required
token_ids string[]
Possible values: <= 100
Responses
- 200
- 400
- 401
- 403
- 429
OK
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Metadata refresh initiated"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "'Token not found' or 'Too many token ids, max number of token ids allowed is 100"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Invalid authentication credentials"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "You cannot consume this service"
}
Too Many Requests
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "API rate limit exceeded"
}
Loading...
Was this helpful?
Happy React is loading...