add versioning to API

Issue #731 on hold
Robert Jäschke created an issue

Problem: When we want/need to change the XML schema of the API XML, we have to ensure that all clients can understand the new schema. Adding attributes / nodes is probably no problem (until no client does schema validation) but removing/renaming breaks clients.

Proposed Solution: add a version number to the XML output and let clients check it. They can then inform the user, that they have to update the client.

The version number could have several parts, i.e.:

"2.1.4"

a change in the last part means, non-validating clients should not break, i.e., there has been nothing changed, only things added (meaning, clients just don't see the new things)

a change in the second part means, client needs to be updated.

or more complex scheme.

Comments (4)

  1. Robert Jäschke reporter

    In retrospect, we "survived" without this for quite some time. Hence, it doesn't seem to be sooo urgent.

  2. Log in to comment