- Overview
- Introduction
- Hosts
- Global Headers
- Common HTTP Error Codes
- API Permits
- Authorization
- API Contexts
- Common Concepts
- Common Models
- Reference
- API Structure
- Public API
- Introduction
- Loyalty Club
- Member
- Offers
- Rewards
- Games
- CMS Content
- Management API
- Introduction
- Core
- Applications
- Privacy Policy
- Cookie Policy
- Terms
- Domains
- Domain Email Configs
- Domain Web Configs
- TLS Certificates
- Links
- Fonts
- Subunits
- Subunits Scopes
- SMS Sender Identities
- Contacts
- Translations
- Promotions Policy
- Tracker
- Social Logins
- Billing
- Members
- Listing Members
- Member Profile
- Imports
- Groups
- Programs
- Benefits
- Cars
- Webhooks
- Misc
- Receipts
- Stores
- Offers
- Rewards
- Triggerer
- CMS
- Introduction
- Pages
- Components
- Website
- Website Domains
- Venue Info
- Landing Pages
- Landing Page Templates
- Articles
- Events
- Events Groups
- Job Postings
- Press Releases
- Tags
- Service Messages
- Content Prototypes
- ContentPrototype Model
- List Content Prototypes
- Show Content Prototype
- Create Content Prototype
- Update Content Prototype
- Destroy Content Prototype
- List Organization Content Prototypes
- Show Organization Content Prototype
- Create Organization Content Prototype
- Update Organization Content Prototype
- Destroy Organization Content Prototype
- Mixed Content
- Attachments
- Events
- Games
- Scraper
- Files
- Receipts
- Users API
- Operations API
- Introduction
- Manager API
- Tenant API
- Messaging API
- Data API
- ML API
- Introduction
- Predict Sending KPI v1
- Explain Sending KPI Prediction v1
- Predict Sending KPI In Date Range v1
- Predict Sending Popularity v2
- Predict Sending Text Popularity v2
- Predict Sending Time Series Popularity v2
- Explain Sending Popularity Prediction v2
- Explain Sending Text Popularity Prediction v2
- Explain Sending Time Series Popularity Prediction v2
- Recommend sending time v2
- Generate Image
- Generate Text
- Generate Sending Text
- (Draft) Reporting API
- Other
Introduction
FileRecord model#
Example#
{
"id": 9,
"type": "logo",
"identifier": "42-sth",
"customer_id": 447,
"loyalty_club_id": 583,
"user_id": "xxx-56b1-xxx-a9ca-xxxx",
"url": null,
"filename": "this-is-my-file.png",
"mime_type": "image/png",
"size": 23172,
"created_at": "2020-10-13T10:01:35.586Z",
"updated_at": "2020-10-13T10:01:35.586Z",
"active": true,
"last_active_at": null,
"duplicated_from_file_record_id": null
}
Definition#
Key | Type | Optional | Description |
---|---|---|---|
id | integer | no | |
type | string | no | Type of resource to which file is attributed to |
identifier | string | no | ID of resource to which file is attributed to |
customer_id | integer | yes | ID of customer which owns the file |
loyalty_club_id | integer | yes | ID of loyalty club which owns the file |
user_id | string | yes | ID of user which uploaded file |
url | string | yes | URL to file |
filename | string | no | File's name |
mime_type | string | no | File's mime type |
size | integer | no | Size of uploaded file |
created_at | datetime | no | Time of creation |
updated_at | datetime | no | Time of last update |
active | boolean | no | Is file currently active |
last_active_at | datetime | yes | Time when file was deactivated |
duplicated_from_file_record_id | integer | yes | ID of file record from which current one was duplicated |
Modified at 2024-04-22 22:13:54