Details

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

    Description

      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"
                },
      ...
      ]
      

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce