Boosts
Boosts Management
Last updated
Was this helpful?
Boosts Management
Last updated
Was this helpful?
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.
To get a boost, use the getBoost
method. This method accepts a uri
parameter.
To retrieve all boosts, use the getBoosts
method.
To get boost recipients, use the getBoostRecipients
method. This method accepts a uri
parameter and optional limit
and skip
parameters.
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
).
To delete a boost, use the deleteBoost
method. This method accepts a uri
parameter.
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.
These examples demonstrate some of the ways you can interact with the LearnCard Network API using the @learncard/network-plugin
.
This route creates a boost
/boost/create
DRAFT
, LIVE
This endpoint gets the recipients of a particular boost. Warning! This route is deprecated and currently has a hard limit of returning only the first 50 boosts. Please use getPaginatedBoostRecipients instead
/boost/recipients/{uri}