agecem-org/apiresponse/document.go

36 lines
454 B
Go
Raw Normal View History

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
}
}
2023-11-20 16:56:44 -05:00
type V1DocumentDELETE struct {
Response
}
type V1DocumentKeyPUT struct {
Response
Data struct {
Bucket string
Key string
}
}