myhomie_app/mycore_api/doc/GoogleApi.md

1.4 KiB

mycore_api.api.GoogleApi

Load the API package

import 'package:mycore_api/api.dart';

All URIs are relative to http://192.168.31.140

Method HTTP request Description
googleCreate POST /google

googleCreate

MultipartFile googleCreate(googleAuthModel)

Example

import 'package:mycore_api/api.dart';
// TODO Configure OAuth2 access token for authorization: bearer
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';

final api_instance = GoogleApi();
final googleAuthModel = GoogleAuthModel(); // GoogleAuthModel | 

try {
    final result = api_instance.googleCreate(googleAuthModel);
    print(result);
} catch (e) {
    print('Exception when calling GoogleApi->googleCreate: $e\n');
}

Parameters

Name Type Description Notes
googleAuthModel GoogleAuthModel

Return type

MultipartFile

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/octet-stream

[Back to top] [Back to API list] [Back to Model list] [Back to README]