27 lines
360 B
Go
27 lines
360 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
|
|
}
|