JOC API

Version 2.3.0

Download RAML
JOC API
/inventory/repository/git/clone
POST

Clone of a remote repository to a local repository folder.


Parameters in the POST body schema

Name Type Description Example Default
remoteUri required, string Uri of a remote Git repository. "remoteUri" : "git@github.com:sos-berlin/JS7Demo.git"
folder required, string Folder path the local repository will be cloned to. "folder" : "/JS7Demo"
category required, string Categorize the repository nature. Possible values are LOCAL or ROLLOUT. "category" : "ROLLOUT"
auditLog optional, object Object that contains comment, timeSpent and ticketLink. {
"comment":"Operational requirement!",
"timeSpent":2
}
comment optional, string Field in auditLog to comment this action, e.g. the reason.
timeSpent optional, integer Field in auditLog to enter the time spent in minutes. 5
ticketLink optional, string Field in auditLog to enter a link to a corresponding ticket.