Skip to content

Latest commit

 

History

History
302 lines (207 loc) · 13.5 KB

BetaBuildLocalizationsApi.md

File metadata and controls

302 lines (207 loc) · 13.5 KB

app_store_connect.api.BetaBuildLocalizationsApi

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
betaBuildLocalizationsBuildGetToOneRelated GET /v1/betaBuildLocalizations/{id}/build
betaBuildLocalizationsCreateInstance POST /v1/betaBuildLocalizations
betaBuildLocalizationsDeleteInstance DELETE /v1/betaBuildLocalizations/{id}
betaBuildLocalizationsGetCollection GET /v1/betaBuildLocalizations
betaBuildLocalizationsGetInstance GET /v1/betaBuildLocalizations/{id}
betaBuildLocalizationsUpdateInstance PATCH /v1/betaBuildLocalizations/{id}

betaBuildLocalizationsBuildGetToOneRelated

BuildResponse betaBuildLocalizationsBuildGetToOneRelated(id, fieldsLeftSquareBracketBuildsRightSquareBracket)

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().getBetaBuildLocalizationsApi();
final String id = id_example; // String | the id of the requested resource
final BuiltList<String> fieldsLeftSquareBracketBuildsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type builds

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

Parameters

Name Type Description Notes
id String the id of the requested resource
fieldsLeftSquareBracketBuildsRightSquareBracket BuiltList<String> the fields to include for returned resources of type builds [optional]

Return type

BuildResponse

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]

betaBuildLocalizationsCreateInstance

BetaBuildLocalizationResponse betaBuildLocalizationsCreateInstance(betaBuildLocalizationCreateRequest)

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().getBetaBuildLocalizationsApi();
final BetaBuildLocalizationCreateRequest betaBuildLocalizationCreateRequest = ; // BetaBuildLocalizationCreateRequest | BetaBuildLocalization representation

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

Parameters

Name Type Description Notes
betaBuildLocalizationCreateRequest BetaBuildLocalizationCreateRequest BetaBuildLocalization representation

Return type

BetaBuildLocalizationResponse

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]

betaBuildLocalizationsDeleteInstance

betaBuildLocalizationsDeleteInstance(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().getBetaBuildLocalizationsApi();
final String id = id_example; // String | the id of the requested resource

try {
    api.betaBuildLocalizationsDeleteInstance(id);
} catch on DioError (e) {
    print('Exception when calling BetaBuildLocalizationsApi->betaBuildLocalizationsDeleteInstance: $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]

betaBuildLocalizationsGetCollection

BetaBuildLocalizationsResponse betaBuildLocalizationsGetCollection(filterLeftSquareBracketLocaleRightSquareBracket, filterLeftSquareBracketBuildRightSquareBracket, fieldsLeftSquareBracketBetaBuildLocalizationsRightSquareBracket, limit, include, fieldsLeftSquareBracketBuildsRightSquareBracket)

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().getBetaBuildLocalizationsApi();
final BuiltList<String> filterLeftSquareBracketLocaleRightSquareBracket = ; // BuiltList<String> | filter by attribute 'locale'
final BuiltList<String> filterLeftSquareBracketBuildRightSquareBracket = ; // BuiltList<String> | filter by id(s) of related 'build'
final BuiltList<String> fieldsLeftSquareBracketBetaBuildLocalizationsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type betaBuildLocalizations
final int limit = 56; // int | maximum resources per page
final BuiltList<String> include = ; // BuiltList<String> | comma-separated list of relationships to include
final BuiltList<String> fieldsLeftSquareBracketBuildsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type builds

try {
    final response = api.betaBuildLocalizationsGetCollection(filterLeftSquareBracketLocaleRightSquareBracket, filterLeftSquareBracketBuildRightSquareBracket, fieldsLeftSquareBracketBetaBuildLocalizationsRightSquareBracket, limit, include, fieldsLeftSquareBracketBuildsRightSquareBracket);
    print(response);
} catch on DioError (e) {
    print('Exception when calling BetaBuildLocalizationsApi->betaBuildLocalizationsGetCollection: $e\n');
}

Parameters

Name Type Description Notes
filterLeftSquareBracketLocaleRightSquareBracket BuiltList<String> filter by attribute 'locale' [optional]
filterLeftSquareBracketBuildRightSquareBracket BuiltList<String> filter by id(s) of related 'build' [optional]
fieldsLeftSquareBracketBetaBuildLocalizationsRightSquareBracket BuiltList<String> the fields to include for returned resources of type betaBuildLocalizations [optional]
limit int maximum resources per page [optional]
include BuiltList<String> comma-separated list of relationships to include [optional]
fieldsLeftSquareBracketBuildsRightSquareBracket BuiltList<String> the fields to include for returned resources of type builds [optional]

Return type

BetaBuildLocalizationsResponse

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]

betaBuildLocalizationsGetInstance

BetaBuildLocalizationResponse betaBuildLocalizationsGetInstance(id, fieldsLeftSquareBracketBetaBuildLocalizationsRightSquareBracket, include, fieldsLeftSquareBracketBuildsRightSquareBracket)

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().getBetaBuildLocalizationsApi();
final String id = id_example; // String | the id of the requested resource
final BuiltList<String> fieldsLeftSquareBracketBetaBuildLocalizationsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type betaBuildLocalizations
final BuiltList<String> include = ; // BuiltList<String> | comma-separated list of relationships to include
final BuiltList<String> fieldsLeftSquareBracketBuildsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type builds

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

Parameters

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

Return type

BetaBuildLocalizationResponse

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]

betaBuildLocalizationsUpdateInstance

BetaBuildLocalizationResponse betaBuildLocalizationsUpdateInstance(id, betaBuildLocalizationUpdateRequest)

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().getBetaBuildLocalizationsApi();
final String id = id_example; // String | the id of the requested resource
final BetaBuildLocalizationUpdateRequest betaBuildLocalizationUpdateRequest = ; // BetaBuildLocalizationUpdateRequest | BetaBuildLocalization representation

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

Parameters

Name Type Description Notes
id String the id of the requested resource
betaBuildLocalizationUpdateRequest BetaBuildLocalizationUpdateRequest BetaBuildLocalization representation

Return type

BetaBuildLocalizationResponse

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]