1. IApiClient

Interface IApiClient

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

Contains functionality to get REST API information. It will also check for compatibility with the server REST API.

Namespace: Stylelabs.M.Sdk.WebClient.Contracts
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
public interface IApiClient

Properties

DisableCompatibilityChecks

Gets or sets whether compatibility checks should be disabled. true means the check is not performed. This is value is shared over all instances.

Declaration
bool DisableCompatibilityChecks { get; set; }
Property Value
TypeDescription
System.Boolean

Methods

GetApiInfoAsync()

Gets the REST API information. The result will be cached.

Declaration
Task<IApiInfo> GetApiInfoAsync()
Returns
TypeDescription
Task<IApiInfo>

The API information.

GetApiRoutesAsync()

Gets the REST API routes. The result will be cached.

Declaration
Task<ApiRoutesDictionary> GetApiRoutesAsync()
Returns
TypeDescription
Task<ApiRoutesDictionary>

The REST API routes.

Refresh()

Forces a refresh of the cached REST API information.

Declaration
Task Refresh()
Returns
TypeDescription
Task
この記事を改善するための提案がある場合は、 お知らせください!