Setting Up
Persist File System
10 min
introduction signzy's persist file system is a dynamic solution designed to streamline file uploading and sharing processes with ease and efficiency with our system, users can conveniently upload files either as base64 encoded data or traditional file formats, allowing for flexible integration across various platforms once uploaded, our system securely stores the files and generates publicly accessible urls, enabling seamless sharing and access for intended recipients whether for personal or professional use, signzy's persist file system ensures hassle free file management and distribution, empowering users with a reliable and convenient solution api details the details of the api can be found here sample curl file upload pre production curl location 'https //preproduction persist signzy tech/api/files/upload' \\ \ form 'file=@"/path/to/file"' \\ \ form 'ttl="3 years"' production curl location 'https //persist signzy tech/api/files/upload' \\ \ form 'file=@"/path/to/file"' \\ \ form 'ttl="3 years"' base64 upload pre production curl location 'https //preproduction persist signzy tech/api/base64strings/upload' \\ \ form 'base64string=""' \\ \ form 'mimetype="image/jpeg"' \\ \ form 'ttl="3 years"' production curl location 'https //persist signzy tech/api/base64strings/upload' \\ \ form 'base64string=""' \\ \ form 'mimetype="image/jpeg"' \\ \ form 'ttl="3 years"' base64 json upload pre production curl location 'https //preproduction persist signzy tech/api/base64' \\ \ header 'content type application/json' \\ \ data '{ "base64string" "", "mimetype" "image/jpeg", "ttl" "10 mins" }' production curl location 'https //persist signzy tech/api/base64' \\ \ header 'content type application/json' \\ \ data '{ "base64string" "", "mimetype" "image/jpeg", "ttl" "10 mins" }' input parameters true false 140false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type sample response file upload { "file" { "id" " id ", "filetype" " mimetype ", "size" size, "directurl" "https //persist signzy tech/api/files/ id /download/ name ", "protected" true/false } } base64 upload { "file" { "id" " id ", "filetype" " mimetype ", "size" size, "directurl" "https //persist signzy tech/api/base64strings/ id /download/ name ", "protected" true/false } } base64 json upload { "file" { "id" " id ", "filetype" " mimetype ", "size" size, "directurl" "https //persist signzy tech/api/files/ id /download/ name ", "protected" true/false } } sample errors 400 { "name" "error", "message" "", "reason" "validation error", "type" "bad request", "statuscode" 400 } 401 { "message" "invalid authentication credentials" } 404 { "name" "error", "message" "", "reason" "not found", "type" "not found", "statuscode" 404 } 500 { "error" { "name" "error", "message" "internal server error", "reason" "internal server error", "type" "internal server error", "statuscode" 500 } } error parameters true falsefalse unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type error codes true falsefalse unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type