List and retrieve diffs with detailed revision information

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

{
    "id": 1064967,
    "revision": {
        "id": 481063,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "e2cf1d95ecfbdaa6cf1aa1d757e56208b8ccb8a5",
        "head_changeset": "7a2e5f27fab06aa8ed1d4ccacbf704007c860368",
        "phabricator_id": 254130,
        "phabricator_phid": "PHID-DREV-smuoam4r62ca32wu2lbk",
        "title": "Bug 1972723 - Create one MockAlertsService to rule them all. r=#thunderbird-reviewers",
        "bugzilla_id": 1972723,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481063/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481063/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254130"
    },
    "phid": "PHID-DIFF-mxlat7nomfw4zsque547",
    "review_task_id": "DzwCw8EhSb-QTHRl1GTaZA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "5ca71f275fd7599db2495b2f7232b17864d10ce1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064967/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T11:46:06.677798Z"
}