Closed nodet closed 2 years ago
The additional information in the 'complete' version is actually redundant (the id
already appears in the href
, and the 'website' part of the URL must be known anyway to start anything. I would rather not generate useless (or worse, incoherent) content, so let's not change anything.
Moreover, the code of the library must be ready to deal with the 'skinnier' version of the references: it may have to deal with jobs that it didn't create, and shouldn't assume more than what's strictly necessary.
The library currently builds input data references that look like this:
But the output data references that come back look like this:
Note in the
location
section how thehref
is a complete URL rather than just the 'REST API' part, and it has anid
.At this time, everything is fine and WML handles well the references that are sent. But one can wonder whether the beefier version should be sent.