2023-11-03 23:48:50 +00:00
|
|
|
package handlers
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/ectrc/snow/aid"
|
|
|
|
"github.com/gofiber/fiber/v2"
|
|
|
|
)
|
|
|
|
|
|
|
|
func GetCloudStorageFiles(c *fiber.Ctx) error {
|
2024-01-03 23:49:40 +00:00
|
|
|
return c.Status(fiber.StatusOK).JSON([]aid.JSON{})
|
2023-11-03 23:48:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func GetCloudStorageConfig(c *fiber.Ctx) error {
|
|
|
|
return c.Status(fiber.StatusOK).JSON(aid.JSON{
|
|
|
|
"enumerateFilesPath": "/api/cloudstorage/system",
|
2023-12-27 04:35:12 +00:00
|
|
|
"enableMigration": true,
|
|
|
|
"enableWrites": true,
|
|
|
|
"epicAppName": "Live",
|
|
|
|
"isAuthenticated": true,
|
|
|
|
"disableV2": true,
|
|
|
|
"lastUpdated": "0000-00-00T00:00:00.000Z",
|
|
|
|
"transports": []string{},
|
2023-11-03 23:48:50 +00:00
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
func GetCloudStorageFile(c *fiber.Ctx) error {
|
2024-01-03 23:49:40 +00:00
|
|
|
return c.Status(400).JSON(aid.ErrorBadRequest)
|
2023-11-05 01:58:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func GetUserStorageFiles(c *fiber.Ctx) error {
|
2024-01-03 23:49:40 +00:00
|
|
|
return c.Status(200).JSON([]aid.JSON{})
|
2023-11-05 01:58:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func GetUserStorageFile(c *fiber.Ctx) error {
|
2024-01-03 23:49:40 +00:00
|
|
|
return c.Status(200).JSON(aid.JSON{})
|
2023-11-05 01:58:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func PutUserStorageFile(c *fiber.Ctx) error {
|
2024-01-03 23:49:40 +00:00
|
|
|
return c.Status(200).JSON(aid.JSON{})
|
2023-12-27 04:15:26 +00:00
|
|
|
}
|