import 'package:app_store_connect/api.dart';
All URIs are relative to https://api.appstoreconnect.apple.com
Method | HTTP request | Description |
---|---|---|
usersDeleteInstance | DELETE /v1/users/{id} | |
usersGetCollection | GET /v1/users | |
usersGetInstance | GET /v1/users/{id} | |
usersUpdateInstance | PATCH /v1/users/{id} | |
usersVisibleAppsCreateToManyRelationship | POST /v1/users/{id}/relationships/visibleApps | |
usersVisibleAppsDeleteToManyRelationship | DELETE /v1/users/{id}/relationships/visibleApps | |
usersVisibleAppsGetToManyRelated | GET /v1/users/{id}/visibleApps | |
usersVisibleAppsGetToManyRelationship | GET /v1/users/{id}/relationships/visibleApps | |
usersVisibleAppsReplaceToManyRelationship | PATCH /v1/users/{id}/relationships/visibleApps |
usersDeleteInstance(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().getUsersApi();
final String id = id_example; // String | the id of the requested resource
try {
api.usersDeleteInstance(id);
} catch on DioError (e) {
print('Exception when calling UsersApi->usersDeleteInstance: $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]
UsersResponse usersGetCollection(filterLeftSquareBracketRolesRightSquareBracket, filterLeftSquareBracketUsernameRightSquareBracket, filterLeftSquareBracketVisibleAppsRightSquareBracket, sort, fieldsLeftSquareBracketUsersRightSquareBracket, limit, include, fieldsLeftSquareBracketAppsRightSquareBracket, limitLeftSquareBracketVisibleAppsRightSquareBracket)
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().getUsersApi();
final BuiltList<String> filterLeftSquareBracketRolesRightSquareBracket = ; // BuiltList<String> | filter by attribute 'roles'
final BuiltList<String> filterLeftSquareBracketUsernameRightSquareBracket = ; // BuiltList<String> | filter by attribute 'username'
final BuiltList<String> filterLeftSquareBracketVisibleAppsRightSquareBracket = ; // BuiltList<String> | filter by id(s) of related 'visibleApps'
final BuiltList<String> sort = ; // BuiltList<String> | comma-separated list of sort expressions; resources will be sorted as specified
final BuiltList<String> fieldsLeftSquareBracketUsersRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type users
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
final int limitLeftSquareBracketVisibleAppsRightSquareBracket = 56; // int | maximum number of related visibleApps returned (when they are included)
try {
final response = api.usersGetCollection(filterLeftSquareBracketRolesRightSquareBracket, filterLeftSquareBracketUsernameRightSquareBracket, filterLeftSquareBracketVisibleAppsRightSquareBracket, sort, fieldsLeftSquareBracketUsersRightSquareBracket, limit, include, fieldsLeftSquareBracketAppsRightSquareBracket, limitLeftSquareBracketVisibleAppsRightSquareBracket);
print(response);
} catch on DioError (e) {
print('Exception when calling UsersApi->usersGetCollection: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
filterLeftSquareBracketRolesRightSquareBracket | BuiltList<String> | filter by attribute 'roles' | [optional] |
filterLeftSquareBracketUsernameRightSquareBracket | BuiltList<String> | filter by attribute 'username' | [optional] |
filterLeftSquareBracketVisibleAppsRightSquareBracket | BuiltList<String> | filter by id(s) of related 'visibleApps' | [optional] |
sort | BuiltList<String> | comma-separated list of sort expressions; resources will be sorted as specified | [optional] |
fieldsLeftSquareBracketUsersRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type users | [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] |
limitLeftSquareBracketVisibleAppsRightSquareBracket | int | maximum number of related visibleApps returned (when they are included) | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserResponse usersGetInstance(id, fieldsLeftSquareBracketUsersRightSquareBracket, include, fieldsLeftSquareBracketAppsRightSquareBracket, limitLeftSquareBracketVisibleAppsRightSquareBracket)
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().getUsersApi();
final String id = id_example; // String | the id of the requested resource
final BuiltList<String> fieldsLeftSquareBracketUsersRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type users
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
final int limitLeftSquareBracketVisibleAppsRightSquareBracket = 56; // int | maximum number of related visibleApps returned (when they are included)
try {
final response = api.usersGetInstance(id, fieldsLeftSquareBracketUsersRightSquareBracket, include, fieldsLeftSquareBracketAppsRightSquareBracket, limitLeftSquareBracketVisibleAppsRightSquareBracket);
print(response);
} catch on DioError (e) {
print('Exception when calling UsersApi->usersGetInstance: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
fieldsLeftSquareBracketUsersRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type users | [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] |
limitLeftSquareBracketVisibleAppsRightSquareBracket | int | maximum number of related visibleApps returned (when they are included) | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserResponse usersUpdateInstance(id, userUpdateRequest)
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().getUsersApi();
final String id = id_example; // String | the id of the requested resource
final UserUpdateRequest userUpdateRequest = ; // UserUpdateRequest | User representation
try {
final response = api.usersUpdateInstance(id, userUpdateRequest);
print(response);
} catch on DioError (e) {
print('Exception when calling UsersApi->usersUpdateInstance: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
userUpdateRequest | UserUpdateRequest | User representation |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
usersVisibleAppsCreateToManyRelationship(id, userVisibleAppsLinkagesRequest)
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().getUsersApi();
final String id = id_example; // String | the id of the requested resource
final UserVisibleAppsLinkagesRequest userVisibleAppsLinkagesRequest = ; // UserVisibleAppsLinkagesRequest | List of related linkages
try {
api.usersVisibleAppsCreateToManyRelationship(id, userVisibleAppsLinkagesRequest);
} catch on DioError (e) {
print('Exception when calling UsersApi->usersVisibleAppsCreateToManyRelationship: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
userVisibleAppsLinkagesRequest | UserVisibleAppsLinkagesRequest | 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]
usersVisibleAppsDeleteToManyRelationship(id, userVisibleAppsLinkagesRequest)
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().getUsersApi();
final String id = id_example; // String | the id of the requested resource
final UserVisibleAppsLinkagesRequest userVisibleAppsLinkagesRequest = ; // UserVisibleAppsLinkagesRequest | List of related linkages
try {
api.usersVisibleAppsDeleteToManyRelationship(id, userVisibleAppsLinkagesRequest);
} catch on DioError (e) {
print('Exception when calling UsersApi->usersVisibleAppsDeleteToManyRelationship: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
userVisibleAppsLinkagesRequest | UserVisibleAppsLinkagesRequest | 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]
AppsResponse usersVisibleAppsGetToManyRelated(id, fieldsLeftSquareBracketAppsRightSquareBracket, limit)
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().getUsersApi();
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
final int limit = 56; // int | maximum resources per page
try {
final response = api.usersVisibleAppsGetToManyRelated(id, fieldsLeftSquareBracketAppsRightSquareBracket, limit);
print(response);
} catch on DioError (e) {
print('Exception when calling UsersApi->usersVisibleAppsGetToManyRelated: $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] |
limit | int | maximum resources per page | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserVisibleAppsLinkagesResponse usersVisibleAppsGetToManyRelationship(id, limit)
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().getUsersApi();
final String id = id_example; // String | the id of the requested resource
final int limit = 56; // int | maximum resources per page
try {
final response = api.usersVisibleAppsGetToManyRelationship(id, limit);
print(response);
} catch on DioError (e) {
print('Exception when calling UsersApi->usersVisibleAppsGetToManyRelationship: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
limit | int | maximum resources per page | [optional] |
UserVisibleAppsLinkagesResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
usersVisibleAppsReplaceToManyRelationship(id, userVisibleAppsLinkagesRequest)
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().getUsersApi();
final String id = id_example; // String | the id of the requested resource
final UserVisibleAppsLinkagesRequest userVisibleAppsLinkagesRequest = ; // UserVisibleAppsLinkagesRequest | List of related linkages
try {
api.usersVisibleAppsReplaceToManyRelationship(id, userVisibleAppsLinkagesRequest);
} catch on DioError (e) {
print('Exception when calling UsersApi->usersVisibleAppsReplaceToManyRelationship: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
userVisibleAppsLinkagesRequest | UserVisibleAppsLinkagesRequest | 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]