Fix backwards compatibility, update readme, update internal packs

This commit is contained in:
mkuba50 2019-04-23 02:53:42 +02:00
parent a90dc04636
commit a62526211a
61 changed files with 44 additions and 18 deletions
listeditions.phplistlangs.phpreadme.md
shared
main.php
packs
0493cccaf960aed7043c158d407842d2f470195a.json.gz05e13cd691ae21ac587d00aed317b088e920ab92.json.gz0b13c3cb2d6d33e427af3e23cf0a950f0b54182c.json.gz0be28e7f73786ceefe01edeea555fb6b613c2133.json.gz0e43405ecaeeaf7f17613a56355953a268b9ec1a.json.gz1436f40615c1779758385f34f5d58615001b74f4.json.gz160fff573d9d789983796b7695d2fa4c42c1f912.json.gz16d6fe416895982d453c6aa0dbcf4029536a4189.json.gz18c294d075c67272097d4b9f6d7646b38c828a39.json.gz1ab121756291435c1240ff73026ca09cb01d8fee.json.gz219373bbdd267c636bc09ae8661b04c3683b31c2.json.gz21f71d842489390c56547c3ba0bf282ec285b392.json.gz299e358dbe33f3b9bb584c5876513dfdbe7b196e.json.gz352c4e68b5f59faf4c2886ae12a04223b3ea2550.json.gz360e162a278a3fb07110486b59908a37dbbe0841.json.gz3ed269c8570dda2578746ed78668e0f06addfa76.json.gz40ae28494a6fa95ee7e7dfcd11e48d2c5506f3e7.json.gz449940393a39a618eff6e62236623ed84e4ac35d.json.gz449da0d56e1b7b95052852fb63e6aba5ede734e2.json.gz490ccc5bd30237560ed1be8dcc697fde7a90ebd0.json.gz4e4a62aca108bcaecd7d89bccc315734a8dd3917.json.gz4e934a4de01738933cccdf9a83c87d4f93fe6c76.json.gz4f02577fa26078e1adc7302c437a7f08e8a7e99d.json.gz5bff3c4ad6b9059ee23aa29f94fe82557448ebbb.json.gz6551eeb67fe90da858f1fa781295cb6e6b680424.json.gz75a8c8fcc5d59b148ed63e03a75e3377a2e96911.json.gz75fdf9289b05ba5171ed93aa6aeaf0bc5cdd25f8.json.gz7dfb42d9c49e08a9bcd91e1807bda76efdc34008.json.gz825f9ee76be47dec3a5e40e36a802aa05dd0450c.json.gz8b009fd888189ee3e5de84a2114357826ee74dbb.json.gz8de45306d9e66cd3c0c7db33167f789bd1f46b22.json.gz902c35f09a7fb8c3671284ec0b09adea166a7886.json.gz9374530cd25511524d60700aa7ed9ded6c68b8c5.json.gz955aad2a8f3af09973875af85867a1a0054a2492.json.gz9d1bf73e74b0efe85171b67d5b3f71a87178ccc4.json.gz9e9cd93810136656bd198188b9be35455610c0f9.json.gza513f57fed9e9a835a72424fd01b4ff3c33834f9.json.gzad7b8d7888ff9c39e30c6de1c8c52f4679d57f6e.json.gzae4a2bf20e9c89f7fbaa13fa033bcedd78e652eb.json.gzaefd96f75cd4270d6a213123f8174717230c5ba4.json.gzb2af06bc569d9d86c9cd812b6e54ed79b6e6a00a.json.gzb3092fae9de3e7851fe85b77e0c0c128023f84e8.json.gzb36faefbfd43bfc98d4c11b7366c9b2661ed08ad.json.gzb666647599345fbf78364f9e20500cd53c0da431.json.gzb9d091f8427f599905b5486f06765ad7ce998491.json.gzc702eccd536df0e8ca2c94577280ad083ce0b82b.json.gzc8b4ba05febbf3da0ac0a26f6b0aa63de8b3b1a8.json.gzd21ba7afd9dcfc6b0d3099a9210a0aedb8e8b468.json.gzd52ba0a8e330d93adda6bd2ef3087d78e3fe6ed9.json.gzd5ab69bdff6c8735f37c4f0f7bf3fe47e3feba8b.json.gzd99ba57957ebb675143b95f03fe485531bb71951.json.gzdbf1387ea8688df18878f15665151882d08b78b0.json.gze4dfa134e9adf152652393e482fe246e0d3ead17.json.gzee8d051d48e917e9beb3142c37d069c0c10acc47.json.gzfbe5a5b342f4fed4e4e02259c235ab8c67f73e26.json.gzffca8d090dbf571550aa75382a3098156fc23433.json.gzmetadata.json

