• Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.1.0
    • None
    • backend
    • Not defined

      Context:
      See parent task.

      AT:

      • there is a new endpoint on the definition resource that returns all available tenants given a definitionType, -key and a list of versions
      • tenants are sorted ascending by their name, the "not defined" tenant (id: null) is always first if available
      • the endpoint is documented in confluence

      API-Suggestions:
      POST /api/definition/:type:/:key:/_resolveTenantsForVersions

      Request-Body:

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

      [
                {
                  "id": null,
                  "name": "Not defined"
                },
                {
                 "id": "tenant1",
                 "name": "Tenant 1"
                },
      ...
      ]
      

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: