forked from uup-dump/api
Add fetching specific builds only
This commit is contained in:
parent
f5f4795cd9
commit
c025da99dc
@ -406,6 +406,9 @@ function composeFetchUpdRequest($device, $encData, $arch, $flight, $ring, $build
|
|||||||
$type
|
$type
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$syncCurrent = uupApiConfigIsTrue('fetch_sync_current_only');
|
||||||
|
$syncCurrentStr = $syncCurrent ? 'true' : 'false';
|
||||||
|
|
||||||
return <<<XML
|
return <<<XML
|
||||||
<s:Envelope xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:s="http://www.w3.org/2003/05/soap-envelope">
|
<s:Envelope xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:s="http://www.w3.org/2003/05/soap-envelope">
|
||||||
<s:Header>
|
<s:Header>
|
||||||
@ -527,7 +530,7 @@ function composeFetchUpdRequest($device, $encData, $arch, $flight, $ring, $build
|
|||||||
</ExtendedUpdateInfoParameters>
|
</ExtendedUpdateInfoParameters>
|
||||||
<ClientPreferredLanguages/>
|
<ClientPreferredLanguages/>
|
||||||
<ProductsParameters>
|
<ProductsParameters>
|
||||||
<SyncCurrentVersionOnly>false</SyncCurrentVersionOnly>
|
<SyncCurrentVersionOnly>$syncCurrentStr</SyncCurrentVersionOnly>
|
||||||
<DeviceAttributes>$deviceAttributes</DeviceAttributes>
|
<DeviceAttributes>$deviceAttributes</DeviceAttributes>
|
||||||
<CallerAttributes>$callerAttrib</CallerAttributes>
|
<CallerAttributes>$callerAttrib</CallerAttributes>
|
||||||
<Products>$products</Products>
|
<Products>$products</Products>
|
||||||
|
Loading…
Reference in New Issue
Block a user