JSON API: /branch

JSON API: /branch

(⬑JSON API Index)

Jump to:

Branch List

Status: implemented, at least in draft form, on 20110921.

Required privileges: "o"

Request: /json/branch/list

Response payload example:

"current":"json", /* only when there is a local opened checkout */

Potential TODO: add "tip" property which names the most recently modified branch? (How to get this?)

HTTP GET/POST.payload options:

CLI mode options (same semantics as HTTP equivalents), must come last on the CLI:

Create Branch

Status: implemented 20111002

Required privileges: "w"

Request: /json/branch/create

Request options:

Response payload example: