Add materials, exam images, storage quota, and API guide
Upload documents for AI context, exam images for Moodle questions, per-template storage limits, embedded images in XML export, and GUIA_API_Y_FLUJO.md with full endpoint documentation.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import uuid
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class TemplateStorageUsage(BaseModel):
|
||||
template_id: uuid.UUID
|
||||
used_bytes: int
|
||||
limit_bytes: int
|
||||
remaining_bytes: int
|
||||
materials_bytes: int
|
||||
images_bytes: int
|
||||
used_mb: float
|
||||
limit_mb: float
|
||||
Reference in New Issue
Block a user