mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-12 11:15:12 +00:00
docs
This commit is contained in:
@@ -15,7 +15,7 @@ service Space {
|
||||
rpc Upload(UploadRequest) returns (UploadResponse) {}
|
||||
}
|
||||
|
||||
// Create an object. Returns error if object with this name already exists. If you want to update an existing object use the `Update` endpoint
|
||||
// Create an object. Returns error if object with this name already exists. Max object size of 10MB, see Upload endpoint for larger objects. If you want to update an existing object use the `Update` endpoint
|
||||
// You need to send the request as a multipart/form-data rather than the usual application/json
|
||||
// with each parameter as a form field.
|
||||
message CreateRequest {
|
||||
@@ -136,7 +136,7 @@ message DownloadResponse {
|
||||
string url = 2;
|
||||
}
|
||||
|
||||
// Upload a large object. Returns a time limited presigned URL to be used for uploading the object
|
||||
// Upload a large object (> 10MB). Returns a time limited presigned URL to be used for uploading the object
|
||||
message UploadRequest {
|
||||
string name = 1;
|
||||
// is this object public or private
|
||||
|
||||
Reference in New Issue
Block a user