- 
    Type:Sub-task 
- 
    Resolution: Done
- 
    Priority:L3 - Default 
- 
    Affects Version/s: None
- 
    Component/s: 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', ... ]