Boosts
Boosts Management
1. Create a Boost
To create a boost, use the createBoost
method. This method accepts a credential
object (which can be an UnsignedVC
or VC
) and an optional metadata
object.
2. Get a Boost
To get a boost, use the getBoost
method. This method accepts a uri
parameter.
3. Get Boosts
To retrieve all boosts, use the getBoosts
method.
4. Get Boost Recipients
To get boost recipients, use the getBoostRecipients
method. This method accepts a uri
parameter and optional limit
and skip
parameters.
5. Update a Boost
To update a boost, use the updateBoost
method. This method accepts a uri
parameter, an updates
object, and a credential
object (which can be an UnsignedVC
or VC
).
6. Delete a Boost
To delete a boost, use the deleteBoost
method. This method accepts a uri
parameter.
7. Send a Boost
To send a boost to another profile, use the sendBoost
method. This method accepts a profileId
, a boostUri
parameter, and an optional encrypt
parameteropconst profileId = 'janesmith';
These are the API calls related to boosts management in the LearnCard Network API. Use these methods to create, update, retrieve, and delete boosts, as well as send boosts to other profiles.
Claim a Boost
These examples demonstrate some of the ways you can interact with the LearnCard Network API using the @learncard/network-plugin
.
Last updated