List and retrieve diffs with detailed revision information

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

{
    "id": 1109752,
    "revision": {
        "id": 517442,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "1510b7e3ba9f13715d4b9efb28dc2461b96b4775",
        "head_changeset": "5eac9a0abf5d989bfc9433df6b5f77b7d89ffa44",
        "phabricator_id": 262024,
        "phabricator_phid": "PHID-DREV-ke7xzwntlgd74yh2fsee",
        "title": "Bug 1980903 - Fix incorrect .gecko_rev.yml path in verify-pin.sh r=#thunderbuild",
        "bugzilla_id": 1980903,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517442/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517442/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262024"
    },
    "phid": "PHID-DIFF-2o7zgkzkjsmnhnfi3nf4",
    "review_task_id": "JJZzBLZwSTi9im-YHhHWQA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "5eac9a0abf5d989bfc9433df6b5f77b7d89ffa44",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109752/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T21:10:07.991634Z"
}