add File api endpoints

This commit is contained in:
j3d1 2019-12-24 13:52:10 +01:00
parent 17e859b9ba
commit d815f64dc8
4 changed files with 50 additions and 18 deletions

View file

@ -16,6 +16,8 @@ class File extends Model
'hash', 'iid'
];
protected $primaryKey = 'hash';
/**
* The attributes excluded from the model's JSON form.
*