You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.
We should use JSON to fetch shares instead of XML. With hundreds of shares (in this case 500) the savings become noticeable:
vscode ➜ ~/repositories/reva (prefer-return-minimal ✗) $ curl -k https://cloud.ocis.test/ocs/v1.php/apps/files_sharing/api/v1/shares\?include_tags\=false\&state\=all\&shared_with_me\=true -u marie:radioactivity | wc -c
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 719k 0 719k 0 0 65986 0 --:--:-- 0:00:11 --:--:-- 183k
736536
vscode ➜ ~/repositories/reva (prefer-return-minimal ✗) $ curl -k https://cloud.ocis.test/ocs/v1.php/apps/files_sharing/api/v1/shares\?include_tags\=false\&state\=all\&shared_with_me\=true\&format\=json -u marie:radioactivity | wc -c
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 554k 0 554k 0 0 54360 0 --:--:-- 0:00:10 --:--:-- 132k
567465
roughly 1/3 the size...
The text was updated successfully, but these errors were encountered:
, use it in that function for the request and the parsing preference. Then use it in getShares and getShare of the shareManagement.js file. Very straightforward.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We should use JSON to fetch shares instead of XML. With hundreds of shares (in this case 500) the savings become noticeable:
roughly 1/3 the size...
The text was updated successfully, but these errors were encountered: