github.com/muxinc/mux-go@v1.1.1/docs/DimensionsApi.md (about)

     1  # \DimensionsApi
     2  
     3  All URIs are relative to *https://api.mux.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**ListDimensionValues**](DimensionsApi.md#ListDimensionValues) | **Get** /data/v1/dimensions/{DIMENSION_ID} | Lists the values for a specific dimension
     8  [**ListDimensions**](DimensionsApi.md#ListDimensions) | **Get** /data/v1/dimensions | List Dimensions
     9  
    10  
    11  # **ListDimensionValues**
    12  > ListDimensionValuesResponse ListDimensionValues(ctx, dIMENSIONID, optional)
    13  Lists the values for a specific dimension
    14  
    15  Lists the values for a dimension along with a total count of related views.  Note: This API replaces the list-filter-values API call. 
    16  
    17  ### Required Parameters
    18  
    19  Name | Type | Description  | Notes
    20  ------------- | ------------- | ------------- | -------------
    21   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    22    **dIMENSIONID** | **string**| ID of the Dimension | 
    23   **optional** | ***ListDimensionValuesOpts** | optional parameters | nil if no parameters
    24  
    25  ### Optional Parameters
    26  Optional parameters are passed through a pointer to a ListDimensionValuesOpts struct
    27  
    28  Name | Type | Description  | Notes
    29  ------------- | ------------- | ------------- | -------------
    30  
    31   **limit** | **optional.Int32**| Number of items to include in the response | [default to 25]
    32   **page** | **optional.Int32**| Offset by this many pages, of the size of `limit` | [default to 1]
    33   **filters** | [**optional.Interface of []string**](string.md)| Filter key:value pairs. Must be provided as an array query string parameter (e.g. filters[]=operating_system:windows&filters[]=country:US). Possible filter names are the same as returned by the List Filters endpoint.  | 
    34   **timeframe** | [**optional.Interface of []string**](string.md)| Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are...   * array of epoch timestamps e.g. timeframe[]=1498867200&timeframe[]=1498953600   * duration string e.g. timeframe[]=24:hours or timeframe[]=7:days.  | 
    35  
    36  ### Return type
    37  
    38  [**ListDimensionValuesResponse**](ListDimensionValuesResponse.md)
    39  
    40  ### Authorization
    41  
    42  [accessToken](../README.md#accessToken)
    43  
    44  ### HTTP request headers
    45  
    46   - **Content-Type**: Not defined
    47   - **Accept**: application/json
    48  
    49  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
    50  
    51  # **ListDimensions**
    52  > ListDimensionsResponse ListDimensions(ctx, )
    53  List Dimensions
    54  
    55  List all available dimensions.  Note: This API replaces the list-filters API call. 
    56  
    57  ### Required Parameters
    58  This endpoint does not need any parameter.
    59  
    60  ### Return type
    61  
    62  [**ListDimensionsResponse**](ListDimensionsResponse.md)
    63  
    64  ### Authorization
    65  
    66  [accessToken](../README.md#accessToken)
    67  
    68  ### HTTP request headers
    69  
    70   - **Content-Type**: Not defined
    71   - **Accept**: application/json
    72  
    73  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
    74