List and retrieve diffs with detailed revision information

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

{
    "id": 1079922,
    "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-iuodu3dd4scfvz6szrbi",
    "review_task_id": "Nzxl6OknRC2Fz3SVn5974A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7700aa592cd3f5eb118899ddb282fba6c83aefe5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079922/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T05:59:32.196363Z"
}