v1

latestOpenAPI 3.0.0Apache 2.02026-07-1784052.8 KB
Git

Clone a repo

post/git/clone

Request body

repoPathstring required

Git repo url

destinationFolderstring

Absolute path on your file system

localPathstring

Local path of the cloned folder

optionsobject

Optional git clone options

Example request

{
  "repoPath": "https://github.com/materiahq/materia-server.git",
  "localPath": "materia-server"
}

Response

Success