V3 API: Enhance privacy by hiding internal file sharding paths and fix syntax in object definitions

This commit is contained in:
Scott Idem
2026-01-26 18:50:22 -05:00
parent a754525a59
commit f7a17b2f99
4 changed files with 6 additions and 5 deletions

View File

@@ -91,7 +91,8 @@ class Event_File_Base(BaseModel):
alias = 'hash_sha256'
)
hosted_file_subdirectory_path: Optional[str] = Field( # NOTE: This will frequently only contain numbers, but it still needs to be a string
alias = 'subdirectory_path'
alias = 'subdirectory_path',
exclude = True
)
hosted_file_content_type: Optional[str] = Field(
alias = 'content_type'