Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1154

Create an endpoint to check if a report/dashboard was shared

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.0.0
    • None
    • backend
    • None

      In order to show a hint in the Entity List that a report/dashboard was shared, we need endpoints which:

      • take a list of Report or Dashboard IDs
      • response with an object where each of the ids has a boolean value if it was shared

      AT:

      • I can request from Optimize, which reports have been shared, by providing a list of report ids
      • I can request from Optimize, which dashboards have been shared by providing a list of dashboard ids
      • As a response from both requests, I can see for each ID if it is shared or not

        This is the controller panel for Smart Panels app

            [OPT-1154] Create an endpoint to check if a report/dashboard was shared

            Johannes added a comment - - edited

            Nice

            Still I would like suggest one simplification. Right now, we return a list of object containing the id and the shared status. However, I think it would be sufficient to just have a map linking each id to the status. That would also make it consistent with the other apis and easier for front-end to parse it.

            Johannes added a comment - - edited Nice Still I would like suggest one simplification. Right now, we return a list of object containing the id and the shared status. However, I think it would be sufficient to just have a map linking each id to the status. That would also make it consistent with the other apis and easier for front-end to parse it.

            Johannes added a comment -

            The code looks good. If now also adjust the rest api documentation, I'm happy and you can close the ticket

            Johannes added a comment - The code looks good. If now also adjust the rest api documentation , I'm happy and you can close the ticket

              Unassigned Unassigned
              kyrylo.zakurdaiev Kyrylo Zakurdaiev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: