import 'package:app_store_connect/api.dart';
All URIs are relative to https://api.appstoreconnect.apple.com
Method | HTTP request | Description |
---|---|---|
appPreviewsCreateInstance | POST /v1/appPreviews | |
appPreviewsDeleteInstance | DELETE /v1/appPreviews/{id} | |
appPreviewsGetInstance | GET /v1/appPreviews/{id} | |
appPreviewsUpdateInstance | PATCH /v1/appPreviews/{id} |
AppPreviewResponse appPreviewsCreateInstance(appPreviewCreateRequest)
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().getAppPreviewsApi();
final AppPreviewCreateRequest appPreviewCreateRequest = ; // AppPreviewCreateRequest | AppPreview representation
try {
final response = api.appPreviewsCreateInstance(appPreviewCreateRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling AppPreviewsApi->appPreviewsCreateInstance: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
appPreviewCreateRequest | AppPreviewCreateRequest | AppPreview representation |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
appPreviewsDeleteInstance(id)
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().getAppPreviewsApi();
final String id = id_example; // String | the id of the requested resource
try {
api.appPreviewsDeleteInstance(id);
} catch on DioError (e) {
print('Exception when calling AppPreviewsApi->appPreviewsDeleteInstance: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppPreviewResponse appPreviewsGetInstance(id, fieldsLeftSquareBracketAppPreviewsRightSquareBracket, include)
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().getAppPreviewsApi();
final String id = id_example; // String | the id of the requested resource
final BuiltList<String> fieldsLeftSquareBracketAppPreviewsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type appPreviews
final BuiltList<String> include = ; // BuiltList<String> | comma-separated list of relationships to include
try {
final response = api.appPreviewsGetInstance(id, fieldsLeftSquareBracketAppPreviewsRightSquareBracket, include);
print(response);
} catch on DioError (e) {
print('Exception when calling AppPreviewsApi->appPreviewsGetInstance: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
fieldsLeftSquareBracketAppPreviewsRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type appPreviews | [optional] |
include | BuiltList<String> | comma-separated list of relationships to include | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppPreviewResponse appPreviewsUpdateInstance(id, appPreviewUpdateRequest)
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().getAppPreviewsApi();
final String id = id_example; // String | the id of the requested resource
final AppPreviewUpdateRequest appPreviewUpdateRequest = ; // AppPreviewUpdateRequest | AppPreview representation
try {
final response = api.appPreviewsUpdateInstance(id, appPreviewUpdateRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling AppPreviewsApi->appPreviewsUpdateInstance: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
appPreviewUpdateRequest | AppPreviewUpdateRequest | AppPreview representation |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]