Method upsert

Service: asset

Update/Insert a profile fields. Sets or updates a profile fields.

Called by:

graph TD
   access.updateAssetMeta --> asset.upsert
   balancing.addSettlement --> asset.upsert
   nextcloud.createAssetShare --> asset.upsert

Method get

Get full profile of given assetId.

Called by:

graph TD
   access.sharedFolder --> asset.get
   access.getAssetMeta --> asset.get
   balancing.getUpstream --> asset.get
   balancing.addSettlement --> asset.get
   clearing.retrieve --> asset.get
   debit.open --> asset.get
   nextcloud.createAssetShare --> asset.get

Method query

Native MongoDB find.

Called by:

graph TD
   balancing.peers --> asset.query

Method find

Native MongoDB find.

graph TD