public ExportListResponse getExports ( String exportType , UUID userId , Integer pageSize , String cursor , String sorting , String sortDirection ) throws ApiException { Object localVarPostBody = null ; // create path and map variables String localVarPath = "/exports" . replaceAll ( "\\{format\\}" , "json" ) ; // query params List < Pair > localVarQueryParams = new ArrayList < Pair > ( ) ; Map < String , String > localVarHeaderParams = new HashMap < String , String > ( ) ; Map < String , Object > localVarFormParams = new HashMap < String , Object > ( ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "exportType" , exportType ) ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "userId" , userId ) ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "pageSize" , pageSize ) ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "cursor" , cursor ) ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "sorting" , sorting ) ) ; localVarQueryParams . addAll ( apiClient . parameterToPairs ( "" , "sortDirection" , sortDirection ) ) ; final String [ ] localVarAccepts = { "application/json" } ; final String localVarAccept = apiClient . selectHeaderAccept ( localVarAccepts ) ; final String [ ] localVarContentTypes = { } ; final String localVarContentType = apiClient . selectHeaderContentType ( localVarContentTypes ) ; String [ ] localVarAuthNames = new String [ ] { } ; GenericType < ExportListResponse > localVarReturnType = new GenericType < ExportListResponse > ( ) { } ; return apiClient . invokeAPI ( localVarPath , "GET" , localVarQueryParams , localVarPostBody , localVarHeaderParams , localVarFormParams , localVarAccept , localVarContentType , localVarAuthNames , localVarReturnType ) ; }
getExports Lists all exports of the given type in the workspace of the authorized user