• Register an "upload" with the service. The issuer needs the upload/add delegated capability.

    Required delegated capability proofs: upload/add

    Parameters

    • conf: InvocationConfig

      Configuration for the UCAN invocation. An object with issuer, with and proofs.

      The issuer is the signing authority that is issuing the UCAN invocation(s). It is typically the user agent.

      The with is the resource the invocation applies to. It is typically the DID of a space.

      The proofs are a set of capability delegations that prove the issuer has the capability to perform the action.

      The issuer needs the upload/add delegated capability.

    • root: UnknownLink

      Root data CID for the DAG that was stored.

    • shards: CARLink[]

      CIDs of CAR files that contain the DAG.

    • Optional options: RequestOptions = {}

    Returns Promise<UploadAddSuccess>

Generated using TypeDoc