List and retrieve diffs with detailed revision information

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

{
    "id": 1075419,
    "revision": {
        "id": 487091,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "47d2305074e7678d1e69fc853de92c511f1fd6e5",
        "head_changeset": "78a70caf5b2b1ad9971bccd471d485afdcafddbf",
        "phabricator_id": 255354,
        "phabricator_phid": "PHID-DREV-qkj575436ju4eb3jwbos",
        "title": "Bug 1971048 - Add tests for account hub header and subheader. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1971048,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487091/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487091/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255354"
    },
    "phid": "PHID-DIFF-italng2qzl5ueh5e2yj7",
    "review_task_id": "bSej94WnQWSssFhxZqiuJA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "8eeb7ece35a882a5b101352082e03078bf6136d6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075419/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T19:23:34.697342Z"
}