Update links to LFS API documentation
The location of the API v1 documentation has changed. Update the links accordingly. Change-Id: If0148a0b573c474bbe157fcb7e6674c0055fe8b4 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
This commit is contained in:
parent
0be8021819
commit
053684ac24
|
@ -67,7 +67,7 @@
|
|||
/**
|
||||
* LFS protocol handler implementing the LFS batch API [1]
|
||||
*
|
||||
* [1] https://github.com/github/git-lfs/blob/master/docs/api/http-v1-batch.md
|
||||
* [1] https://github.com/github/git-lfs/blob/master/docs/api/v1/http-v1-batch.md
|
||||
*
|
||||
* @since 4.3
|
||||
*/
|
||||
|
|
|
@ -161,7 +161,7 @@ static void sendError(HttpServletResponse rsp, int status, String message)
|
|||
throws IOException {
|
||||
rsp.setStatus(status);
|
||||
// TODO return message in response body in json format as specified in
|
||||
// https://github.com/github/git-lfs/blob/master/docs/api/http-v1-batch.md
|
||||
// https://github.com/github/git-lfs/blob/master/docs/api/v1/http-v1-batch.md
|
||||
rsp.flushBuffer();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -102,7 +102,7 @@ public static MessageDigest newMessageDigest() {
|
|||
|
||||
/**
|
||||
* Content type used by LFS REST API as defined in
|
||||
* {@link "https://github.com/github/git-lfs/blob/master/docs/api/http-v1-batch.md"}
|
||||
* {@link "https://github.com/github/git-lfs/blob/master/docs/api/v1/http-v1-batch.md"}
|
||||
*/
|
||||
public static String CONTENT_TYPE_GIT_LFS_JSON = "application/vnd.git-lfs+json";
|
||||
|
||||
|
|
Loading…
Reference in New Issue