List and retrieve diffs with detailed revision information

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

{
    "id": 1079744,
    "revision": {
        "id": 492452,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ac6d478c1fc980bfcc70c75d0087481b26b9bc1e",
        "head_changeset": "58da669d62971069f963aba85f5151bdccbd62f0",
        "phabricator_id": 256512,
        "phabricator_phid": "PHID-DREV-bplkufvwqdldxc5wfqzr",
        "title": "Bug 1974237 - part1 : remove unused methods.",
        "bugzilla_id": 1974237,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492452/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492452/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256512"
    },
    "phid": "PHID-DIFF-652q7h7fhv6z6k3zjnbq",
    "review_task_id": "P5zqzK06RwO09oZ4KfgTLg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "58da669d62971069f963aba85f5151bdccbd62f0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079744/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T20:24:50.616166Z"
}