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:
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: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: