brysontyrrell / PatchServer

A self-hosted implementation of an external patch source for Jamf Pro 10.2+
http://patchserver.readthedocs.io/en/latest/
MIT License
67 stars 13 forks source link

v0.8.0 #11

Closed brysontyrrell closed 6 years ago

brysontyrrell commented 6 years ago

This update contains UI improvements, the ability to update versions in the UI, and updated documentation.

This updated contains a breaking API change!

Previously, the /api/v1/title/<title>/version endpoint required JSON provided in the following format:

    {
        "Items": [
            {
                "version": "",
                "releaseDate": "",
                "standalone": true,
                "minimumOperatingSystem": "",
                "reboot": false,
                "killApps": [],
                "components": [],
                "capabilities": [],
                "dependencies": []
            }
        ]
    }

The intent was to allow multiple versions to be posted at once (the underlying create_patch_objects function takes a list of patches), but for easier use and consistency with how the CommunityPatch API operates this has been changed.

The endpoint will now expect only the JSON of the version itself:

    {
        "version": "",
        "releaseDate": "",
        "standalone": true,
        "minimumOperatingSystem": "",
        "reboot": false,
        "killApps": [],
        "components": [],
        "capabilities": [],
        "dependencies": []
    }