Piece
Get metadata for a piece for how it may be reassembled from the data source
Piece CID
OK
Bad Request
Not Found
Internal Server Error
Preparation ID or name
File size of the CAR file, this is required for boost online deal
CID of the piece
Size of the piece (required for external import, optional if piece exists in DB)
Root CID of the CAR file, used to populate the label field of storage deal
OK
Bad Request
Internal Server Error
Deletes a piece (CAR) and its associated records. For data pieces, resets file ranges to allow re-packing. For DAG pieces, resets directory export flags for re-generation.
Preparation ID or name
Piece CID
Delete the physical CAR file from storage (default: true)
Delete even if deals reference this piece
No Content
Bad Request
Not Found
Internal Server Error
No content
Last updated
Was this helpful?