File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public function test()
3232 $ username = $ this ->config ->username ;
3333
3434 $ test = parent ::appTest (
35- $ this ->url ("/ocs/v1 .php/cloud/users/ " . $ username . "?format=json " ),
35+ $ this ->url ("/ocs/v2 .php/cloud/users/ " . $ username . "?format=json " ),
3636 $ this ->getHeaders ()
3737 );
3838 echo $ test ->status ;
@@ -44,7 +44,7 @@ public function livestats()
4444
4545 $ username = $ this ->config ->username ;
4646 $ res = parent ::execute (
47- $ this ->url ("/ocs/v1 .php/cloud/users/ " . $ username . "?format=json " ),
47+ $ this ->url ("/ocs/v2 .php/cloud/users/ " . $ username . "?format=json " ),
4848 $ this ->getHeaders ()
4949 );
5050 $ details = json_decode ($ res ->getBody ());
Original file line number Diff line number Diff line change 1414 },
1515 "stat1" : {
1616 "name" : " Total" ,
17- "url" : " :url:ocs/v1 .php/cloud/users/:username:?format=json" ,
17+ "url" : " :url:ocs/v2 .php/cloud/users/:username:?format=json" ,
1818 "key" : " ocs.data.quota.total" ,
1919 "filter" : " size" ,
2020 "updateOnChange" : " No" ,
2121 "suffix" : " "
2222 },
2323 "stat2" : {
2424 "name" : " Used" ,
25- "url" : " :url:ocs/v1 .php/cloud/users/:username:?format=json" ,
25+ "url" : " :url:ocs/v2 .php/cloud/users/:username:?format=json" ,
2626 "key" : " ocs.data.quota.used" ,
2727 "filter" : " size" ,
2828 "updateOnChange" : " No" ,
You can’t perform that action at this time.
0 commit comments