List and retrieve diffs with detailed revision information

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

{
    "id": 1087619,
    "revision": {
        "id": 496602,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b34369cfdacdbeee47d3d4c029af0fb2e66cb4ff",
        "head_changeset": "8a4e43a2a119adcf51c666af2feaf9f21b1d259f",
        "phabricator_id": 257605,
        "phabricator_phid": "PHID-DREV-gvhnavsa5t2poi36q2qz",
        "title": "Bug 1977698 - Part 2: Do not navigate to the HomeFragment if that is the current destination in AppRequestInterceptor",
        "bugzilla_id": 1977698,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496602/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496602/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257605"
    },
    "phid": "PHID-DIFF-5c2gqiirugpo2ehxops2",
    "review_task_id": "bj-Ql_2vTvaWXc3udQekHA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8a4e43a2a119adcf51c666af2feaf9f21b1d259f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087619/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T22:54:34.817169Z"
}