WebstoreTemplateFileDto
Represents one file within a webstore template, such as a page, stylesheet, script or image.
idFlakeIdRequired
content_typestringRequired
The MIME type of the file (e.g., text/html, text/css, application/json). Decides how the file
is served and whether it is public.
created_atstringRequired
The date and time the file was created.
file_namestringRequired
The name of the file within the template, without an extension. The extension follows from
'content_type'.
is_deletablebooleanRequired
Indicates whether the file can be deleted. Files the template cannot render without are not
deletable.
is_publicbooleanRequired
Indicates whether the file is served directly to browsers as a static asset. Pages and the
schema file are private and rendered on the server; styles, scripts and images are public.
template_idFlakeIdRequired
updated_atstringRequired
The date and time the file was last updated.
contentstringOptional
The text content of the file. Null when files are listed; content is only returned when a
single file is fetched or the template is fetched with 'include' set to 'files'.
Example
{
"id": "411486491630370816",
"content_type": "string",
"created_at": "2024-01-01T00:00:00Z",
"file_name": "string",
"is_deletable": true,
"is_public": true,
"template_id": "411486491630370816",
"updated_at": "2024-01-01T00:00:00Z",
"content": "string"
}