NFT Metadata
  1. model
NFT Metadata
  • collection
    • list
      GET
    • create
      POST
    • update
      PUT
    • get
      GET
  • model
    • list
      GET
    • create
      POST
    • update
      PUT
    • get
      GET
  • token
    • list
      GET
    • get
      GET
  • logs
    • list
      GET
  • metadata
    • collection-get
      GET
    • token-get
      GET
    • token-update
      PUT
  • version
    GET
  1. model

update

PUT
/models/{id}

Request

Path Params
id
string 
required
Example:
1
Header Params
Authorization
string 
optional
Example:
Bearer {{token}}
Body Params application/json
chainId
string 
required
collectionAddress
string 
required
metadata
object (PartialMetadata) 
required
name
string  | null 
optional
description
string  | null 
optional
imageUrl
string  | null 
optional
animationUrl
string  | null 
optional
externalUrl
string  | null 
optional
properties
optional
Example
{
    "chainId": "ethereum",
    "collectionAddress": "0x",
    "metadata":{
        "name": "unrevealed word",
        "description": "",
        "imageUrl": "https://ipfs.io/ipfs/bafybeiefckaq42pwqozwjtvqufcuj3jnedxpxjulrjlz65y5jjbgks6mvy",
        "animationUrl": "https://ipfs.io/ipfs/bafybeiefckaq42pwqozwjtvqufcuj3jnedxpxjulrjlz65y5jjbgks6mvy",
        "externalUrl": "",
        "properties": {
                "w1": "",
                "w2": "",
                "w3": "",
                "w4": "",
                "w5": ""
            }
    }
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://metadata.dlab.ovh/api/models/1' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "chainId": "ethereum",
    "collectionAddress": "0x",
    "metadata":{
        "name": "unrevealed word",
        "description": "",
        "imageUrl": "https://ipfs.io/ipfs/bafybeiefckaq42pwqozwjtvqufcuj3jnedxpxjulrjlz65y5jjbgks6mvy",
        "animationUrl": "https://ipfs.io/ipfs/bafybeiefckaq42pwqozwjtvqufcuj3jnedxpxjulrjlz65y5jjbgks6mvy",
        "externalUrl": "",
        "properties": {
                "w1": "",
                "w2": "",
                "w3": "",
                "w4": "",
                "w5": ""
            }
    }
}'

Responses

🟢200OK
application/json
Body
object {0}
Example
{}
Modified at 2025-04-11 08:13:14
Previous
create
Next
get
Built with