GALAglobal / TAPICC-API-implementation

TAPICC API implementation using node.js framework sails.js
Other
6 stars 1 forks source link

Input vs Input IDs in Job #71

Closed ysavourel closed 4 years ago

ysavourel commented 5 years ago

Is there a string reason to have the list of its Input objects in given Job object as it is the case in the current Swagger API? (https://app.swaggerhub.com/apis/Alino/tapicc-api/0.0.7#/job)

In the other objects we use lists of IDs rather than the objects themselves.

Alino commented 4 years ago

good question, perhaps we should unify this, and all objects should return only themselves and not children directly but only list of ids. If no one objects to this in next week, I think we can change this.

Alino commented 4 years ago

changed https://github.com/GALAglobal/TAPICC-API-implementation/commit/f8c9fb78c2dc2fffc72ed20bb2199f0cb8047986