Closed abelgardep closed 1 year ago
Shares space does have some nullable fields like owner Mountpoints do not have lastModifiedDateTime and eTag is on the remoteItem node. remoteItem not parsed yet, will be done in the future
owner
lastModifiedDateTime
remoteItem
App PR: https://github.com/owncloud/android/pull/3856
{ "value": [ { "driveAlias": "virtual/shares", "driveType": "virtual", "id": "a0ca6a90-a365-4782-871e-d4444$a0ca6a90-a365-4782-871e-d4444", "lastModifiedDateTime": "2023-01-11T17:03:47.139082173Z", "name": "Shares", "quota": { "remaining": 0, "state": "exceeded", "total": 0, "used": 0 }, "root": { "eTag": "\"695b26758d54a156771775099037adfb\"", "id": "a0ca6a90-a365-4782-871e-d4444$a0ca6a90-a365-4782-871e-d4444", "webDavUrl": "server/dav/spaces/a0ca6a90-a365-4782-871e-d4444$a0ca6a90-a365-4782-871e-d4444" }, "webUrl": "https://server/f/a0ca6a90-a365-4782-871e-d4444$a0ca6a90-a365-4782-871e-d4444" }, { "driveAlias": "mountpoint/new-file.txt", "driveType": "mountpoint", "id": "a0ca6a90-a365-4782-871e-d4444$a0ca6a90-a365-4782-871e-d4444!8871f4f3-fc6f-4a66-8bed-62f175f76f38:c4fc37d9-5798-4a65-a596-00300e180049:9801e90a-a679-4b69-a56f-547527bb9b7b", "name": "New file.txt", "owner": { "user": { "id": "c4fc37d9-5798-4a65-a596-00300e180049" } }, "quota": { "remaining": 0, "state": "exceeded", "total": 0, "used": 0 }, "root": { "id": "a0ca6a90-a365-4782-871e-d4444$a0ca6a90-a365-4782-871e-d4444!8871f4f3-fc6f-4a66-8bed-62f175f76f38:c4fc37d9-5798-4a65-a596-00300e180049:9801e90a-a679-4b69-a56f-547527bb9b7b", "remoteItem": { "eTag": "\"695b26758d54a156771775099037adfb\"", "file": { "mimeType": "text/plain" }, "id": "8871f4f3-fc6f-4a66-8bed-62f175f76f38$c4fc37d9-5798-4a65-a596-00300e180049!4f3edb80-feb8-409b-a01d-e7daccaff13d", "lastModifiedDateTime": "2023-01-11T17:03:47.139082173Z", "name": "New file.txt", "size": 1, "webDavUrl": "https://server/dav/spaces/8871f4f3-fc6f-4a66-8bed-62f175f76f38$c4fc37d9-5798-4a65-a596-00300e180049%214f3edb80-feb8-409b-a01d-e7daccaff13d" }, "webDavUrl": "https://server/dav/spaces/a0ca6a90-a365-4782-871e-d4444$a0ca6a90-a365-4782-871e-d4444%218871f4f3-fc6f-4a66-8bed-62f175f76f38:c4fc37d9-5798-4a65-a596-00300e180049:9801e90a-a679-4b69-a56f-547527bb9b7b" }, "webUrl": "https://server/f/a0ca6a90-a365-4782-871e-d4444$a0ca6a90-a365-4782-871e-d4444%218871f4f3-fc6f-4a66-8bed-62f175f76f38:c4fc37d9-5798-4a65-a596-00300e180049:9801e90a-a679-4b69-a56f-547527bb9b7b" } ] }
Shares space does have some nullable fields like
owner
Mountpoints do not havelastModifiedDateTime
and eTag is on theremoteItem
node.remoteItem
not parsed yet, will be done in the futureApp PR: https://github.com/owncloud/android/pull/3856