Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 888 Bytes

File metadata and controls

35 lines (27 loc) · 888 Bytes

Get WebDAV Accounts

Retrieves the user's WebDAV accounts.

URLRequires AuthHTTP Method
/api/v1/webdav.getMyAccountsyesGET

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     http://localhost:3000/api/v1/webdav.getMyAccounts

Example Response

{
  "accounts": [
    {
      "_id": "P3Gru7ocFCd4vpKEs",
      "server_url": "http://localhost:8080/remote.php/webdav/",
      "username": "admin",
      "name": "Webdav account"
    }
  ],
  "success": true
}

Change Log

Version Description
2.4.0 Added