Galaxy Updater API
JSON Interface
Galaxy Updater allows you to access your update packages and files directly through this site with JSON.
Methods
| Name | Description | Returns |
|---|---|---|
| http://www.skewworks.com/GalaxyUpdater/JSON/Product/{productId} | Returns a list of all currently active updates available for the requested product. | ProductModel |
| http://www.skewworks.com/GalaxyUpdater/JSON/Package/{packageId} | Returns a list of all files in the requested package. | PackageModel |
Example Request URLs:
http://www.skewworks.com/GalaxyUpdater/JSON/Product/5602026771a61
http://www.skewworks.com/GalaxyUpdater/JSON/Package/8c6da188
Product Model
This object contains all the information required to retrieve updates for the specified product.
Fields
| Name | Description | Type |
|---|---|---|
| productId | The Id for the product | Unique Id |
| productName | Name of the product | String |
| productDescription | Description of the product | String |
| isActive | Indicates whether or not the product is active: 1 = true, 0 = false | Int |
| created | Date/Time the product was created on GalaxyUpdater | Date/Time (UTC) |
| updated | Date/Time the product was last updated on GalaxyUpdater | Date/Time (UTC) |
| usedSpace | Total amount of space used by all files in all packages for the product. | Long |
| packages | List of packages for the product. | Package Model array |
Package Model
This object contains all the information required to retrieve updates for the specified package.
| Name | Description | Type |
|---|---|---|
| productId | Id of the product. | Unique Id |
| packageId | The Id for the package | Unique Id |
| packageName | Name of the package | String |
| packageDescription | Description of the package | String |
| packageType | Type of update performed by the package | String |
| isActive | Indicates whether or not the package is active: 1 = true, 0 = false | Int |
| created | Date/Time the package was created on GalaxyUpdater | Date/Time (UTC) |
| updated | Date/Time the package was last updated on GalaxyUpdater | Date/Time (UTC) |
| usedSpace | Total amount of space used by all files in the package. | Long |
| files | List of files for the package. | File Model array |
File Model
This object contains all the information for the specified file.
| Name | Description | Type |
|---|---|---|
| Id of the file. | Unique Id | |
| productId | Id of the product. | Unique Id |
| packageId | The Id for the package | Unique Id |
| orgName | Original name of the file (may include URL for remote files) | String |
| installDir | Directory to install file | String |
| fileVersion | Version of the file | String |
| mimeType | Mime/Content type of the file | String |
| isRemote | Remote file indicator: 1 = true, 0 = false | Int |
| fileSize | Size of the file in bytes | Long |
| created | Date/Time the file was created on GalaxyUpdater | Date/Time (UTC) |
| updated | Date/Time the file was last updated on GalaxyUpdater | Date/Time (UTC) |
