Nuvo Documentation
  • Nuscriptions
    • Overview
    • Quick Guide
      • How to mint
        • Step 1 - Connect account
        • Step 2 - Mint
        • Step 3 - Check owned tokens
        • Step4 - Check my account
    • What's different
    • Protocol
      • Hotfix1
    • Indexer
    • Frontend
      • Step-by-Step Instructions
      • Feedback and Notifications
    • Marketplace
      • Auction
      • Spot
      • Derivatives
    • API
      • Overview
      • Get Balance of an Inscription for an address
      • Get Next ID for Minting
      • Get Delegation Amount
      • CheckID Availability
      • Get Status of an Transaction
      • Inscription Existence Verification (id)
      • List Owned Tokens
      • Get Deployment Details
      • Get Mint Amount
      • Get Token Owner
      • Get Transaction History of a Token
      • List All Minted Inscriptions
      • Inscription Existence Verification (tx_hash)
      • Construct Deployment Message
      • Construct Mint Message
      • Construct Transfer Message
      • Get Tokens
      • Get Number of Holders for Ticker
  • Nuvosphere
  • Get Started
    • Product Guides
      • Reputation Power Web 3.0 for Dapp Owners
      • How does Reputation Power work
      • Who are our customers
      • Where to Get Started with
      • Navigate to NuvoOne
        • How to create a dapp
        • How to design an NFT badge
        • How to issue NFT Badge and set up the campaign
      • Navigate to NuvoMe
      • Navigate to NuvoID
      • Navigate to NuvoBadge Claim
    • Demo videos
      • NuvoID_Introduction
      • NuvoMe_Claim event badge
      • NuvoOne_Introduction
      • NuvoOne_Web2 integrated with Nuvo
      • NuvoOne_Login
      • NuvoOne_Create Dapp
      • NuvoOne_Deploy Badge
      • NuvoOne_Campaign
      • NuvoOne_Manage Distribution
    • Step by Step guide to Issue Nuvo Badge
      • Access Nuvo One test environment
      • Create a new application
      • Issue Nuvo Badge
      • Distribute Nuvo Badge
      • Deploy the Nuvo Badge Project on Testnet
      • Repeat The Process on Nuvosphere Production Environment
  • Developer Guide
    • API List
      • Oauth2 Authorization
        • Dapp APIs
          • Get Dapp info
          • Get Dapp list
        • Badge APIs
          • Badge info
          • Badge claim
          • Badge favourite
        • User APIs
          • Get Eth Address with Name
          • Get Eth Address with NuvoID
          • Get user info
        • Wallet APIs
          • Token Transfer
            • Get latest price
            • Get token transfer list
            • Save token transfer info
            • Get transaction info
            • Get SDK transaction record
            • Get transfer list
          • Domain Transaction
            • Get chain URL
            • Get balance
            • Verify wallet pwd
            • Confirm transaction
            • Initiate transaction
        • NFT Badge Deploy
          • Deploy NFT Badge
          • Dapps NFT deployed list
          • Dapp Promotion
          • Upload Image
          • Update Dapp Promotion
          • Deployed NFT Badge List
          • NFT Detail
          • NFT Promotion
          • Update NFT Promotion
          • Update NFT Name
          • Update NFT start time & end time
          • Update NFT Badge Images
        • Badge Issuer
          • Set NFT Mint Permission
          • Badge Issue List
          • Update NFT Badge Issue Info
          • NFT Badge Upgrade Setup
          • NFT Badge Mint
      • Oauth2 Owner
        • Dapp management
          • Create Dapp
          • Update Dapp
          • Delete Dapp
          • Get Dapp List
          • Get Dapp Detail
        • Domain management
          • Create Domain
          • Get Domain
          • Update Domain
          • Delete Domain
        • Badge Issuer
          • NFT Badge Mint
          • Update NFT Properties
          • Badge Detail
          • Deployed NFT Badge List
          • Upload Image
          • Deploy NFT Badge
          • NFT RP Upgrade
          • Badge Query Data
        • User APIs
          • User Registration
          • Dapp Registration user list
    • SDK
    • Integration Center
    • BLS Wallet
    • MPC Wallet
    • NuvoBadge Graph
      • Introduction
      • Graph Schemas
        • NftBadgeEntity
        • DappEntity
        • UserEntity
        • UserDappMap
        • UserBadgeMap
  • Announcement
    • Nuvo Reputation Power explanation and FAQ
    • NuvoBadge Protocol
  • troubleshooting
    • Why MetaMask cannot connect to Nuvo
Powered by GitBook
On this page
  • Badge collection
  • Get user badge collection list
  • check badge collection status
  1. Developer Guide
  2. API List
  3. Oauth2 Authorization
  4. Badge APIs

Badge favourite

PreviousBadge claimNextUser APIs

Last updated 1 year ago

Badge collection

POST /api/v1/oauth2/user/favorite_badge

For user used wallet mint transaction

Headers

Name
Type
Description

Access-Token*

String

access token

Request Body

Name
Type
Description

contract_address*

String

badge contract address

favorite

Boolean

default =true false when you want to cancel the collection

{
    "code": 200,
    "data": "favorite success",
    "msg": ""
}

Get user badge collection list

GET /api/v1/oauth2/user/favorite_badge

For ex: "" The code before "," is the badge address. While after"," is the code address

Query Parameters

Name
Type
Description

page_size*

String

page_no*

String

Headers

Name
Type
Description

Access-Token*

String

access token

{
    "code": 200,
    "data": {
        "data": [
            {
                "badges_logo": "https://metis.memosync.org:6083/matrix-test/c80f9830fdb24dee9df772027aa74f24.png",
                "contract_address": "0xce79bdf26e0640e29b3e465a37da3082bdc2a27f",
                "dapp_id": "64358e2c6d81a80a8f79a2a1",
                "levels": [
                    {
                        "badge_glass_uri": "",
                        "badge_glass_url": "",
                        "badge_no_glass_uri": "",
                        "badge_no_glass_url": "",
                        "badge_uri": "c80f9830fdb24dee9df772027aa74f24.png",
                        "badge_url": "https://metis.memosync.org:6083/matrix-test/c80f9830fdb24dee9df772027aa74f24.png",
                        "desc": "",
                        "glass_open": 0,
                        "internal_note": "",
                        "level": 1,
                        "min_rp": 1,
                        "name": "Test11",
                        "rp": 10
                    }
                ],
                "nft_name": "Test11",
                "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"
                    }
                ],
                "version": "V2"
            }
        ],
        "page_no": 1,
        "page_size": 10,
        "total": 1
    },
    "msg": ""
}

check badge collection status

POST /api/v1/oauth2/user/badge/check_favorite

Headers

Name
Type
Description

Access-Token*

String

access token

Request Body

Name
Type
Description

contract_address*

String/Array

badge conract

{
    "code": 200,
    "data": {
        "0x88f8ff6c7259031303c146cb7caa3a24055cdbb7": true,
        "0xbc3443409e992b8c379b7971e48e925ab2eb3ebc": true,
        "0xce79bdf26e0640e29b3e465a37da3082bdc2a27f": true
    },
    "msg": ""
}
http://me.nuvosphere.io/#/claim-badge?code=0x88f8ff6c7259031303c146cb7caa3a24055cdbb7,0ca2e6b4f2be922270dda4e95dcc3c03