List and retrieve diffs with detailed revision information

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

{
    "id": 1078272,
    "revision": {
        "id": 488603,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "85aa858788c17c1ddab5e8ee601473c6910210ae",
        "head_changeset": "facd53dfed2196643fe4fb22910c0c4ba8e8737f",
        "phabricator_id": 255555,
        "phabricator_phid": "PHID-DREV-jcaenbsm7jfufaotha6s",
        "title": "Bug 1970705 - [WebCompat Reporter v2] Update the description of the reporter and add a SUMO link",
        "bugzilla_id": 1970705,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488603/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488603/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255555"
    },
    "phid": "PHID-DIFF-jw77rtzhq33ylbzccrb7",
    "review_task_id": "DBO2nDTrRWOgYPZc9E5cMA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1549a39bceedcf6b19a09d15360ac6a571d42df0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078272/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T20:47:13.478541Z"
}