Replies: 1 comment
-
@antony-wilson What do you think? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This call seems to be a bit ambiguous and might need to be discussed:

As it is, it is equivalent to me to:

Indeed, the assumption is that all the calls serving the content of
mod:SemanticArtefact
are supposed to serve the content of the "latest" (as being defined by each SAC) distribution inside the SAC.Whereas another call should allow, when possible, to get the content of another distribution:
/artefacts/{artefactID}/distributions/{distributionID}/resources
and all the subsequent sub calls of /resources should also exist:
/artefacts/{artefactID}/distributions/{distributionID}/resources
/artefacts/{artefactID}/distributions/{distributionID}/resources/{resourceID}
/artefacts/{artefactID}/distributions/{distributionID}/resources/classes
etc.
In other words in the MOD-API specification, the call
/artefacts/{artefactID}/distributions/latest/resources
Should be removed and replace by :
/artefacts/{artefactID}/distributions/latest
=> Get information about the "latest" semantic artefact's distribution.And completed with the calls described right above.
Beta Was this translation helpful? Give feedback.
All reactions