Ajouter et implémenter certaines responses #118
1 changed files with 21 additions and 0 deletions
|
@ -14,6 +14,20 @@ func (r Response) Respond() Responder {
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type HandleAdminDocumentsUploadResponse struct {
|
||||||
|
Response
|
||||||
|
Data struct {
|
||||||
|
Buckets []Bucket
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
type HandleDocumentationResponse struct {
|
||||||
|
Response
|
||||||
|
Data struct {
|
||||||
|
Buckets []Bucket
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
type UploadDocumentResponse struct {
|
type UploadDocumentResponse struct {
|
||||||
Response
|
Response
|
||||||
Data UploadDocumentResponseData
|
Data UploadDocumentResponseData
|
||||||
|
@ -31,3 +45,10 @@ type V1SeedResponse struct {
|
||||||
Buckets []string
|
Buckets []string
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type V1BucketListResponse struct {
|
||||||
|
Response
|
||||||
|
Data struct {
|
||||||
|
Buckets map[string]string
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue