List and retrieve diffs with detailed revision information

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

{
    "id": 1079796,
    "revision": {
        "id": 491860,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ec37e9e63dec44e002d199dde9fccc50fd1a3f9f",
        "head_changeset": "6f7014412c43c7af3cc10e9e77caf6127fa0226d",
        "phabricator_id": 256383,
        "phabricator_phid": "PHID-DREV-oywkmlt4ps6cul4ke6xo",
        "title": "Bug 1975366 - [New User Activation] Adjust position of arrow on Custom Wallpaper Highlight r=#home-newtab-reviewers",
        "bugzilla_id": 1975366,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491860/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491860/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256383"
    },
    "phid": "PHID-DIFF-xqe4dvsvwao3l7s62zwz",
    "review_task_id": "OLlOuTKjRjKscRlhFXmzJA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "784c16e32123e9c38f93fbcaa45b7a4bcf18bc76",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079796/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T21:57:02.301359Z"
}