------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4194/
------------------------------------------------------------------------------

New update by pawolf
For Beanbag, Inc. > Review Board > Ticket #4194


Reply:

    I'm sorry, not really. There are some reasons it's not provided that are 
more technical implementation details than anything. It is something we really 
should be doing, and I'm going to try to get this on the roadmap, but it won't 
help you for now.
    
    There is a workaround, though. You can access the [file diff data 
API](https://www.reviewboard.org/docs/manual/3.0/webapi/2.0/resources/file-diff/)
 by making a GET request to this with an `Accept: 
application/vnd.reviewboard.org.diff.data+json` header and the parameters for 
the file being commented on.
    
    This will give you underlying data used to build the diff viewer. This 
contains the real line numbers and those row numbers. From there, you can 
access the appropriate row and get the original/modified line numbers for the 
row number.
    
    This is available in Review Board 2.5 as well, but it's worth mentioning 
that 2.5 is no longer seeing any new development. 3.0 will soon be going into 
maintenance mode as well, as 4.0 is coming out before long.
    
    Would you be able to talk about what your webhook does? We're planning work 
on a new major version of the API and reworking some internals, so I want to 
gather use cases and see what makes sense.

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20200904223540.27173.82287%40ip-10-1-54-209.ec2.internal.

Reply via email to