File
The file model is used to represent a file in the database.
| Field Name | Type | Description | 
|---|---|---|
| createdAt | date | The date the file was created | 
| expiresAt | date? | The date the file will expire | 
| id | number | The ID of the file | 
| mimetype | string | The mimetype of the file | 
| views | number | The number of views the file has | 
| maxViews | number? | The maximum number of views the file has until deleted | 
| url | string? | The URL of the file (/u/test.png) | 
| name | string | The name of the file (123.png) | 
| originalName | string? | The original name of the file (test.png) | 
| password | boolean | Whether the file has a password on it. | 
API Reference
This page attempts to document the entire Zipline...
Folder
The folder model is used to represent a folder in...
Last updated: 3/3/2025
Edit this page on GitHub