forked from uup-dump/api
Add debugging information to responses, update internal packs
This commit is contained in:
parent
dbd8b5f9c9
commit
9c6f0352e8
3
get.php
3
get.php
@ -358,7 +358,7 @@ function uupGetOnlineFiles($updateId, $rev, $info, $cacheRequests) {
|
|||||||
$temp['url'] = $url;
|
$temp['url'] = $url;
|
||||||
$temp['uuid'] = $guid;
|
$temp['uuid'] = $guid;
|
||||||
$temp['expire'] = $expire;
|
$temp['expire'] = $expire;
|
||||||
|
$temp['debug'] = $val->asXML();
|
||||||
|
|
||||||
$newName = uupCleanName($name);
|
$newName = uupCleanName($name);
|
||||||
$files[$newName] = $temp;
|
$files[$newName] = $temp;
|
||||||
@ -386,6 +386,7 @@ function uupGetOfflineFiles($info) {
|
|||||||
$temp['url'] = null;
|
$temp['url'] = null;
|
||||||
$temp['uuid'] = null;
|
$temp['uuid'] = null;
|
||||||
$temp['expire'] = 0;
|
$temp['expire'] = 0;
|
||||||
|
$temp['debug'] = null;
|
||||||
|
|
||||||
$newName = uupCleanName($name);
|
$newName = uupCleanName($name);
|
||||||
$files[$newName] = $temp;
|
$files[$newName] = $temp;
|
||||||
|
@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
function uupApiVersion() {
|
function uupApiVersion() {
|
||||||
return '1.24.0';
|
return '1.25.0';
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once dirname(__FILE__).'/auths.php';
|
require_once dirname(__FILE__).'/auths.php';
|
||||||
|
BIN
shared/packs/1a52d5dd30a90208c10f13b646bfad88b2c4c87f.json.gz
Normal file
BIN
shared/packs/1a52d5dd30a90208c10f13b646bfad88b2c4c87f.json.gz
Normal file
Binary file not shown.
BIN
shared/packs/25404f74e050aacf3b69116abe4590535e179eb9.json.gz
Normal file
BIN
shared/packs/25404f74e050aacf3b69116abe4590535e179eb9.json.gz
Normal file
Binary file not shown.
BIN
shared/packs/32040bfb2773874a2712ed9b6e6006b8f486cf6d.json.gz
Normal file
BIN
shared/packs/32040bfb2773874a2712ed9b6e6006b8f486cf6d.json.gz
Normal file
Binary file not shown.
BIN
shared/packs/405f10427055e8177de9c0e68869d7164bfcfb22.json.gz
Normal file
BIN
shared/packs/405f10427055e8177de9c0e68869d7164bfcfb22.json.gz
Normal file
Binary file not shown.
BIN
shared/packs/5ba3113f1bf28ec7a9c1928289c6c6816dc6dff8.json.gz
Normal file
BIN
shared/packs/5ba3113f1bf28ec7a9c1928289c6c6816dc6dff8.json.gz
Normal file
Binary file not shown.
BIN
shared/packs/79085264360b1ef123eaa9daa8331a26d5c734d0.json.gz
Normal file
BIN
shared/packs/79085264360b1ef123eaa9daa8331a26d5c734d0.json.gz
Normal file
Binary file not shown.
BIN
shared/packs/85a89346498d20587b6352d947b57bbf21dd9b77.json.gz
Normal file
BIN
shared/packs/85a89346498d20587b6352d947b57bbf21dd9b77.json.gz
Normal file
Binary file not shown.
BIN
shared/packs/9a67a7efd3ec563b04c5483b54015548c4de6cab.json.gz
Normal file
BIN
shared/packs/9a67a7efd3ec563b04c5483b54015548c4de6cab.json.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user