The Connect server version 1.5.4 and 1.5.5 has an issue with the file id.
The id property of the file is different than the file_id used to fetch file content (/v1/vaults/<vault_id>/items/<item_id>/files/<file_id>/content), but it should be the same.
Starting from Connect v1.5.6 this issue is resolved and id and file_id has the same value.
This PR provides the fix for the users that use Connect v1.5.4 and v1.5.5.
We started to use content_path value which always contains the correct url to fetch the file content.
Resolves #46
The Connect server version 1.5.4 and 1.5.5 has an issue with the file id. The
id
property of the file is different than thefile_id
used to fetch file content (/v1/vaults/<vault_id>/items/<item_id>/files/<file_id>/content
), but it should be the same. Starting from Connect v1.5.6 this issue is resolved andid
andfile_id
has the same value.This PR provides the fix for the users that use Connect v1.5.4 and v1.5.5. We started to use
content_path
value which always contains the correct url to fetch the file content.