IPFS Common Messages

ipfs_common/Filepath.msg

FieldTypeDescription
filepathstd_msgs/StringA path to a file

ipfs_common/Multihash.msg

FieldTypeDescription
multihashstd_msgs/StringA wrapper for model and objective fields

ipfs_common/IpfsDownloadFile.srv

Request

FieldTypeDescription
ipfs_addressipfs_common/MultihashIPFS hash of a file
fileipfs_common/FilepathWhere to save the file

Response

FieldTypeDescription
successstd_msgs/BoolStatus of execution
error_msgstd_msgs/StringError message

ipfs_common/IpfsUploadFile.srv

Request

FieldTypeDescription
fileipfs_common/FilepathPath to a file to be uploaded to IPFS

Response

FieldTypeDescription
successstd_msgs/BoolStatus of execution
error_msgstd_msgs/StringError message
ipfs_addressipfs_common/MultihashIPFS hash of uploaded file