The only documentation on this is in `repo help sync`. After that, you
will need to grep the repo source code for the relevant variable
strings and see how that code operates.
IIRC its a simple HTTP interface, data from environment variables is
passed in an HTTP GET query string and an XML manifest file is
returned.