@ -30,11 +30,11 @@ function uupListEditions($lang = 'en-us', $updateId = 0) {
$build = explode('.', $info['build']);
$build = $build[0];
} else {
$build = 9841;
$build = 15063;
}
if(!isset($info['arch'])) {
$arch = null;
$info['arch'] = null;
}
$genPack = uupGetGenPacks($build, $info['arch'], $updateId);

@ -30,11 +30,11 @@ function uupListLangs($updateId = 0) {
$build = explode('.', $info['build']);
$build = $build[0];
} else {
$build = 9841;
$build = 15063;
}
if(!isset($info['arch'])) {
$arch = null;
$info['arch'] = null;
}
$genPack = uupGetGenPacks($build, $info['arch'], $updateId);

@ -2,7 +2,7 @@ UUP dump API
------------
### Functions
#### fetchupd.php: `uupFetchUpd($arch, $ring, $flight, $build, $minor);`
#### fetchupd.php: `uupFetchUpd($arch, $ring, $flight, $build, $minor, $sku, $cacheRequests);`
Fetches latest update information from Windows Update servers.
Parameters:
@ -10,19 +10,25 @@ Parameters:
- **Supported values:** `amd64`, `arm64`, `x86`
- `ring` - Ring to use when fetching information
- **Supported values:** `WIF`, `WIS`, `RP`
- **Supported values:** `WIF`, `WIS`, `RP`, `RETAIL`
- `flight` - Flight to use when fetching information
- **Supported values:** `Active`, `Skip`, `Current`
- **NOTE:** `Skip` is for `WIF` ring only. `Current` is for `RP` ring only.
- `build` - Build number to use when fetching information
- **Supported values:** >= 15063 and <= 65536
- **Supported values:** >= 9841 and <= PHP_INT_MAX-1
- `minor` - Build minor to use when fetching information
- **Supported values:** >= 0 and <= 65536
- **Supported values:** >= 0 and <= PHP_INT_MAX-1
#### get.php: `uupGetFiles($updateId, $usePack, $desiredEdition);`
- `sku` - SKU number to use when fetching information
- **Supported values:** Any integer
- `cacheRequests` - Should request responses be cached? (optional)
- **Supported values:** 0 = Disable (default), 1 = Enable
#### get.php: `uupGetFiles($updateId, $usePack, $desiredEdition, $requestType);`
Fetches files from `updateId` update and parses to array.
Parameters:
@ -36,24 +42,40 @@ Parameters:
- **Supported values:** any update UUID
- **NOTE:** You need to specify `usePack` to get successful request
#### listeditions.php: `uupListEditions($lang);`
Outputs list of supported editions for selected language.
- `$requestType` - Type of request to the API (optional)
- **Supported values:**
- 0 = uncached request (default)
- 1 = use cache if available
- 2 = offline information retrieval
#### listeditions.php: `uupListEditions($lang, $updateId);`
Outputs list of supported editions for selected language and Update ID.
Parameters:
- `lang` - Generate list for selected language
- **Supported values:** language name in xx-xx format
#### listid.php: `uupListIds();`
- `updateId` - Update identifier (optional)
- **Supported values:** any update UUID
#### listid.php: `uupListIds($search, $sortByDate);`
Outputs list of updates in fileinfo database.
Parameters:
- None
- `search` - Search query (optional)
- **Supported values:** any text
#### listlangs.php: `uupListLangs();`
Outputs list of languages supported by project.
- `sortByDate` - Sort results by creation date (optional)
- **Supported values:** 0 = Disable, 1 = Enable
#### listlangs.php: `uupListLangs($updateId);`
Outputs list of languages supported for specified Update ID.
Parameters:
- None
- `updateId` - Update identifier (optional)
- **Supported values:** any update UUID
#### updateinfo.php: `uupUpdateInfo($updateId, $onlyInfo);`
Outputs specified information of specified `updateId`.
@ -88,12 +110,16 @@ Parameters:
- UNSUPPORTED_EDITION
- UNSUPPORTED_COMBINATION
- EMPTY_FILELIST
- MISSING_FILES
- NO_FILES
- XML_PARSE_ERROR
**listeditions.php**
- UNSUPPORTED_LANG
**listid.php**
- NO_FILEINFO_DIR
- SEARCH_NO_RESULTS
**updateinfo.php**
- UPDATE_INFORMATION_NOT_EXISTS

@ -16,7 +16,7 @@ limitations under the License.
*/
function uupApiVersion() {
return '1.21.2';
return '1.21.3';
}
require_once dirname(__FILE__).'/auths.php';

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long