Skip to content

Latest commit

 

History

History
132 lines (100 loc) · 4.32 KB

IOsShortcutApi.md

File metadata and controls

132 lines (100 loc) · 4.32 KB

IOsShortcutApi

All URIs are relative to http://localhost

Method HTTP request Description
getShortcutApiV1IosShortcutShortcutGet GET /api/v1/ios_shortcut/shortcut 用于iOS快捷指令的版本更新信息/Version update information for iOS shortcuts
getShortcutApiV1IosShortcutShortcutGet_0 GET /api/v1/ios_shortcut/shortcut 用于iOS快捷指令的版本更新信息/Version update information for iOS shortcuts

getShortcutApiV1IosShortcutShortcutGet

IOsShortcut getShortcutApiV1IosShortcutShortcutGet()

用于iOS快捷指令的版本更新信息/Version update information for iOS shortcuts

Example

// Import classes:
import org.openapitools.client.ApiClient;
import org.openapitools.client.ApiException;
import org.openapitools.client.Configuration;
import org.openapitools.client.auth.*;
import org.openapitools.client.models.*;
import org.openapitools.client.api.IOsShortcutApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("http://localhost");
    
    // Configure HTTP bearer authorization: bearer
    HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
    bearer.setBearerToken("BEARER TOKEN");

    IOsShortcutApi apiInstance = new IOsShortcutApi(defaultClient);
    try {
      IOsShortcut result = apiInstance.getShortcutApiV1IosShortcutShortcutGet();
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling IOsShortcutApi#getShortcutApiV1IosShortcutShortcutGet");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

This endpoint does not need any parameter.

Return type

IOsShortcut

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -

getShortcutApiV1IosShortcutShortcutGet_0

IOsShortcut getShortcutApiV1IosShortcutShortcutGet_0()

用于iOS快捷指令的版本更新信息/Version update information for iOS shortcuts

Example

// Import classes:
import org.openapitools.client.ApiClient;
import org.openapitools.client.ApiException;
import org.openapitools.client.Configuration;
import org.openapitools.client.auth.*;
import org.openapitools.client.models.*;
import org.openapitools.client.api.IOsShortcutApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("http://localhost");
    
    // Configure HTTP bearer authorization: bearer
    HttpBearerAuth bearer = (HttpBearerAuth) defaultClient.getAuthentication("bearer");
    bearer.setBearerToken("BEARER TOKEN");

    IOsShortcutApi apiInstance = new IOsShortcutApi(defaultClient);
    try {
      IOsShortcut result = apiInstance.getShortcutApiV1IosShortcutShortcutGet_0();
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling IOsShortcutApi#getShortcutApiV1IosShortcutShortcutGet_0");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

This endpoint does not need any parameter.

Return type

IOsShortcut

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful Response -