🤬
Create
Http Method
POST
End Point
/~api/pulls
Request Body
Content Type
application/json
Example
{
"targetProjectId" : 1 ,
"sourceProjectId" : 1 ,
"targetBranch" : "string" ,
"sourceBranch" : "string" ,
"title" : "string" ,
"description" : "string" ,
"mergeStrategy" : "CREATE_MERGE_COMMIT" ,
"reviewerIds" : [ 1 ] ,
"assigneeIds" : [ 1 ]
}
Response
Operation Successful
Status Code
200
Response Body
Content Type
application/json
Example
1
Operation Failed
Status code
Status code other than 200 indicating the error type
Response Body
Error detail of content type "text/plain"
cURL Example
$ curl -u <login name>:<password or access token> -X POST [email protected] -H "Content-Type: application/json" https://crash.software/~api/pulls
Please wait...
Page is in error, reload to recover