getFileInfoWithHttpInfo method
Get metadata for a file
Gets a file's info. ##### Permissions Must have read_channel
permission or be uploader of the file.
Note: This method returns the HTTP Response
.
Parameters:
- String fileId (required): The ID of the file info to get
Implementation
Future<Response> getFileInfoWithHttpInfo(
String fileId,
) async {
// ignore: prefer_const_declarations
final path = r'/files/{file_id}/info'.replaceAll('{file_id}', fileId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}