Provide file attachment revision info in the API and JavaScript.
Review Request #7116 — Created March 25, 2015 and submitted — Latest diff uploaded
The file attachment resources were missing revision information, which
we'll soon be needing in the UI. Arevision
field has been added to
the serialized data for file attachments in the API.The JavaScript resource models load in the revision information from the
API into an attribute, and default thediffAgainstFileAttachment
attribute tonull
(instead ofundefined
).
Python and JavaScript ynit tests pass.
Used these values in another change.