JobFile Resource
In Jobs Module
Files attached to a project (job).
Endpoints
| Endpoints |
URI |
Access Control |
Description |
| get |
GET /api/JobFile/get |
Admin or Module READ |
|
| find |
GET /api/JobFile/find |
Admin or Module READ |
|
| save |
POST /api/JobFile/save |
Admin or Module WRITE |
|
| delete |
POST /api/JobFile/delete |
Admin or Module WRITE |
|
Properties
| Property |
Type |
Description |
id |
number |
|
slug |
string |
|
file_id |
number |
|
job_id |
number |
|
caption |
string |
|
notes |
string |
|
source_resource |
string |
|
source_record_slug |
string |
|
created_at |
datetime |
|
updated_at |
datetime |
|
updated_by |
number |
|
Settings
| Setting |
|
Pagination Limit (when page parameter is set) |
None |
| Default Sort Order |
created_at DESC
|
Relationships
| Related Resource |
Key |
Relationship to JobFile |
Property |
| Job |
job_id |
Belongs To |
Job |
| UploadFile |
file_id |
Belongs To |
UploadFile |
| LibraryUpload |
file_id |
Belongs To |
LibraryUpload |
| JobFileTag |
tag_id |
Owns Many |
JobFileTag |
| FileTag |
tag_id |
Owns Many |
FileTag |