Skip to main content

Snag Solutions - API Docs (v 0.1)


What’s Changed


GET /api/auction_bids
Return Type:
Changed response : 200 OK
200
  • Changed content type : application/json
    • Changed property data (array) Changed items (object):
      Schema for a get auction bids response
      • Changed property loyaltyCurrency (object)
        • Changed property apiAuthType (string) Added enum value:
          • apiKey Removed enum value:
          • api_key
GET /api/loyalty/currencies
Return Type:
Changed response : 200 OK
200
  • Changed content type : application/json
    • Changed property data (array) Changed items (object):
      Schema for a loyalty currency
      • Changed property apiAuthType (string)
        Type of authentication used for API
        Added enum value:
        • apiKey Removed enum value:
        • api_key
POST /api/loyalty/currencies
Request:
Changed content type : application/json
  • Changed property apiAuthType (string)
    Type of authentication used for API
    Added enum value:
    • apiKey Removed enum value:
    • api_key
Return Type:
Changed response : 200 OK
200
  • Changed content type : application/json
    • Changed property apiAuthType (string)
      Type of authentication used for API
      Added enum value:
      • apiKey Removed enum value:
      • api_key
GET /api/loyalty/rule_edits
Return Type:
Changed response : 200 OK
200
  • Changed content type : application/json
    • Changed property data (array) Changed items (object):
      • Changed property data (object)
        Data that was changed on the rule
        • Changed property metadata (object)
          Optional metadata for the loyalty rule
      • Changed property previousData (object)
        Previous data of the rule before the edit
        • Changed property metadata (object)
          Optional metadata for the loyalty rule
POST /api/loyalty/rule_edits//restore
Return Type:
Changed response : 200 OK
200
  • Changed content type : application/json
    • Changed property data (object)
      Data that was changed on the rule
      • Changed property metadata (object)
        Optional metadata for the loyalty rule
    • Changed property previousData (object)
      Previous data of the rule before the edit
      • Changed property metadata (object)
        Optional metadata for the loyalty rule
GET /api/loyalty/rule_groups
Return Type:
Changed response : 200 OK
200
  • Changed content type : application/json
    • Changed property data (array) Changed items (object):
      Schema for a get loyalty rule groups response
      • Changed property loyaltyGroupItems (array) Changed items (object):
        • Changed property loyaltyRule (object)
          • Changed property metadata (object)
            • Changed property liquidity (object)
              Liquidity pool details.
              • Changed property network (string)
                Blockchain network of the liquidity pool.
                Added enum value:
                • bscTestnet Removed enum value:
                • bsc_testnet
            • Changed property collection (array)
              Array of collections associated with the rule.
              Changed items (object):
              • Changed property network (string)
                Blockchain network of the collection.
                Added enum value:
                • bscTestnet Removed enum value:
                • bsc_testnet
GET /api/loyalty/rules
Return Type:
Changed response : 200 OK
200
  • Changed content type : application/json
    • Changed property data (array) Changed items (object):
      • Changed property metadata (object)
        Optional metadata for the loyalty rule
POST /api/loyalty/rules
Request:
Changed content type : application/json
  • Changed property network (string)
    Blockchain network where the rule will apply
    Added enum value:
    • bscTestnet Removed enum value:
    • bsc_testnet
  • Changed property metadata (object)
    Additional metadata for the loyalty rule
    • Changed property liquidity (object)
      Liquidity pool details.
      • Changed property network (string)
        Blockchain network of the liquidity pool.
        Added enum value:
        • bscTestnet Removed enum value:
        • bsc_testnet
    • Changed property collection (array)
      Array of collections associated with the rule.
      Changed items (object):
      • Changed property network (string)
        Blockchain network of the collection.
        Added enum value:
        • bscTestnet Removed enum value:
        • bsc_testnet
  • Changed property collections (array)
    List of associated collections
    Changed items (object):
    • Changed property network (string)
      Blockchain network for the collection
      Added enum value:
      • bscTestnet Removed enum value:
      • bsc_testnet
