testFilesIntegration method
POST /{version}/files/integrations/test
Tries the credentials of a files integration against the storage provider and answers whether they work. Nothing is saved — call it before saveFilesIntegration to tell a bad key from a bad bucket.
Implementation
Future<Object?> testFilesIntegration(
{Map<String, Object?>? query,
Object? body,
Map<String, String>? headers}) {
return transport.send(
route: '/{version}/files/integrations/test',
method: 'POST',
query: query,
body: body,
headers: headers,
pathParams: null,
);
}