Files changed in a pull request

Is it possible to fetch the files changed in a mentioned pull request number?
I want to fetch the file names only.

1 Like

You can get the details of all changed files in a PR using the /files endpoint on a PR.

You can iterate over the items in the array to get the raw filenames.

2 Likes