List and retrieve diffs with detailed revision information

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

{
    "id": 1109598,
    "revision": {
        "id": 516359,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c73d57303f93ef48fdfaecf5ccfbeadef2d9c510",
        "head_changeset": "4396006ffec18d14b512090a69d10983b9af905c",
        "phabricator_id": 261799,
        "phabricator_phid": "PHID-DREV-chwy23vdj3uzwa47ugtb",
        "title": "Bug 1984156 - Integrate the `glean_parser` linter with `./mach lint` r?#linter-reviewers,janerik",
        "bugzilla_id": 1984156,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516359/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516359/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261799"
    },
    "phid": "PHID-DIFF-k7vhbej5qz2phbi5a5eu",
    "review_task_id": "Ok2WP8xOTjO9XNILsoxp7g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f4d48db49c6c0dbe2fd83ea5f8309367b6eb48c2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109598/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T17:11:32.723071Z"
}