List and retrieve diffs with detailed revision information

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

{
    "id": 1075975,
    "revision": {
        "id": 488997,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3898392df5a6d18ee10fff62c672336a5640ee5f",
        "head_changeset": "4ece573d7e6974ea1e137cde4848f83f1091392e",
        "phabricator_id": 255643,
        "phabricator_phid": "PHID-DREV-o4z6gn3y7zsjeu5c664l",
        "title": "Bug 1967082 - Clean up GDK anchor flag calculation. r=stransky",
        "bugzilla_id": 1967082,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488997/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488997/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255643"
    },
    "phid": "PHID-DIFF-cdaqpzk4ike3hdlte3r7",
    "review_task_id": "YeaQDT4VQxegP5-jp5-ijw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4ece573d7e6974ea1e137cde4848f83f1091392e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075975/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T13:34:00.231881Z"
}