openGraphWithHttpInfo method
Get open graph metadata for url
Get Open Graph Metadata for a specif URL. Use the Open Graph protocol to get some generic metadata about a URL. Used for creating link previews. Minimum server version: 3.10 ##### Permissions No permission required but must be logged in.
Note: This method returns the HTTP Response
.
Parameters:
- MmOpenGraphRequest mmOpenGraphRequest (required):
Implementation
Future<Response> openGraphWithHttpInfo(
MmOpenGraphRequest mmOpenGraphRequest,
) async {
// ignore: prefer_const_declarations
final path = r'/opengraph';
// ignore: prefer_final_locals
Object? postBody = mmOpenGraphRequest;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}