v1

latestSwagger 2.02026-07-13285166341.1 KB
Packages

Add a Package to the Update System.

No Documentation Found.

post/api/v2/Packages

Request body

PackageIDstring

Read Only. The package ID

PackageTypeIDstring required

The id of the package type this package belongs to.

Urlstring required

The Url to download the package from.

CRCstring required

The CRC used to validate the download.

Notesstring

Notes about the package

Versioninteger required

The version.

PreviousVersioninteger

For delta packages, the previous version required. For non-delta packages, the Previous version is 0. Default value is 0.

Descriptionstring required

The package description

ReleaseDatestring date-time required

The date the package was released

Releasedboolean

True if the package is released. Default value is False.

Autorunboolean

Value is true if package should run automatically. Default value is false.

Switchesstring

The command line arguments for the package. Default value is an empty string.

Sizeinteger

The size of the file at the specified URL. If a size is not supplied at creation time, the size will be determined by the response from the URL. If the size provided does not match the size in the response from the URL an error will be returned.

RemoveOnSuccessboolean

True to remove the package after successful execution. Default value is False.

LocalizedNamestring

Optional. The StringID used to localize the name of the Package

Response

OK

string required