add profile API endpoints (GET /profiles, GET/PUT /profile)

This commit is contained in:
Josh Hawkins
2026-03-09 14:47:29 -05:00
parent c367e5c95a
commit f76bb9cfb8
2 changed files with 46 additions and 1 deletions
+6
View File
@@ -30,6 +30,12 @@ class AppPutRoleBody(BaseModel):
role: str
class ProfileSetBody(BaseModel):
profile: Optional[str] = Field(
default=None, description="Profile name to activate, or null to deactivate"
)
class MediaSyncBody(BaseModel):
dry_run: bool = Field(
default=True, description="If True, only report orphans without deleting them"