Skip to content

Latest commit

 

History

History
149 lines (99 loc) · 5.37 KB

ReviewSubmissionItemsApi.md

File metadata and controls

149 lines (99 loc) · 5.37 KB

app_store_connect.api.ReviewSubmissionItemsApi

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
reviewSubmissionItemsCreateInstance POST /v1/reviewSubmissionItems
reviewSubmissionItemsDeleteInstance DELETE /v1/reviewSubmissionItems/{id}
reviewSubmissionItemsUpdateInstance PATCH /v1/reviewSubmissionItems/{id}

reviewSubmissionItemsCreateInstance

ReviewSubmissionItemResponse reviewSubmissionItemsCreateInstance(reviewSubmissionItemCreateRequest)

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().getReviewSubmissionItemsApi();
final ReviewSubmissionItemCreateRequest reviewSubmissionItemCreateRequest = ; // ReviewSubmissionItemCreateRequest | ReviewSubmissionItem representation

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

Parameters

Name Type Description Notes
reviewSubmissionItemCreateRequest ReviewSubmissionItemCreateRequest ReviewSubmissionItem representation

Return type

ReviewSubmissionItemResponse

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]

reviewSubmissionItemsDeleteInstance

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

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

reviewSubmissionItemsUpdateInstance

ReviewSubmissionItemResponse reviewSubmissionItemsUpdateInstance(id, reviewSubmissionItemUpdateRequest)

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().getReviewSubmissionItemsApi();
final String id = id_example; // String | the id of the requested resource
final ReviewSubmissionItemUpdateRequest reviewSubmissionItemUpdateRequest = ; // ReviewSubmissionItemUpdateRequest | ReviewSubmissionItem representation

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

Parameters

Name Type Description Notes
id String the id of the requested resource
reviewSubmissionItemUpdateRequest ReviewSubmissionItemUpdateRequest ReviewSubmissionItem representation

Return type

ReviewSubmissionItemResponse

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]