Create Push Request 1
Request
URI
POST
https://{api_host}/vco/api/content-repositories/push-requests
COPY
Request Body
WsPushRequestData
of type(s)
application/json
Required
{
"authorName": "string",
"authorEmail": "string",
"committerName": "string",
"committerEmail": "string",
"objectId": "string",
"parentId": "string",
"message": "string",
"commitDate": "string",
"diffEntries": [
{
"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",
"href": "string"
}
],
"localHead": "string",
"objects": [
"string"
],
"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"
}
]
}
string
authorName
Optional
authorName
string
authorEmail
Optional
authorEmail
string
committerName
Optional
committerName
string
committerEmail
Optional
committerEmail
string
objectId
Optional
objectId
string
parentId
Optional
parentId
string
message
Optional
message
string As date-time
As date-time
commitDate
Optional
commitDate
array of
object
diffEntries
Optional
diffEntries
string
localHead
Optional
localHead
array of
string
objects
Optional
objects
array of
object
mergedEntries
Optional
mergedEntries
array of
object
merged-items
Optional
merged-items
Responses
202
Accepted
Returns
WsContentRepositoryRequestToken
of type(s)
application/json
"WsContentRepositoryRequestToken Object"
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}/vco/api/content-repositories/push-requests
Repository(version Control) Service Operations
GET
Get Content Repositories
POST
Create Content Repository
POST
Validate 1
POST
Create Reset Request
POST
Create Reset Request 1
POST
Create Push Request
POST
Create Push Request 1
POST
Create Pull Request
POST
Create Pull Request 1
POST
Create Initialize Remote Request
POST
Create Export Folders Request
POST
Create Branch Request
GET
Get Content Repository
GET
Get Branches
GET
Get Local State
GET
Get Request
GET
Get Request 1
GET
Get Request 2
GET
Get Request 3
GET
Get Request 4
GET
Get Request 5
GET
Get Request 6
GET
Get Request 7
GET
Get Public Keys
GET
Get Remote History
GET
Get Commit