mirror of
https://github.com/simon987/ws_bucket.git
synced 2025-12-16 16:19:06 +00:00
Upload slot info endpoint
This commit is contained in:
@@ -11,6 +11,10 @@ type GenericResponse struct {
|
||||
Message string `json:"message,omitempty"`
|
||||
}
|
||||
|
||||
type GetUploadSlotResponse struct {
|
||||
UploadSlot `json:"upload_slot"`
|
||||
}
|
||||
|
||||
type AllocateUploadSlotRequest struct {
|
||||
Token string `json:"token"`
|
||||
MaxSize int64 `json:"max_size"`
|
||||
|
||||
Reference in New Issue
Block a user