From 36ade3d359c51fd5f56505daa402aee03cc5d985 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 12 Oct 2021 00:10:22 -0700 Subject: [PATCH] Updated Filer Server API (markdown) --- Filer-Server-API.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Filer-Server-API.md b/Filer-Server-API.md index c263b81..b289308 100644 --- a/Filer-Server-API.md +++ b/Filer-Server-API.md @@ -115,6 +115,17 @@ curl -H "Accept: application/json" "http://localhost:8888/javascript/?pretty=y" "ShouldDisplayLoadMore": false } ``` +### GET files + +```bash + //get file with a different content-disposition + GET /path/to/file?response-content-disposition=attachment%3B%20filename%3Dtesting.txt +``` +| GET Parameter | Description | Default | +| ---- | -- | -- | +| response-content-disposition | used as response content-disposition | empty | + + ### PUT/DELETE file tagging ``` # put 2 pairs of meta data