List and retrieve diffs with detailed revision information

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

{
    "id": 1078964,
    "revision": {
        "id": 491615,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fc4988c678ae748d0aa0b7ac92553119d6da79e0",
        "head_changeset": "91657fd68a600eab663607c10c7608381550d57a",
        "phabricator_id": 256335,
        "phabricator_phid": "PHID-DREV-veqdntdbmjsolifdvyfb",
        "title": "Bug 1950234 - Update the INFOBAR_DEFAULT_AND_PIN_87 message on RS to target users on FX versions < 138",
        "bugzilla_id": 1950234,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491615/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491615/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256335"
    },
    "phid": "PHID-DIFF-pbbevajlpwjdgcdghbjz",
    "review_task_id": "VYQnNjrBQ4-TkzGDcCyHCA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "91657fd68a600eab663607c10c7608381550d57a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078964/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T19:07:04.003331Z"
}