List and retrieve diffs with detailed revision information

GET /v1/diff/1072759/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1072759,
    "revision": {
        "id": 485438,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9e12583b01ff94a285ec924db54a14c8b1cde747",
        "head_changeset": "0650c14eac22f2d192b78489e58d2bd6d3201c3d",
        "phabricator_id": 255006,
        "phabricator_phid": "PHID-DREV-vcvrzyw4mxg7vtadbmho",
        "title": "Bug 1956618 - Disable the DefaultDeleteBrowsingDataControllerTest.deleteCachedFiles test r=#android-reviewers",
        "bugzilla_id": 1956618,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485438/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485438/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255006"
    },
    "phid": "PHID-DIFF-aommwgvzqmiustiripxa",
    "review_task_id": "SZn7McfsTHG6_ghCD9HLng",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0650c14eac22f2d192b78489e58d2bd6d3201c3d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072759/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T21:39:02.019887Z"
}