Revert Configuration To Changeset

Revert Configuration To Changeset
Request
URI
POST
https://{api_host}/vco/api/configurations/{id}/versions
COPY
Path Parameters
string
id
Required

id


Request Body
WsCommit 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"
        }
    ]
}
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

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns WsCommit of type(s) application/json
"WsCommit Object"
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 -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/vco/api/configurations/{id}/versions