片段
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
MinPieceSizePadding tracks virtual padding for inline mode only. Inline: stores padding amount, PieceReader serves zeros virtually. Non-inline: always 0, literal zeros are written to CAR file for Curio TreeD compatibility.
PieceType indicates whether this is a data piece or DAG piece
Association - SET NULL for fast prep deletion, async cleanup
StoragePath is the path to the CAR file inside the storage. If the StorageID is nil but StoragePath is not empty, it means the CAR file is stored at the local absolute path.
Bad Request
Internal Server Error
Last updated
Was this helpful?