mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
docs
This commit is contained in:
@@ -15,7 +15,7 @@ service Space {
|
|||||||
rpc Upload(UploadRequest) returns (UploadResponse) {}
|
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
|
// You need to send the request as a multipart/form-data rather than the usual application/json
|
||||||
// with each parameter as a form field.
|
// with each parameter as a form field.
|
||||||
message CreateRequest {
|
message CreateRequest {
|
||||||
@@ -136,7 +136,7 @@ message DownloadResponse {
|
|||||||
string url = 2;
|
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 {
|
message UploadRequest {
|
||||||
string name = 1;
|
string name = 1;
|
||||||
// is this object public or private
|
// is this object public or private
|
||||||
|
|||||||
Reference in New Issue
Block a user