Skip to content

Latest commit

 

History

History
198 lines (133 loc) · 7.55 KB

AppInfoLocalizationsApi.md

File metadata and controls

198 lines (133 loc) · 7.55 KB

app_store_connect.api.AppInfoLocalizationsApi

Load the API package

import 'package:app_store_connect/api.dart';

All URIs are relative to https://api.appstoreconnect.apple.com

Method HTTP request Description
appInfoLocalizationsCreateInstance POST /v1/appInfoLocalizations
appInfoLocalizationsDeleteInstance DELETE /v1/appInfoLocalizations/{id}
appInfoLocalizationsGetInstance GET /v1/appInfoLocalizations/{id}
appInfoLocalizationsUpdateInstance PATCH /v1/appInfoLocalizations/{id}

appInfoLocalizationsCreateInstance

AppInfoLocalizationResponse appInfoLocalizationsCreateInstance(appInfoLocalizationCreateRequest)

Example

import 'package:app_store_connect/api.dart';
// TODO Configure HTTP basic authorization: itc-bearer-token
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').password = 'YOUR_PASSWORD';

final api = AppStoreConnect().getAppInfoLocalizationsApi();
final AppInfoLocalizationCreateRequest appInfoLocalizationCreateRequest = ; // AppInfoLocalizationCreateRequest | AppInfoLocalization representation

try {
    final response = api.appInfoLocalizationsCreateInstance(appInfoLocalizationCreateRequest);
    print(response);
} catch on DioError (e) {
    print('Exception when calling AppInfoLocalizationsApi->appInfoLocalizationsCreateInstance: $e\n');
}

Parameters

Name Type Description Notes
appInfoLocalizationCreateRequest AppInfoLocalizationCreateRequest AppInfoLocalization representation

Return type

AppInfoLocalizationResponse

Authorization

itc-bearer-token

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

appInfoLocalizationsDeleteInstance

appInfoLocalizationsDeleteInstance(id)

Example

import 'package:app_store_connect/api.dart';
// TODO Configure HTTP basic authorization: itc-bearer-token
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').password = 'YOUR_PASSWORD';

final api = AppStoreConnect().getAppInfoLocalizationsApi();
final String id = id_example; // String | the id of the requested resource

try {
    api.appInfoLocalizationsDeleteInstance(id);
} catch on DioError (e) {
    print('Exception when calling AppInfoLocalizationsApi->appInfoLocalizationsDeleteInstance: $e\n');
}

Parameters

Name Type Description Notes
id String the id of the requested resource

Return type

void (empty response body)

Authorization

itc-bearer-token

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

appInfoLocalizationsGetInstance

AppInfoLocalizationResponse appInfoLocalizationsGetInstance(id, fieldsLeftSquareBracketAppInfoLocalizationsRightSquareBracket, include)

Example

import 'package:app_store_connect/api.dart';
// TODO Configure HTTP basic authorization: itc-bearer-token
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').password = 'YOUR_PASSWORD';

final api = AppStoreConnect().getAppInfoLocalizationsApi();
final String id = id_example; // String | the id of the requested resource
final BuiltList<String> fieldsLeftSquareBracketAppInfoLocalizationsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type appInfoLocalizations
final BuiltList<String> include = ; // BuiltList<String> | comma-separated list of relationships to include

try {
    final response = api.appInfoLocalizationsGetInstance(id, fieldsLeftSquareBracketAppInfoLocalizationsRightSquareBracket, include);
    print(response);
} catch on DioError (e) {
    print('Exception when calling AppInfoLocalizationsApi->appInfoLocalizationsGetInstance: $e\n');
}

Parameters

Name Type Description Notes
id String the id of the requested resource
fieldsLeftSquareBracketAppInfoLocalizationsRightSquareBracket BuiltList<String> the fields to include for returned resources of type appInfoLocalizations [optional]
include BuiltList<String> comma-separated list of relationships to include [optional]

Return type

AppInfoLocalizationResponse

Authorization

itc-bearer-token

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

appInfoLocalizationsUpdateInstance

AppInfoLocalizationResponse appInfoLocalizationsUpdateInstance(id, appInfoLocalizationUpdateRequest)

Example

import 'package:app_store_connect/api.dart';
// TODO Configure HTTP basic authorization: itc-bearer-token
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').password = 'YOUR_PASSWORD';

final api = AppStoreConnect().getAppInfoLocalizationsApi();
final String id = id_example; // String | the id of the requested resource
final AppInfoLocalizationUpdateRequest appInfoLocalizationUpdateRequest = ; // AppInfoLocalizationUpdateRequest | AppInfoLocalization representation

try {
    final response = api.appInfoLocalizationsUpdateInstance(id, appInfoLocalizationUpdateRequest);
    print(response);
} catch on DioError (e) {
    print('Exception when calling AppInfoLocalizationsApi->appInfoLocalizationsUpdateInstance: $e\n');
}

Parameters

Name Type Description Notes
id String the id of the requested resource
appInfoLocalizationUpdateRequest AppInfoLocalizationUpdateRequest AppInfoLocalization representation

Return type

AppInfoLocalizationResponse

Authorization

itc-bearer-token

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]