comic / grand-challenge.org

A platform for end-to-end development of machine learning solutions in biomedical imaging
https://grand-challenge.org
Apache License 2.0
168 stars 50 forks source link

Update algorithm job detail API: add url and algorithm, remove algorithm_title #3318

Closed chrisvanrun closed 2 months ago

chrisvanrun commented 2 months ago

Part of the pitch:

This PR adds a url to the job detail API to directly link to the regular detail view. To be added to CIRRUS.

It also removes algorithm_title and replaces it with a hyperlinked relation to the algorithm itself. The rationale is that the title has no place in this serialisation. However, to get the title, a requester would need to traverse via the AlgorithmImage, which only admins of an algorithm would have access to (?). Adding a direct rel to the algorithm enables a callee to retrieve the algorithm title via a secondary call to get details on the algorithm. The algorithm details are public.