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

    Details

    • Type: Sub-task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.1.0-alpha2, 3.1.0
    • Component/s: None
    • Labels:
    • Effort:
      Not defined

      Description

      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', ... ]

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: