agecem-org/apiresponse/document.go

35 lines
454 B
Go

package apiresponse
type DataDocument struct {
Key string
Size int64
}
type V1DocumentsPOST struct {
Response
Data struct {
Bucket string
Documents []DataDocument
}
}
// Deprecated: Use V1DocumentsPOST instead
type V1DocumentPOST struct {
Response
Data struct {
Bucket string
DataDocument
}
}
type V1DocumentDELETE struct {
Response
}
type V1DocumentKeyPUT struct {
Response
Data struct {
Bucket string
Key string
}
}