Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-12-09 14:18:03 +00:00
parent 44959a42ae
commit ead8a52c00
23 changed files with 887 additions and 883 deletions

View File

@@ -50,7 +50,7 @@ func (t *SpaceService) List(request *ListRequest) (*ListResponse, error) {
}
// Read/download the object
// Read an object in storage
func (t *SpaceService) Read(request *ReadRequest) (*ReadResponse, error) {
rsp := &ReadResponse{}
@@ -103,6 +103,7 @@ type HeadObject struct {
}
type HeadRequest struct {
// name of the object
Name string `json:"name"`
}
@@ -127,10 +128,13 @@ type ListResponse struct {
}
type ReadRequest struct {
// name of the object
Name string `json:"name"`
}
type ReadResponse struct {
// Returns the response as a raw object
Object string `json:"object"`
}
type UpdateRequest struct {