Piece
Get metadata for a piece for how it may be reassembled from the data source
Path parameters
idstringRequired
Piece CID
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
get
/piece/{id}/metadataPath parameters
idstringRequired
Preparation ID or name
Body
fileSizeintegerOptional
File size of the CAR file, this is required for boost online deal
pieceCidstringRequired
CID of the piece
pieceSizestringRequired
Size of the piece
rootCidstringOptional
Root CID of the CAR file, used to populate the label field of storage deal
Responses
200
OK
application/json
400
Bad Request
application/json
500
Internal Server Error
application/json
post
/preparation/{id}/pieceLast updated
Was this helpful?