Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 2.41 KB

ScmPullRequestsApi.md

File metadata and controls

62 lines (42 loc) · 2.41 KB

app_store_connect.api.ScmPullRequestsApi

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
scmPullRequestsGetInstance GET /v1/scmPullRequests/{id}

scmPullRequestsGetInstance

ScmPullRequestResponse scmPullRequestsGetInstance(id, fieldsLeftSquareBracketScmPullRequestsRightSquareBracket, include)

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

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

Parameters

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

Return type

ScmPullRequestResponse

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]