Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 2.18 KB

ScmPullRequestsAPI.md

File metadata and controls

60 lines (40 loc) · 2.18 KB

ScmPullRequestsAPI

All URIs are relative to https://api.appstoreconnect.apple.com

Method HTTP request Description
scmPullRequestsGetInstance GET /v1/scmPullRequests/{id}

scmPullRequestsGetInstance

    open class func scmPullRequestsGetInstance(id: String, fieldsScmPullRequests: [FieldsScmPullRequests_scmPullRequestsGetInstance]? = nil, include: [Include_scmPullRequestsGetInstance]? = nil, completion: @escaping (_ data: ScmPullRequestResponse?, _ error: Error?) -> Void)

Example

// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import ASC

let id = "id_example" // String | the id of the requested resource
let fieldsScmPullRequests = ["fieldsScmPullRequests_example"] // [String] | the fields to include for returned resources of type scmPullRequests (optional)
let include = ["include_example"] // [String] | comma-separated list of relationships to include (optional)

ScmPullRequestsAPI.scmPullRequestsGetInstance(id: id, fieldsScmPullRequests: fieldsScmPullRequests, include: include) { (response, error) in
    guard error == nil else {
        print(error)
        return
    }

    if (response) {
        dump(response)
    }
}

Parameters

Name Type Description Notes
id String the id of the requested resource
fieldsScmPullRequests [String] the fields to include for returned resources of type scmPullRequests [optional]
include [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]