XFileSharing Pro - MD5 Hash Details Over API

Message
Author
Daringbaaz
Posts: 3
Joined: Apr 27, 2021 7:10 pm

MD5 Hash Details Over API

#1 Postby Daringbaaz » Jul 31, 2022 12:07 pm

Hello Team, I am Looking For Rest API Which Can Provide Me MD5 Hash of File ID, and Also options to Search Files Using MD5 Hash (Permission Based)

Something Like
http://xfilesharing.com/api/file/hash?k ... =file_code

//Response (Expected)

Code: Select all

{
  "code": "200,",
  "file_id": "xxxxxxx",
  "hash": "xyz123xxxxxxxxxxxx"
}
For Scan Filescode

http://xfilesharing.com/api/file/info?k ... e}&limit=1

//Response (Expected)

Code: Select all

{
  "code": "200,",
  "hash": "yyyyyxxxxxxxxxxxx,",
  "file_code": "xxxxxxx"
}
Also Currently All Deleted File ID's Are Showing Live Over API. Please Fix That Too..



Thanks

arunpc4u
Posts: 5
Joined: Jun 18, 2019 12:50 pm

Re: MD5 Hash Details Over API

#2 Postby arunpc4u » Oct 10, 2022 1:32 pm

yes, it should be added in next update!! :-)

verzing
Posts: 174
Joined: Mar 02, 2011 7:00 pm

Re: MD5 Hash Details Over API

#3 Postby verzing » Nov 26, 2022 8:21 am

This can be done with 1 line of code.