addPieces
function addPieces(options): Promise<ReturnType>;Defined in: packages/synapse-core/src/sp.ts:682
Add pieces to a data set on the PDP API.
POST /pdp/data-sets/{dataSetId}/pieces
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
options | OptionsType | addPieces.OptionsType |
Returns
Section titled “Returns”Hash and status URL addPieces.ReturnType
Throws
Section titled “Throws”Errors addPieces.ErrorType