user APIs
Get share by id
Returns a share by id for the logged in user
get/user/shares/{id}
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.
Response
successful operation
Example response
{
"paths": [
"/dir1",
"/dir2/file.txt",
"/dir3/subdir"
],
"allow_from": [
"192.0.2.0/24",
"2001:db8::/32"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.