BitBucket API Question

Hello,

We are evaluating bitbucket webhook api and we were wondering if we can doo the same thing as from the command line.

In git, if we do a git diff we actually can limit the output to only be the list of modified files.

git diff --name-only

From the API we have seen there is a diff API but it does not allow to limit the output to only the list of files modified.
ie: curl -H"Authorization…" "https://bitbucket.org/api/2.0/repositories/XXXXXXX/yyyyyy/diff/tagA..tagB

Is there a way to only get the list of files that differ instead the whole diff content ?

Regards,

Hello,
Yes, you can limit the data returned from the API. You can find this in our API docs.

If you need any help, feel free to reply here or post a question in our public HipChat room.

ERIC HENRY
Development Team Lead, Bitbucket Cloud