getFilePublicWithHttpInfo method
Get a public file
Permissions No permissions required.
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<Response> getFilePublicWithHttpInfo(
String fileId,
String h,
) async {
// ignore: prefer_const_declarations
final path = r'/files/{file_id}/public'.replaceAll('{file_id}', fileId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('', 'h', h));
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}