List and retrieve diffs with detailed revision information

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

{
    "id": 1052943,
    "revision": {
        "id": 477468,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ee1ab18591dcbae459b7430168fe12cb7830ab20",
        "head_changeset": "06ac16ff24c85193063c5d7982b8f99cadd17924",
        "phabricator_id": 252561,
        "phabricator_phid": "PHID-DREV-4tqh7n7zjjllx4rjccfj",
        "title": "Bug 1956294 - Added FR support and test for street-address and country. r=NeilDeakin",
        "bugzilla_id": 1956294,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477468/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477468/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252561"
    },
    "phid": "PHID-DIFF-pbjrsxxihv3nz6emlpyv",
    "review_task_id": "Ti7j1io0Sq6uB2lghoT4JQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "06ac16ff24c85193063c5d7982b8f99cadd17924",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052943/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T17:50:55.305976Z"
}