Skip to content

Index

Synapse Core - Service Provider HTTP Operations

import * as SP from '@filoz/synapse-core/sp'
Type AliasDescription
AddPiecesOptions-
AddPiecesResponse-
AddPiecesSuccess-
DataSetCreatedResponse-
DataSetCreateSuccess-
DeletePieceOptions-
DeletePieceResponse-
FindPieceOptions-
GetDataSetOptions-
GetDataSetResponse-
GetPiecesForDataSetOptions-
PDPCreateDataSetAndAddPiecesOptions-
PDPCreateDataSetOptionsThe options for the create data set on PDP API.
PollForAddPiecesStatusOptions-
PollForDataSetCreationStatusOptions-
SPPiece-
SPPieceWithUrl-
UploadPieceOptions-
UploadPieceResponse-
VariableDescription
FACTOR-
MIN_TIMEOUT-
RETRIES-
FunctionDescription
addPiecesAdd pieces to a data set on the PDP API.
createDataSetCreate a data set on PDP API
createDataSetAndAddPiecesCreate a data set and add pieces to it on PDP API
deletePieceDelete a piece from a data set on the PDP API.
findPieceFind a piece on the PDP API.
getDataSetGet a data set from the PDP API.
getPiecesForDataSetGet the pieces for a data set from the PDP API.
ping-
pollForAddPiecesStatusPoll for the add pieces status.
pollForDataSetCreationStatusPoll for the data set creation status.
setTimeout-
uploadPieceUpload a piece to the PDP API.