Managing Shared Links

Shared Links can be created to provide external users with access to files. Links can be set up securely with a password requirement as well as a time for access via the link to expire.
https://api.couchdrop.io/manage/sharedlinks
Request
Response
Request
Query Parameters
token
required
string
Authentication token
Response
200: OK
Returns list of shared links
{
"result": [
{"account": "admin",
"expiry": 86400,
"id": "94a4235b-c4ae-4ded-b31a-c7d0e29844b9",
"password": "[email protected]",
"path": "/google/folder1"},
{"account": "admin",
"expiry": 0,
"id": "a6f1cd25-bba2-453f-b9cd-d369c6ce5693",
"password": "",
"path": "/onedrive/accounts.pdf"}
]
}
https://api.couchdrop.io/manage/sharedlinks
Request
Response
Request
Query Parameters
token
required
string
Authentication token
Response
200: OK
Returns newly created shared link object
{
"result": {
"account": "admin",
"expiry": 0,
"id": "e2a460ed-af5b-4af4-bcf5-c07accab8dde",
"password": "",
"path": "/"
}
}
https://api.couchdrop.io/manage/sharedlinks
Request
Response
Request
Query Parameters
token
required
string
Authentication token
Body Parameters
id
required
string
Shared link identifier, generated by the system
expiry
optional
string
Expiration time for shared link (epoch time ie: '1606087502')
password
optional
string
Password to protect shared link
path
optional
string
Shared link identifier, generated by system
Response
200: OK
{}
https://api.couchdrop.io/manage/sharedlinks/<link_id>
Request
Response
Request
Query Parameters
token
required
string
Authentication token
Response
200: OK
{}