You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This document contains an API specification for the web server created with
git-bundle-web-server. It is primarily meant to be used by Git via the
bundle-uri feature.
Warning
First and foremost, the goal of this API is compatibility with Git's bundle
URI feature. We will attempt to keep it up-to-date with the latest version of
Git but, due to both the newness of the feature and experimental state of the
server, we cannot make guarantees of backward compatibility.
Get a repository's bundle list
Get the list of bundles configured for a given bundle server route.
Method
GET
Route
/{route}
Example Request
curl http://localhost:8080/OWNER/REPO
Example Response
[bundle]
version = 1
mode = all
heuristic = creationToken
[bundle "1678494078"]
uri = REPO/base-1678494078.bundle
creationToken = 1678494078
[bundle "1679527263"]
uri = REPO/bundle-1679527263.bundle
creationToken = 1679527263
[bundle "1680561322"]
uri = REPO/bundle-1680561322.bundle
creationToken = 1680561322
Path parameters
Name
Type
Required
Description
route
string
Yes
The route of a repository created with git-bundle-server init for which the list of active bundles is requested. Route should be in OWNER/REPO format.
HTTP response status codes
Code
Description
200
OK
404
Specified route does not exist or has no bundles configured