Details

    • Not defined

    Description

      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

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                sebastian.stamm Sebastian Stamm
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce