Fetches new changes from SVN to Git repositories managed by this shared daemon. When SVN UUID is specified, Git repositories are limited to those that mirrors SVN repositories with that UUID.

POST subgit/rest/poll[?svnUuid=UUID]

Command:

$ curl -X POST -H "Content-Type: application/json" http://host:8990/subgit/rest/poll

Sample output:

{
  "gitRepositories" : [ 
  {
    "gitRepositoryPath" : "/path/to/repo1.git",
    "svnUuid" : "ad8246cb-9636-44d0-bfd6-4ad6331e00cf",
    "translatedRevisions" : [ ],
    "updatedRefs" : [ ],
    "status" : "ok"
  }, 
  {
    "gitRepositoryPath" : "/path/to/repo2.git",
    "svnUuid" : "7c25a367-8d99-43a9-b3e8-d37544e1b6d3",
    "translatedRevisions" : [ {
      "commitId" : "d194130f9ddc7c2a7ae61294f026fa77000da398",
      "revision" : "19"
    } ],
    "updatedRefs" : [ {
      "ref" : "refs/heads/master",
      "newObjectId" : "d194130f9ddc7c2a7ae61294f026fa77000da398",
      "oldObjectId" : "8a7f68f30d3ad5a99ba70ff50d9d3c9db1f64b66"
    } ],
    "status" : "ok"
  } ]
}