import 'package:app_store_connect/api.dart';
All URIs are relative to https://api.appstoreconnect.apple.com
Method | HTTP request | Description |
---|---|---|
appEncryptionDeclarationsAppGetToOneRelated | GET /v1/appEncryptionDeclarations/{id}/app | |
appEncryptionDeclarationsBuildsCreateToManyRelationship | POST /v1/appEncryptionDeclarations/{id}/relationships/builds | |
appEncryptionDeclarationsGetCollection | GET /v1/appEncryptionDeclarations | |
appEncryptionDeclarationsGetInstance | GET /v1/appEncryptionDeclarations/{id} |
AppResponse appEncryptionDeclarationsAppGetToOneRelated(id, fieldsLeftSquareBracketAppsRightSquareBracket)
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().getAppEncryptionDeclarationsApi();
final String id = id_example; // String | the id of the requested resource
final BuiltList<String> fieldsLeftSquareBracketAppsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type apps
try {
final response = api.appEncryptionDeclarationsAppGetToOneRelated(id, fieldsLeftSquareBracketAppsRightSquareBracket);
print(response);
} catch on DioError (e) {
print('Exception when calling AppEncryptionDeclarationsApi->appEncryptionDeclarationsAppGetToOneRelated: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
fieldsLeftSquareBracketAppsRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type apps | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
appEncryptionDeclarationsBuildsCreateToManyRelationship(id, appEncryptionDeclarationBuildsLinkagesRequest)
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().getAppEncryptionDeclarationsApi();
final String id = id_example; // String | the id of the requested resource
final AppEncryptionDeclarationBuildsLinkagesRequest appEncryptionDeclarationBuildsLinkagesRequest = ; // AppEncryptionDeclarationBuildsLinkagesRequest | List of related linkages
try {
api.appEncryptionDeclarationsBuildsCreateToManyRelationship(id, appEncryptionDeclarationBuildsLinkagesRequest);
} catch on DioError (e) {
print('Exception when calling AppEncryptionDeclarationsApi->appEncryptionDeclarationsBuildsCreateToManyRelationship: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
appEncryptionDeclarationBuildsLinkagesRequest | AppEncryptionDeclarationBuildsLinkagesRequest | List of related linkages |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppEncryptionDeclarationsResponse appEncryptionDeclarationsGetCollection(filterLeftSquareBracketPlatformRightSquareBracket, filterLeftSquareBracketAppRightSquareBracket, filterLeftSquareBracketBuildsRightSquareBracket, fieldsLeftSquareBracketAppEncryptionDeclarationsRightSquareBracket, limit, include, fieldsLeftSquareBracketAppsRightSquareBracket)
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().getAppEncryptionDeclarationsApi();
final BuiltList<String> filterLeftSquareBracketPlatformRightSquareBracket = ; // BuiltList<String> | filter by attribute 'platform'
final BuiltList<String> filterLeftSquareBracketAppRightSquareBracket = ; // BuiltList<String> | filter by id(s) of related 'app'
final BuiltList<String> filterLeftSquareBracketBuildsRightSquareBracket = ; // BuiltList<String> | filter by id(s) of related 'builds'
final BuiltList<String> fieldsLeftSquareBracketAppEncryptionDeclarationsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type appEncryptionDeclarations
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> fieldsLeftSquareBracketAppsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type apps
try {
final response = api.appEncryptionDeclarationsGetCollection(filterLeftSquareBracketPlatformRightSquareBracket, filterLeftSquareBracketAppRightSquareBracket, filterLeftSquareBracketBuildsRightSquareBracket, fieldsLeftSquareBracketAppEncryptionDeclarationsRightSquareBracket, limit, include, fieldsLeftSquareBracketAppsRightSquareBracket);
print(response);
} catch on DioError (e) {
print('Exception when calling AppEncryptionDeclarationsApi->appEncryptionDeclarationsGetCollection: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
filterLeftSquareBracketPlatformRightSquareBracket | BuiltList<String> | filter by attribute 'platform' | [optional] |
filterLeftSquareBracketAppRightSquareBracket | BuiltList<String> | filter by id(s) of related 'app' | [optional] |
filterLeftSquareBracketBuildsRightSquareBracket | BuiltList<String> | filter by id(s) of related 'builds' | [optional] |
fieldsLeftSquareBracketAppEncryptionDeclarationsRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type appEncryptionDeclarations | [optional] |
limit | int | maximum resources per page | [optional] |
include | BuiltList<String> | comma-separated list of relationships to include | [optional] |
fieldsLeftSquareBracketAppsRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type apps | [optional] |
AppEncryptionDeclarationsResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppEncryptionDeclarationResponse appEncryptionDeclarationsGetInstance(id, fieldsLeftSquareBracketAppEncryptionDeclarationsRightSquareBracket, include, fieldsLeftSquareBracketAppsRightSquareBracket)
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().getAppEncryptionDeclarationsApi();
final String id = id_example; // String | the id of the requested resource
final BuiltList<String> fieldsLeftSquareBracketAppEncryptionDeclarationsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type appEncryptionDeclarations
final BuiltList<String> include = ; // BuiltList<String> | comma-separated list of relationships to include
final BuiltList<String> fieldsLeftSquareBracketAppsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type apps
try {
final response = api.appEncryptionDeclarationsGetInstance(id, fieldsLeftSquareBracketAppEncryptionDeclarationsRightSquareBracket, include, fieldsLeftSquareBracketAppsRightSquareBracket);
print(response);
} catch on DioError (e) {
print('Exception when calling AppEncryptionDeclarationsApi->appEncryptionDeclarationsGetInstance: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
fieldsLeftSquareBracketAppEncryptionDeclarationsRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type appEncryptionDeclarations | [optional] |
include | BuiltList<String> | comma-separated list of relationships to include | [optional] |
fieldsLeftSquareBracketAppsRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type apps | [optional] |
AppEncryptionDeclarationResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]