/api/v0/filestore/verify

Verify objects in filestore.

Arguments

  • arg [string]: Cid of objects to verify. Required: no.

  • file-order [bool]: verify the objects based on the order of the backing file. Required: no.

Response

On success, the call to this endpoint will return with 200 and the following body:

{
  "ErrorMsg": "<string>",
  "FilePath": "<string>",
  "Key": {
    "/": "<cid-string>"
  },
  "Offset": "<uint64>",
  "Size": "<uint64>",
  "Status": "<int32>"
}

cURL Example

curl -X POST "http://127.0.0.1:5001/api/v0/filestore/verify?arg=<obj>&file-order=<value>"

Last updated