Return Type:
Changed response : 200 OK
200
  • Changed content type : application/json
    • Changed property network (string)
      Blockchain network where the rule will apply
      Added enum value:
      • bscTestnet Removed enum value:
      • bsc_testnet
    • Changed property metadata (object)
      Additional metadata for the loyalty rule
      • Changed property liquidity (object)
        Liquidity pool details.
        • Changed property network (string)
          Blockchain network of the liquidity pool.
          Added enum value:
          • bscTestnet Removed enum value:
          • bsc_testnet
      • Changed property collection (array)
        Array of collections associated with the rule.
        Changed items (object):
        • Changed property network (string)
          Blockchain network of the collection.
          Added enum value:
          • bscTestnet Removed enum value:
          • bsc_testnet
    • Changed property collections (array)
      List of associated collections
      Changed items (object):
      • Changed property network (string)
        Blockchain network for the collection
        Added enum value:
        • bscTestnet Removed enum value:
        • bsc_testnet
POST /api/loyalty/rules/
Request:
Changed content type : application/json
  • Changed property metadata (object)
    Additional metadata for the loyalty rule
    • Changed property liquidity (object)
      Liquidity pool details.
      • Changed property network (string)
        Blockchain network of the liquidity pool.
        Added enum value:
        • bscTestnet Removed enum value:
        • bsc_testnet
    • Changed property collection (array)
      Array of collections associated with the rule.
      Changed items (object):
      • Changed property network (string)
        Blockchain network of the collection.
        Added enum value:
        • bscTestnet Removed enum value:
        • bsc_testnet
  • Changed property network (string)
    Blockchain network where the rule will apply
    Added enum value:
    • bscTestnet Removed enum value:
    • bsc_testnet
  • Changed property collections (array)
    List of associated collections
    Changed items (object):
    • Changed property network (string)
      Blockchain network for the collection
      Added enum value:
      • bscTestnet Removed enum value:
      • bsc_testnet
Return Type:
Changed response : 200 OK
200
  • Changed content type : application/json
    • Changed property metadata (object)
      Additional metadata for the loyalty rule
      • Changed property liquidity (object)
        Liquidity pool details.
        • Changed property network (string)
          Blockchain network of the liquidity pool.
          Added enum value:
          • bscTestnet Removed enum value:
          • bsc_testnet
      • Changed property collection (array)
        Array of collections associated with the rule.
        Changed items (object):
        • Changed property network (string)
          Blockchain network of the collection.
          Added enum value:
          • bscTestnet Removed enum value:
          • bsc_testnet
    • Changed property network (string)
      Blockchain network where the rule will apply
      Added enum value:
      • bscTestnet Removed enum value:
      • bsc_testnet
    • Changed property collections (array)
      List of associated collections
      Changed items (object):
      • Changed property network (string)
        Blockchain network for the collection
        Added enum value:
        • bscTestnet Removed enum value:
        • bsc_testnet
GET /api/minting/assets
Parameters:
Changed: network in query
Network
GET /api/minting/status/
Return Type:
Changed response : 200 OK
200
  • Changed content type : application/json
    • Changed property status (string) Added enum value:
      • generatingSignature Removed enum value:
      • generating_signature
POST /api/website_collections
Request:
Changed content type : application/json
  • Changed property network (string) Added enum value:
    • bscTestnet Removed enum value:
    • bsc_testnet
POST /api/website_user_roles
Request:
Changed content type : application/json
  • Changed property websiteUserRoles (array)
    Array of website user roles
    Changed items (object):
    • Changed property roleType (string)
      Role type of the user
      Added enum values:
      • WEBSITE_SUPER_ADMIN
      • WEBSITE_ADMIN
      • WEBSITE_MODERATOR
      • WEBSITE_API_KEY
      • STRATUS_API_KEY
      • WEBSITE_READ_ONLY_API_KEY Removed enum values:
      • website_super_admin
      • website_admin
      • website_moderator
      • website_api_key
      • stratus_api_key
      • website_read_only_api_key

Result


API changes broke backward compatibility