Create Content Repository
Request
URI
POST
https://{api_host}/vco/api/content-repositories
COPY
Request Body
WsExternalRepository
of type(s)
application/json
Required
{
"relations": {
"startIndex": 0,
"count": 0,
"total": 0,
"link": [
{
"rel": "string",
"type": "string",
"attributes": [
{
"name": "string",
"displayName": "string",
"value": "string",
"displayValue": "string"
}
],
"href": "string"
}
]
},
"id": "string",
"remoteUrl": "string",
"publicKey": "string",
"name": "string",
"description": "string",
"active": false,
"remoteBranch": "string",
"username": "string",
"authenticationToken": "string",
"publicKeyReference": {
"id": "string",
"publicKey": "string",
"keysize": 0,
"keyAlgorithm": "string"
},
"keysize": 0,
"keyAlgorithm": "string",
"href": "string"
}
object
relations
Optional
relations
string
id
Optional
id
string
remoteUrl
Optional
remoteUrl
string
publicKey
Optional
publicKey
string
name
Optional
name
string
description
Optional
description
boolean
active
Optional
active
string
remoteBranch
Optional
remoteBranch
string
username
Optional
username
string
authenticationToken
Optional
authenticationToken
object
publicKeyReference
Optional
publicKeyReference
integer As int32
As int32
keysize
Optional
keysize
string
keyAlgorithm
Optional
keyAlgorithm
string
href
Optional
href
Responses
201
Created
Returns
WsExternalRepository
of type(s)
application/json
"WsExternalRepository Object"
object
relations
Optional
relations
string
id
Optional
id
string
remoteUrl
Optional
remoteUrl
string
publicKey
Optional
publicKey
string
name
Optional
name
string
description
Optional
description
boolean
active
Optional
active
string
remoteBranch
Optional
remoteBranch
string
username
Optional
username
string
authenticationToken
Optional
authenticationToken
object
publicKeyReference
Optional
publicKeyReference
integer As int32
As int32
keysize
Optional
keysize
string
keyAlgorithm
Optional
keyAlgorithm
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
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