Get Local State
Request
URI
GET
https://{api_host}/vco/api/content-repositories/state
COPY
Responses
200
OK
Returns
WsLocalState
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"
}
]
},
"ahead": 0,
"behind": 0,
"mergeBaseId": "string",
"localHead": "string",
"modifiedFiles": [
{
"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"
}
],
"location": "string",
"repositoryName": "string",
"remoteBranch": "string",
"error": "string",
"repositoryLayout": "string",
"href": "string"
}
object
relations
Optional
relations
integer As int32
As int32
ahead
Optional
ahead
integer As int32
As int32
behind
Optional
behind
string
mergeBaseId
Optional
mergeBaseId
string
localHead
Optional
localHead
array of
object
modifiedFiles
Optional
modifiedFiles
string
location
Optional
location
string
repositoryName
Optional
repositoryName
string
remoteBranch
Optional
remoteBranch
string
error
Optional
error
string
repositoryLayout
Optional
repositoryLayout
string
href
Optional
href
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/vco/api/content-repositories/state
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