Pull request diff ignore whitespace

Using the diff media type, I’m able to retrieve a pull request’s diff using this API. Is there an API that I can use which will retrieve this diff while ignoring whitespace, similar to adding ?w=1  in the web interface?

Thanks for any help.

Thanks for reaching out.

Unfortunately, no, there is not currently a way to retrieve the diff ignoring whitespace via the API. I’ve logged your feature request in our internal feature request list. Though I can’t guarantee anything or share a timeline for this, I can tell you that it’s been shared with the appropriate teams for consideration.