Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ export default withRouteSpec({
})((req, ctx) => {
return new Response(
`<html><body>

<pre>
This is a simple file server API, it has the following API:

/health - Health check
/files/get?file_path=... - Get a file
/files/download?file_path=... - Download a file (or /files/download/path/to/file)
/files/list - List all files
/files/upsert - Upsert a file
/files/list - List all files
/files/upsert - Upsert a file

Expand Down
Loading