-
Sub-task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
AT:
- change the GET /api/*-definition/definitionVersionsWithTenants endpoints so that it returns the definitions in a structure depicted here:
[ { "key": "abc", "name": "ABC", "versions": [ { "version": "ALL", "versionTag": null }, { "version": "LATEST", "versionTag": null }, { "version": "3", "versionTag": "Tag" }, { "version": "2", "versionTag": "Another Tag" }, { "version": "1", "versionTag": "Tag" }, ... ], "tenants": [ { "id": null, "name": "Not defined" }, { "id": "tenant1", "name": "Tenant 1" }, { "id": "tenant2", "name": "Tenant 2" }, ... ] }, ... ]
- the latest version is added to the list
- the rest-api documentation is adjusted accordingly