diff --git a/apiresponse/document.go b/apiresponse/document.go index c775da8..b6518b9 100644 --- a/apiresponse/document.go +++ b/apiresponse/document.go @@ -1,13 +1,15 @@ package apiresponse +type DataDocument struct { + Key string + Size int64 +} + type V1DocumentsPOST struct { Response Data struct { Bucket string - Documents struct { - Key string - Size int64 - } + Documents []DataDocument } } @@ -16,8 +18,7 @@ type V1DocumentPOST struct { Response Data struct { Bucket string - Key string - Size int64 + DataDocument } }