Skip to content

Latest commit

 

History

History
443 lines (319 loc) · 14.1 KB

File metadata and controls

443 lines (319 loc) · 14.1 KB

AppStoreDeveloperApi

All URIs are relative to https://api.flipdish.co

Method HTTP request Description
appVerificationUpdate PUT /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/verification
createAppStoreApp POST /api/v1.0/oauthclients/{oauthAppId}/appstore/apps
deleteAppStoreApp DELETE /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}
getAppExternalProduct GET /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/external_product
getExternalFunctionSigningKey GET /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/external_function_signing_key
updateAppStoreApp PUT /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}
updateExternalProduct PUT /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/external_product
uploadAppStoreAppLogo POST /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/logo

appVerificationUpdate

appVerificationUpdate(oauthAppId, appStoreAppId, verificationStatus)

Example

// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.AppStoreDeveloperApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");

AppStoreDeveloperApi apiInstance = new AppStoreDeveloperApi();
String oauthAppId = "oauthAppId_example"; // String | 
String appStoreAppId = "appStoreAppId_example"; // String | 
String verificationStatus = "verificationStatus_example"; // String | 
try {
    apiInstance.appVerificationUpdate(oauthAppId, appStoreAppId, verificationStatus);
} catch (ApiException e) {
    System.err.println("Exception when calling AppStoreDeveloperApi#appVerificationUpdate");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
oauthAppId String
appStoreAppId String
verificationStatus String [enum: Draft, Submitted, Verified]

Return type

null (empty response body)

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/json, application/xml, text/xml

createAppStoreApp

RestApiResultAppStoreApp createAppStoreApp(oauthAppId, createAppStoreApp)

Example

// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.AppStoreDeveloperApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");

AppStoreDeveloperApi apiInstance = new AppStoreDeveloperApi();
String oauthAppId = "oauthAppId_example"; // String | 
CreateAppStoreApp createAppStoreApp = new CreateAppStoreApp(); // CreateAppStoreApp | 
try {
    RestApiResultAppStoreApp result = apiInstance.createAppStoreApp(oauthAppId, createAppStoreApp);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling AppStoreDeveloperApi#createAppStoreApp");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
oauthAppId String
createAppStoreApp CreateAppStoreApp

Return type

RestApiResultAppStoreApp

Authorization

oauth2

HTTP request headers

  • Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
  • Accept: application/json, text/json, application/xml, text/xml

deleteAppStoreApp

RestApiStringResult deleteAppStoreApp(oauthAppId, appStoreAppId)

Example

// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.AppStoreDeveloperApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");

AppStoreDeveloperApi apiInstance = new AppStoreDeveloperApi();
String oauthAppId = "oauthAppId_example"; // String | 
String appStoreAppId = "appStoreAppId_example"; // String | 
try {
    RestApiStringResult result = apiInstance.deleteAppStoreApp(oauthAppId, appStoreAppId);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling AppStoreDeveloperApi#deleteAppStoreApp");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
oauthAppId String
appStoreAppId String

Return type

RestApiStringResult

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/json, application/xml, text/xml

getAppExternalProduct

getAppExternalProduct(oauthAppId, appStoreAppId)

Example

// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.AppStoreDeveloperApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");

AppStoreDeveloperApi apiInstance = new AppStoreDeveloperApi();
String oauthAppId = "oauthAppId_example"; // String | 
String appStoreAppId = "appStoreAppId_example"; // String | 
try {
    apiInstance.getAppExternalProduct(oauthAppId, appStoreAppId);
} catch (ApiException e) {
    System.err.println("Exception when calling AppStoreDeveloperApi#getAppExternalProduct");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
oauthAppId String
appStoreAppId String

Return type

null (empty response body)

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/json, application/xml, text/xml

getExternalFunctionSigningKey

RestApiStringResult getExternalFunctionSigningKey(oauthAppId, appStoreAppId)

Example

// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.AppStoreDeveloperApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");

AppStoreDeveloperApi apiInstance = new AppStoreDeveloperApi();
String oauthAppId = "oauthAppId_example"; // String | 
String appStoreAppId = "appStoreAppId_example"; // String | 
try {
    RestApiStringResult result = apiInstance.getExternalFunctionSigningKey(oauthAppId, appStoreAppId);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling AppStoreDeveloperApi#getExternalFunctionSigningKey");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
oauthAppId String
appStoreAppId String

Return type

RestApiStringResult

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/json, application/xml, text/xml

updateAppStoreApp

updateAppStoreApp(oauthAppId, appStoreAppId, appStoreApp)

Example

// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.AppStoreDeveloperApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");

AppStoreDeveloperApi apiInstance = new AppStoreDeveloperApi();
String oauthAppId = "oauthAppId_example"; // String | 
String appStoreAppId = "appStoreAppId_example"; // String | 
UpdateAppStoreApp appStoreApp = new UpdateAppStoreApp(); // UpdateAppStoreApp | 
try {
    apiInstance.updateAppStoreApp(oauthAppId, appStoreAppId, appStoreApp);
} catch (ApiException e) {
    System.err.println("Exception when calling AppStoreDeveloperApi#updateAppStoreApp");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
oauthAppId String
appStoreAppId String
appStoreApp UpdateAppStoreApp

Return type

null (empty response body)

Authorization

oauth2

HTTP request headers

  • Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
  • Accept: application/json, text/json, application/xml, text/xml

updateExternalProduct

updateExternalProduct(oauthAppId, appStoreAppId, appStoreAppExternalProduct)

Example

// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.AppStoreDeveloperApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");

AppStoreDeveloperApi apiInstance = new AppStoreDeveloperApi();
String oauthAppId = "oauthAppId_example"; // String | 
String appStoreAppId = "appStoreAppId_example"; // String | 
UpdateAppStoreAppExternalProduct appStoreAppExternalProduct = new UpdateAppStoreAppExternalProduct(); // UpdateAppStoreAppExternalProduct | 
try {
    apiInstance.updateExternalProduct(oauthAppId, appStoreAppId, appStoreAppExternalProduct);
} catch (ApiException e) {
    System.err.println("Exception when calling AppStoreDeveloperApi#updateExternalProduct");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
oauthAppId String
appStoreAppId String
appStoreAppExternalProduct UpdateAppStoreAppExternalProduct

Return type

null (empty response body)

Authorization

oauth2

HTTP request headers

  • Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
  • Accept: application/json, text/json, application/xml, text/xml

uploadAppStoreAppLogo

uploadAppStoreAppLogo(oauthAppId, appStoreAppId, image)

Example

// Import classes:
//import com.flipdish.apiclient.ApiClient;
//import com.flipdish.apiclient.ApiException;
//import com.flipdish.apiclient.Configuration;
//import com.flipdish.apiclient.auth.*;
//import com.flipdish.apiclient.api.AppStoreDeveloperApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure OAuth2 access token for authorization: oauth2
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
oauth2.setAccessToken("YOUR ACCESS TOKEN");

AppStoreDeveloperApi apiInstance = new AppStoreDeveloperApi();
String oauthAppId = "oauthAppId_example"; // String | 
String appStoreAppId = "appStoreAppId_example"; // String | 
File image = new File("/path/to/file.txt"); // File | App Store App Logo
try {
    apiInstance.uploadAppStoreAppLogo(oauthAppId, appStoreAppId, image);
} catch (ApiException e) {
    System.err.println("Exception when calling AppStoreDeveloperApi#uploadAppStoreAppLogo");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
oauthAppId String
appStoreAppId String
image File App Store App Logo

Return type

null (empty response body)

Authorization

oauth2

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: application/json, text/json, application/xml, text/xml