Skip Navigation

Get user-defined repositories retrieval

The following example retrieves all of the user-defined repositories that the user has created. In this example, user1 is assigned to four repositories. 
{ "repositories": [{ "lastExpendedPathChanged": false, "id": 5, "name": "File Share repository", "path": "C:\\example", "storagetype": "FileShare", "repositorytype": "UserDefined", "acl": { "acelist": [{ "user": { "name": "user1", "email": "user1@docs1.example.com", "domain": "DOCS1", "tenantId": "0" }, "permissions": { "C": 1, "CF": 1, "CI": 1, "CP": 1, "D": 1, "E": 0, "L": 1, "O": 1, "P": 0, "R": 1, "W": 1, "AR": 1, "SL": 1 } }] }, "wdmanaged": false, "tenantId": "0" }, { "lastExpendedPathChanged": false, "id": 6, "name": "SharePoint repository", "path": "http://docs1.example.com", "storagetype": "SharePoint", "repositorytype": "UserDefined", "acl": { "acelist": [{ "user": { "name": "user1", "email": "user1@docs1.example.com", "domain": "DOCS1", "tenantId": "0" }, "permissions": { "C": 1, "CF": 1, "CI": 1, "CP": 1, "D": 1, "E": 0, "L": 1, "O": 1, "P": 0, "R": 1, "W": 1, "AR": 1, "SL": 1 } }] }, "wdmanaged": false, "tenantId": "0" }, { "lastExpendedPathChanged": false, "id": 7, "name": "SharePoint Online repository", "path": "https://"docs.sharepoint.com/personal/123456_docs1_onmicrosoft_com/Social/Sites.aspx", "storagetype": "SharePoint Online", "repositorytype": "UserDefined", "acl": { "acelist": [{ "user": { "name": "user1", "email": "user1@docs1.example.com", "domain": "DOCS1", "tenantId": "0" }, "permissions": { "C": 1, "CF": 1, "CI": 1, "CP": 1, "D": 1, "E": 0, "L": 1, "O": 1, "P": 0, "R": 1, "W": 1, "AR": 1, "SL": 1 } }] }, "wdmanaged": false, "tenantId": "0" }, { "lastExpendedPathChanged": false, "id": 57, "name": "box repo", "path": "https://app.box.com/folder/0", "storagetype": "Box", "repositorytype": "UserDefined", "acl": { "acelist": [{ "user": { "name": "user1", "email": "user1@docs1.example.com", "domain": "DOCS1", "tenantId": "0" }, "permissions": { "C": 1, "CF": 1, "CI": 1, "CP": 1, "D": 1, "E": 0, "L": 1, "O": 1, "P": 0, "R": 1, "W": 1, "AR": 1, "SL": 1 } }] }, "wdmanaged": false, "tenantId": "0" }], "totalCount": 4 }