Index
Synapse Core - Service Provider HTTP Operations
Example
Section titled “Example”import * as SP from '@filoz/synapse-core/sp'Type Aliases
Section titled “Type Aliases”Variables
Section titled “Variables”| Variable | Description |
|---|---|
| FACTOR | - |
| MIN_TIMEOUT | - |
| RETRIES | - |
Functions
Section titled “Functions”| Function | Description |
|---|---|
| addPieces | Add pieces to a data set on the PDP API. |
| createDataSet | Create a data set on PDP API |
| createDataSetAndAddPieces | Create a data set and add pieces to it on PDP API |
| deletePiece | Delete a piece from a data set on the PDP API. |
| findPiece | Find a piece on the PDP API. |
| getDataSet | Get a data set from the PDP API. |
| getPiecesForDataSet | Get the pieces for a data set from the PDP API. |
| ping | - |
| pollForAddPiecesStatus | Poll for the add pieces status. |
| pollForDataSetCreationStatus | Poll for the data set creation status. |
| setTimeout | - |
| uploadPiece | Upload a piece to the PDP API. |