Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Orion/Server API/Git API"

(New page: = Actions = == Getting status for a git project == {{Orion/ServerAPI | method = GET | overview = To retrieve the working tree status of a project, send a GET request to the git status lo...)
 
Line 1: Line 1:
= Actions =
+
The Git API is a web server API for browsing and manipulating Git repositories.
  
== Getting status for a git project ==
+
== Actions ==
 +
 
 +
=== Getting status for a git project ===
  
 
{{Orion/ServerAPI
 
{{Orion/ServerAPI
Line 17: Line 19:
 
Progress in being tracked on [https://bugs.eclipse.org/bugs/show_bug.cgi?id=337212 bug 337212].
 
Progress in being tracked on [https://bugs.eclipse.org/bugs/show_bug.cgi?id=337212 bug 337212].
  
== Getting a diff ==
+
=== Getting a diff ===
  
 
{{Orion/ServerAPI
 
{{Orion/ServerAPI

Revision as of 19:06, 17 February 2011

The Git API is a web server API for browsing and manipulating Git repositories.

Actions

Getting status for a git project

Overview
To retrieve the working tree status of a project, send a GET request to the git status location.
HTTP Method
GET
Example Request
GET /git/status/file/MyProj/

  
Example Response
HTTP/1.1 200 OK
 Content-Type: text/plain
 Content-Length: 22

TBD
Detailed Explanation
TBD.


Progress in being tracked on bug 337212.

Getting a diff

Overview
To retrieve changes changes between selected commits, commit and working tree, and so on. Send a GET request to the git diff location.
HTTP Method
GET
Example Request
GET /git/diff/file/MyProj/

  
Example Response
HTTP/1.1 200 OK
 Content-Type: text/plain
 Content-Length: 22

TBD
Detailed Explanation
TBD.


Progress in being tracked on bug 337212.

Other operations

TBD, see bug 336116

Back to the top