Update NFT Properties

Update NFT Properties

POST /api/v1/oauth2-app/update_nft_properties

Headers:

appid: application id

appkey: application key

Request Body

Name
Type
Description

contract_address*

String

contract address

collection*

String

category

time_zone*

String

Format must be: +/-HH:mm

start_date_ts*

String

Seconds timestamp, 0: Not Limit

expiry_date*

String

Seconds timestamp, 0: Not Limit

levels*

String[]

{

"name":"level 1 badge name",

"min_rp": 1,

"max_rp": 10,

"badge_uri":/api/v1/oauth2-app/upload_badge_image uri",

"desc":"description",

"internal_note": "internal note"

},

{
  "code": 200,
  "data": {
    "app_id": "634e5645b2a1453908b37ef4",
    "chain_id": 599,
    "collection": "",
    "contract_address": "0xfC2591363b18dfxxxxxxxxx",
    "contract_logo": "https://metis.memosync.org:6083/matrix-test/05baad0e71204a86b9dffe727c489f89.png",
    "contract_name": "NFT0526-01",
    "created": 1685063352,
    "dapp_name": "app5 ",
    "expiry_date_ts": 0,
    "has_promotion": false,
    "id": "6470776fe6c1d565b87ffaa4",
    "level_count": 2,
    "levels": [
      {
        "badge_uri": "05baad0e71204a86b9dffe727c489f89.png",
        "badge_url": "https://metis.memosync.org:6083/matrix-test/05baad0e71204a86b9dffe727c489f89.png",
        "desc": "",
        "internal_note": "",
        "level": 1,
        "max_rp": 11,
        "min_rp": 1,
        "name": "NFT0526-01",
        "rp": 11
      },
      {
        "badge_uri": "3025356e78054035987de7f14296b7c9.png",
        "badge_url": "https://metis.memosync.org:6083/matrix-test/3025356e78054035987de7f14296b7c9.png",
        "desc": "",
        "internal_note": "",
        "level": 2,
        "max_rp": 22,
        "min_rp": 12,
        "name": "NFT0526-01",
        "rp": 22
      }
    ],
    "name": "NFT0526-01",
    "nft_name": "NFT0526-01",
    "promotion_group": "",
    "rp": 1,
    "start_date_ts": 0,
    "time_zone": "+08:00",
    "version": "V2"
  },
  "msg": ""
}

Last updated