user APIs
Download a single file
Returns the file contents as response body
get/user/files
Request
- Base URL/api/v2 (relative, and the document was published on a file host, not at the API’s origin)
- Auth
- HTTP bearer
- or API key in header X-SFTPGO-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pathstring required
Path to the file to download. It must be URL encoded, for example the path "my dir/àdir/file.txt" must be sent as "my%20dir%2F%C3%A0dir%2Ffile.txt"
inlinestring
If set, the response will not have the Content-Disposition header set to attachment
Response
successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.