UploadFile
Resource
Endpoints | URI | Access Control | Description |
---|---|---|---|
save | POST /api/UploadFile/save |
Authentication only | |
update | POST /api/UploadFile/update |
Endpoint level permissions | Used for updating mutable details in file record |
delete | POST /api/UploadFile/delete |
Authentication only | |
find | GET /api/UploadFile/find |
Allowed with an active employment connection | |
get | GET /api/UploadFile/get |
Admin or Module READ | |
save-batch | POST /api/UploadFile/save-batch |
Admin or Module WRITE |
Property | Type | Description |
---|---|---|
id |
number | |
type |
string | |
original_filename |
string | |
filename |
string | |
thumb_filename |
string | |
width |
number | |
height |
number | |
thumb_max_size |
number | |
file_size_kb |
number | |
slug |
string | |
do_not_clean |
boolean | |
meta_json |
string | |
sharing_on |
boolean | |
created_at |
datetime | |
updated_at |
datetime | |
updated_by |
number |
Setting | |
---|---|
Pagination Limit (when page parameter is set) |
None |
Default Sort Order | By insertion order |
Related Resource | Key | Relationship to UploadFile | Property |
---|---|---|---|
User | updated_by |
Belongs To | UpdatedBy |