Create Pull Request 1
Request
URI
POST
https://{api_host}/content-repositories/pull-requests
COPY
Request Body
WsPullRequestData
of type(s)
application/json
Optional
{
"mergedEntries": [
{
"relations": {
"startIndex": 0,
"count": 0,
"total": 0,
"link": [
{
"rel": "string",
"type": "string",
"attributes": [
{
"name": "string",
"displayName": "string",
"value": "string",
"displayValue": "string"
}
],
"href": "string"
}
]
},
"updateType": "string",
"oldPath": "string",
"newPath": "string",
"data": {},
"href": "string"
}
],
"merged-items": [
{
"relations": {
"startIndex": 0,
"count": 0,
"total": 0,
"link": [
{
"rel": "string",
"type": "string",
"attributes": [
{
"name": "string",
"displayName": "string",
"value": "string",
"displayValue": "string"
}
],
"href": "string"
}
]
},
"updateType": "string",
"oldPath": "string",
"newPath": "string",
"data": {},
"href": "string"
}
]
}
array of
object
mergedEntries
Optional
mergedEntries
array of
object
merged-items
Optional
merged-items
Responses
202
Accepted
Returns
WsContentRepositoryRequestToken
of type(s)
application/json
{
"relations": {
"startIndex": 0,
"count": 0,
"total": 0,
"link": [
{
"rel": "string",
"type": "string",
"attributes": [
{
"name": "string",
"displayName": "string",
"value": "string",
"displayValue": "string"
}
],
"href": "string"
}
]
},
"status": "string",
"details": {},
"shortDetails": "string",
"startDate": "string",
"endDate": "string",
"href": "string"
}
object
relations
Optional
relations
string
status
Optional
status
object
details
Optional
details
string
shortDetails
Optional
shortDetails
string As date-time
As date-time
startDate
Optional
startDate
string As date-time
As date-time
endDate
Optional
endDate
string
href
Optional
href
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/content-repositories/pull-requests
Repository(version Control) Service Operations
GET
Get Content Repositories
POST
Create Content Repository
POST
Validate 1
POST
Create Reset Request 1
POST
Create Reset Request
POST
Create Pull Request
POST
Create Initialize Remote Request
POST
Create Export Folders Request
POST
Create Branch Request
POST
Create Push Request
POST
Create Push Request 1
POST
Create Pull Request 1
GET
Get Content Repository
GET
Get Branches
GET
Get Local State
GET
Get Request 6
GET
Get Request 2
GET
Get Request
GET
Get Request 1
GET
Get Request 7
GET
Get Request 3
GET
Get Request 4
GET
Get Request 5
GET
Get Public Keys
GET
Get Remote History
GET
Get Commit