Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-3202 Allow filtering on Dashboard level across multiple reports
  3. OPT-3718

Create endpoint to return variable values for given report IDs and variable name/types

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: L3 - Default L3 - Default
    • 3.1.0-alpha2, 3.1.0
    • None
    • None
    • Not defined

      An endpoint exists that returns the values of a given variable name/type combination across the report IDs specified. API proposal below.

      ATs:

      • a new endpoint returns the values for a given variable name/type combination across the report IDs specified
      • API documentation updated
      POST /api/variables/reports/values 
      
      Request Payload: 
      { 
        "reportIds": ["reportId1", "reportId2", ...], // (required)  
        "name": "variableName", // (required)
        "type": "variableType", // (required)
        "valueFilter": "val", // returns only those string values that contain the given value. Applies only for type 'string'. Filter is case insensitive.
        "resultOffset": 20,
        "numResults": 20,
      } 
      
      Response: 
      
      [ 'value 1', // sorted alphabetically  'value 2', ... ]

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              joshua.windels Joshua Windels
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: