iikoFront Api V7Preview7 Code Reference
iikoFront Api V7Preview7 Code Reference
Resto.Front.Api
IPluginIntegrationService Interface
IPluginIntegrationService Methods
GetApplicationVersion Method
GetConfigsDirectoryPath Method
GetDataStorageDirectoryPath Method
GetPaymentProcessorSettingsKey Method
GetPluginSettings Method
GetSupportedApiVersions Method
UpdatePluginSettings Method

# IPluginIntegrationService GetSupportedApiVersions Method

Get a list of API version names, which are supported by the iikoFront application.

Namespace: Resto.Front.Api
Assembly: Resto.Front.Api.V7Preview7 (in Resto.Front.Api.V7Preview7.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    IReadOnlyList<string> GetSupportedApiVersions(
    	bool includePrerelease
    )

#### Parameters

includePrerelease
  Type: System
  Boolean
  Whether to include prerelease versions. true — all supported API versions will be returned, false — only released API versions will be returned. Released API version works identically on each iikoFront app version (GetApplicationVersion
  ) which supports that API version, while prerelease versions are subject to change and may be incompatible between iikoFront app versions.

#### Return Value

Type: IReadOnlyList
String
List of supported API versions.
Remarks
Can be used by meta-plugins which deal with other plugins.
See Also

#### Reference

IPluginIntegrationService Interface
Resto.Front.Api Namespace