Open andrepapoti opened 5 months ago
Also, we probably want to expose events for this? However, we should be careful not to avoid the pitfall encountered in related patches, namely that we returned the related_patches
attribute as it was, despite that fact this would change over time as patches were added/removed.
@stephenfin updated the API to follow your suggestion.
My initial idea was to not require the user to just send the new values instead of appending them to the previous related_series
in the request's body, but considering that the Patch
already follows the format you suggested it and it's not an issue for the clients to get the current related_series
of a Series
Description
Allow linking between two series. A new field called
related_series
was added to theSeries
model where you can reference otherSeries
. This feature is can be used to link different versions of the sameSeries
to easily build a version history. The linking of aSeries
is bidirectional so if you link A to B automatically B is linked to A. For this feature a new API endpoint was created so the API version was bumped to v1.4.Related
Closes #506