The role SAMPLEDB-ANALYZER is required to be able to add a link.
To add a link to a sample, the link endpoint can be used with a POST
operation along with the sample ID. The request and response body is
JSON formatted and contains information about the link. The example
request below adds a link between the given samples defined in the
context path in the URL, and in the reference -field in the JSON
request, of type downloads.
To fetch a link summary for a given Sample, the endpoint can be used with a GET operation along with the sample ID.
The response body will be JSON formatted and contain a summary of the (up to) 1000 first links.