-
Feature Part
-
Resolution: Done
-
L3 - Default
-
None
-
Not defined
Context:
For the multi-definition report topic, we need to get a list of available definition tenants for multiple definitions at once
AT:
- There is a new endpoint POST /api/definition/:type:/_resolveTenantsForVersions
Request Body:{ "definitions": [ { "key": "definitionKey", "versions": ["1", "2"] // Optional, array of versions to query available tenants for, supports special entries "all" and "latest", defaults to ["all"] }, ... ] "filterByCollectionScope": "someCollectionId" // Optional. Only return tenants that are available in the scope of the given collection }
Response Body:
[ { "key": "definitionKey", "versions": ["1", "2"], "tenants": [ { "id": null, "name": "Not defined" }, { "id": "tenant1", "name": "Tenant 1" }, ... ] }, ... ]
- the new endpoint is documented