diff --git a/Cargo.lock b/Cargo.lock
index ab8973f..cce7a63 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -993,6 +993,7 @@ dependencies = [
"futures",
"fuzzysearch-common",
"hamming",
+ "hex",
"hyper",
"image",
"img_hash",
diff --git a/fuzzysearch-api/Cargo.toml b/fuzzysearch-api/Cargo.toml
index 193ccf7..de04b30 100644
--- a/fuzzysearch-api/Cargo.toml
+++ b/fuzzysearch-api/Cargo.toml
@@ -28,6 +28,7 @@ bytes = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
+hex = "0.4"
warp = "0.3"
reqwest = { version = "0.11", features = ["multipart"] }
diff --git a/fuzzysearch-api/src/handlers.rs b/fuzzysearch-api/src/handlers.rs
index 3f5243d..0979c85 100644
--- a/fuzzysearch-api/src/handlers.rs
+++ b/fuzzysearch-api/src/handlers.rs
@@ -272,6 +272,7 @@ pub async fn search_file(
submission.rating,
submission.posted_at,
submission.hash_int,
+ submission.file_sha256,
artist.name,
array(SELECT tag.name FROM tag_to_post JOIN tag ON tag_to_post.tag_id = tag.id WHERE tag_to_post.post_id = submission.id) tags
FROM
@@ -293,6 +294,7 @@ pub async fn search_file(
submission.rating,
submission.posted_at,
submission.hash_int,
+ submission.file_sha256,
artist.name,
array(SELECT tag.name FROM tag_to_post JOIN tag ON tag_to_post.tag_id = tag.id WHERE tag_to_post.post_id = submission.id) tags
FROM
@@ -314,6 +316,7 @@ pub async fn search_file(
submission.rating,
submission.posted_at,
submission.hash_int,
+ submission.file_sha256,
artist.name,
array(SELECT tag.name FROM tag_to_post JOIN tag ON tag_to_post.tag_id = tag.id WHERE tag_to_post.post_id = submission.id) tags
FROM
@@ -335,6 +338,7 @@ pub async fn search_file(
submission.rating,
submission.posted_at,
submission.hash_int,
+ submission.file_sha256,
artist.name,
array(SELECT tag.name FROM tag_to_post JOIN tag ON tag_to_post.tag_id = tag.id WHERE tag_to_post.post_id = submission.id) tags
FROM
@@ -361,6 +365,9 @@ pub async fn search_file(
.get::