agecem-org/apiresponse/document.go

36 lines
466 B
Go
Raw Permalink Normal View History

package apiresponse
type DataDocument struct {
Key string
Size int64
}
type V1DocumentsPOST struct {
APIResponse
Data struct {
Bucket string
Documents []DataDocument
}
}
// Deprecated: Use V1DocumentsPOST instead
type V1DocumentPOST struct {
APIResponse
Data struct {
Bucket string
DataDocument
}
}
2023-11-20 16:56:44 -05:00
type V1DocumentDELETE struct {
APIResponse
2023-11-20 16:56:44 -05:00
}
type V1DocumentKeyPUT struct {
APIResponse
Data struct {
Bucket string
Key string
}
}