API end point to fetch commits excluding merged commits

XMLWordPrintable

      Currently, we have an api end point to exclude commits with respect to a particular branch

      https://api.bitbucket.org/2.0/repositories/<workspace_name>/<repo_name>/commits/<branch_name>?exclude=<branch_name>
      example:  GET /repositories/{workspace}/{repo_slug}/commits/dev?exclude=master
      

      But we do not have an API to exclude merged commits, an operation that is similar to the following git command.

      git log --no-merges
      

      It would be helpful in eliminating the duplicate file commits.

            Assignee:
            Unassigned
            Reporter:
            Lavanya K
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: