Project

General

Profile

Actions

Refactor #35314

open

Rename comparison rabl node to appears_in_version_ids

Added by Jeremy Lenz almost 3 years ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
-
Branch:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

The content version comparison API returns a "comparison" node which is an array of the content view version IDs that a particular package appears in. We should rename this node from 'comparison' to 'appears_in' so it's self explanatory what it is.

The deprecation should have three phases:
1. Add the new node alongside the existing node. <-- you are here
2. Replace the comparison node in the rabl with a message saying "This node has been deprecated. Use appears_in for the comparison data instead."
3. Remove the 'comparison' node.

Actions

Also available in: Atom PDF