CRecordFileStoreFile
This record is a data record for transporting information about a file.
This message belongs to the FileStore API.
{
"id": "2152ee2c-45fa-4f46-8ad1-e91c3b77fd0c",
"name": "FILE_STORE_FILE",
"description": "A file record.",
"slots": [
{
"key": "1",
"name": "HASH",
"direction": "REQUEST",
"mandatory": "true",
"type": "STRING",
"description": "The hash of the file (base32 encoded)."
},
{
"key": "2",
"name": "PATH",
"direction": "REQUEST",
"mandatory": "true",
"type": "STRING",
"description": "The relative path of the file."
},
{
"key": "3",
"name": "FILE_LENGTH",
"direction": "REQUEST",
"mandatory": "true",
"type": "LONG",
"description": "The length of the file."
},
{
"key": "4",
"name": "TIME_OF_CREATION",
"direction": "REQUEST",
"mandatory": "false",
"type": "INSTANT",
"description": "Optional: The creation time stamp."
},
{
"key": "5",
"name": "TIME_OF_LAST_MODIFICATION",
"direction": "REQUEST",
"mandatory": "false",
"type": "INSTANT",
"description": "Optional: The time of the last modification."
}
]
}
This record is used in requests to and responses from the FileStore.