Get Commit

Get Commit
Request
URI
GET
https://{api_host}/vco/api/content-repositories/active/history/{objectId}
COPY
Path Parameters
string
objectId
Required

objectId


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns WsCommit of type(s) application/json
{
    "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"
        }
    ]
}
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


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/vco/api/content-repositories/active/history/{objectId}