Partners API
Description of the API that can be used by partners to update the NFT
Introduction
A partner API is being developed and allows third party to trigger actions in a NFT collection on Gardenlab.
For now, the API allows partners to trigger NFT creation and reservation for later claim by the user. The claim shall be performed by the user, after logging in with its email. It also allows to consume an interaction on a NFT, designated by the owner's email address. The interaction shall be created and configured beforehand on the collection admin tool.
An API key and a configured collection are required to properly perform those actions.
Swagger demo API : https://api-docs-demo.gardenlab.io/
Description
Configuration
Interactions
Operation
User creation
Note: When creating a NFT for a user, this NFT is prepared but not minted. The mint of the NFT occurs when the user claims it using the email address.
Action
Note: The action saved for a NFT is applied if the NFT is minted or not.
Mint token
Getters
Webhooks
It is also possible to set up webhooks to get notified about some specific events occuring in Gardenlab.
The failure object is sent only when there is no "hope" about succeeding in performing the blockchain transactions. Gardenlab system is designed to try multiple times to perform a transaction if no fatal error occurs on the transaction.
New interaction with blockchain update:
Type :
Header:
Success Content:
Failure Content:
New NFT minted
Type :
Header:
Success content:
Failure content:
Dernière mise à jour