List and retrieve diffs with detailed revision information

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

{
    "id": 1074427,
    "revision": {
        "id": 486875,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "47d2305074e7678d1e69fc853de92c511f1fd6e5",
        "head_changeset": "573d8c574eea0cbb4c2f5c22a88890d7663b61af",
        "phabricator_id": 255338,
        "phabricator_phid": "PHID-DREV-u6nhk75qazqaup3zcofx",
        "title": "Bug 1974465 - Don't reset current step when address books were discovered in account hub. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1974465,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486875/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486875/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255338"
    },
    "phid": "PHID-DIFF-xr77eaxa677kdl6xv7ak",
    "review_task_id": "PPHzqu1CS42ks4ofIf_S1w",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "573d8c574eea0cbb4c2f5c22a88890d7663b61af",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074427/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T15:36:16.344522Z"
}