Add resources for fetching blobs & blob info
Review Request #8923 — Created May 5, 2017 and submitted — Latest diff uploaded
This patch adds two new resources:
GetBlobInfo
andGetBlobContent
.
The former returns whether or not a blob with the given ID exists and
the latter returns the content of a blob with the given ID as base64-
encoded data.
Retrieved a file via the API.
Verified invalid blob IDs, etc. resulted in a 404.
Diff Revision 3
This is not the most recent revision of the diff. The latest diff is revision 6. See what's changed.
orig
1
2
3
4
5
6
src/main/java/org/reviewboard/rbgerrit/FileResource.java |
---|
src/main/java/org/reviewboard/rbgerrit/FilesCollection.java |
---|
src/main/java/org/reviewboard/rbgerrit/GetFileContent.java |
---|
src/main/java/org/reviewboard/rbgerrit/Module.java |
---|