Badge info

Get badge info

GET /api/v1/oauth2/badge/detail

Query Parameters

Name
Type
Description

contract_address*

String

Badge contract address

Headers

Name
Type
Description

Access-Token*

String

access token

{
    "code": 200,
    "data": {
        "badges_logo": "https://metis.memosync.org:6083/matrix-test/689c57ebcc184958876577730924c170.png",
        "banner": "https://metis-middleware-us-east-2.s3.amazonaws.com/7f41ff77055f41eb9df973624dcfe535",
        "chain_id": 599,
        "claim": "43243\n432\n432\n432", //how to claim content
        "claimed": 0,
        "contract_address": "0xdf58C11e624565ea718672A78134352f3e2cF31B",
        "contract_id": "6441237e6d81a897ea453c5a",
        "contract_name": "TATEEWAA",
        "dapp_id": "64366b5f6d81a823acdb7aab",
        "dapp_logo": "https://metis-middleware-us-east-2.s3.amazonaws.com/3a51f3d67fa559abbcd044ed1106bbe3",
        "dapp_name": "MMTest",
        "discord_url": null,
        "eligibility": "32323",
        "event_url": "https://matrix-nft-cliam.preview.staging.metisdevops.link/views/nft?nid=0xdf58C11e624565ea718672A78134352f3e2cF31B",
        "introduction": "232323232",
        "levels": [
            {
                "badge_glass_uri": "",
                "badge_glass_url": "",
                "badge_no_glass_uri": "",
                "badge_no_glass_url": "",
                "badge_uri": "689c57ebcc184958876577730924c170.png",
                "badge_url": "https://metis.memosync.org:6083/matrix-test/689c57ebcc184958876577730924c170.png",
                "desc": "",
                "glass_open": 0,
                "internal_note": "",
                "level": 1,
                "min_rp": 1,
                "name": "TATEEWAA",
                "rp": 34
            },
            {
                "badge_glass_uri": "",
                "badge_glass_url": "",
                "badge_no_glass_uri": "",
                "badge_no_glass_url": "",
                "badge_uri": "22253c3dc0464efa8dca9ee4c0ca7b4b.png",
                "badge_url": "https://metis.memosync.org:6083/matrix-test/22253c3dc0464efa8dca9ee4c0ca7b4b.png",
                "desc": "",
                "glass_open": 0,
                "internal_note": "",
                "level": 2,
                "min_rp": 35,
                "name": "TATEEWAA",
                "rp": 45
            }
        ],
        "mb_banner": "https://metis-middleware-us-east-2.s3.amazonaws.com/7578cc3d2e0f4dc7b2dcfccb910200a0",
        "mint_start_date": "",
        "mint_start_date_ts": 0,
        "nft_name": "TATEEWAA",
        "pc_banner": "https://metis-middleware-us-east-2.s3.amazonaws.com/83f8aa57cd6148f9b4c7ec76caa37dea",
        "quest_list": [
            {
                "issueMethod": "QR code/url",
                "quest": "11",
                "rp": "1"
            }
        ],
        "rp": 1,
        "telegram_url": null,
        "total_supply": 0,
        "twitter_url": null,
        "version": "V2"
    },
    "msg": ""
}

Get badge quest list

GET /api/v1/oauth2/badge/quest_list

Headers

Name
Type
Description

Access-Token*

String

access token

Request Body

Name
Type
Description

contract_address*

Array

badge contrct address with array

{
    "code": 200,
    "data": [
        {
            "contract_address": "0x4726a8732a64f1ba73f67b2b00378869ab399d08",
            "quest_list": []
        },
        {
            "contract_address": "0xbc3443409e992b8c379b7971e48e925ab2eb3ebc",
            "quest_list": [
                {
                    "issueMethod": "QR code/url",
                    "quest": "121",
                    "rp": "1"
                },
                {
                    "issueMethod": "QR code/url",
                    "quest": "21",
                    "rp": "3"
                }
            ]
        },
        {
            "contract_address": "0xce79bdf26e0640e29b3e465a37da3082bdc2a27f",
            "quest_list": [
                {
                    "issueMethod": "QR code/url",
                    "quest": "111",
                    "rp": "111"
                },
                {
                    "issueMethod": "QR code/url",
                    "quest": "22",
                    "rp": "22"
                },
                {
                    "issueMethod": "QR code/url",
                    "quest": "33",
                    "rp": "33"
                }
            ]
        }
    ],
    "msg": ""
}

Last updated