Symlinks/Shortcuts

Symbolic links or Shortcuts provide a versatile and easy way to work with directories in multiple locations. A symlink/shortcut can point to any folder in the Couchdrop virtual file system.

Managing symbolic links can be done through the admin interface or via the API.

GET https://api.couchdrop.io/manage/symlinks

{
    result: [
        {"source": "/link", "destination":"/dropbox/folder1", "id":"id1"},
        {"source": "/link2", "destination":"/dropbox/folder2", "id":"id2"}
    ]
}

PUT https://api.couchdrop.io/manage/symlinks

{
    "result":{
        "id": "id1"
    }
}

POST https://api.couchdrop.io/manage/symlinks

Request Body

NameTypeDescription

id*

String

ID of the symbolic link you are modifying

source*

String

The source path for the link. This is the path where the link will appear in the filesystem.

destination*

String

The destination path. Where the link points to in the real filesystem

DELETE https://api.couchdrop.io/manage/symlinks/<link_id>

Path Parameters

NameTypeDescription

link_id

String

The ID of the object you want to delete

Last updated