Get Resource History

Get Resource History
Request
URI
GET
https://{api_host}/vco/api/resources/{id}/versions
COPY
Path Parameters
string
id
Required

id

Query Parameters
integer
maxResult
Optional
Constraints: default: 2147483647

maxResult

string
startFromId
Optional
Constraints: default: HEAD

startFromId


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns WsCommitList of type(s) application/json
{
    "commits": [
        {
            "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"
                }
            ]
        }
    ]
}
array of object
commits
Optional

commits


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/vco/api/resources/{id}/versions