Closed Alino closed 5 years ago
There may also be benefit in adding to the asset itself -
Asset.type
here may be benefit in seperating out source file types, downloadableDeliverables, uploadableDeliverables, Devliverables, reference when creating assets.
Asset.Description
I see in the proposal for reference there is description - this should also be applied to the parent asset itself.
If we implement this References proposal, then Asset.type won't make much sense to me.
Asset.file = the source file of the Asset (an Asset is always an Asset) Reference.file = the reference file (the Reference is always a Reference) Task.file = the deliverable (Task is always Task)
I agree with Asset.description addition.
So if I'm understanding this right, any file uploaded or downloaded is not an asset. Asset is a term for source files. Separation of file type as I propose is already done in the structure. Do I have that right?
yes that is correct.
closing in favour of https://github.com/GALAglobal/TAPICC-API-implementation/issues/58
I propose to create new data model called
Reference
endpoints:
POST /asset/{parentId}/reference/uploadfile
GET, PUT, DELETE /reference/{id}
example - seeing an Asset and being able to view it's References:
GET /job/1/asset/5
response:
Note:
Questions: