#
/shortcut
#
Route Details
#
POST /shortcut
Creates a *.shortcut.json
file containing target path data in current path. Not a symlink.
#
Request
Method:
HTTP POST
Request body:
{ "target": "/[TESTING_ONLY]/target-file.jpg", "currentPath": "/dir-1/dir-2" }
#
Response
Example *.shortcut.json:
Response body is an array containing objects of the following format:
{
"shortcutName": "file_or_folder_name Shortcut",
"target": "/[TESTING_ONLY]/target-file.jpg",
"targetData": {
"name": "file_or_folder_name",
"size": 695,
"created": "1970-01-01T00:00:00Z",
"modified": "1970-01-01T00:00:01Z",
"isDirectory": false
}
}