Ajouter responses pour certaines routes
This commit is contained in:
parent
01317686ae
commit
c8af2acae9
1 changed files with 21 additions and 0 deletions
|
@ -14,6 +14,20 @@ func (r Response) Respond() Responder {
|
|||
return r
|
||||
}
|
||||
|
||||
type HandleAdminDocumentsUploadResponse struct {
|
||||
Response
|
||||
Data struct {
|
||||
Buckets []Bucket
|
||||
}
|
||||
}
|
||||
|
||||
type HandleDocumentationResponse struct {
|
||||
Response
|
||||
Data struct {
|
||||
Buckets []Bucket
|
||||
}
|
||||
}
|
||||
|
||||
type UploadDocumentResponse struct {
|
||||
Response
|
||||
Data UploadDocumentResponseData
|
||||
|
@ -31,3 +45,10 @@ type V1SeedResponse struct {
|
|||
Buckets []string
|
||||
}
|
||||
}
|
||||
|
||||
type V1BucketListResponse struct {
|
||||
Response
|
||||
Data struct {
|
||||
Buckets map[string]string
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue