List and retrieve diffs with detailed revision information

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

{
    "id": 1048412,
    "revision": {
        "id": 476648,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6355f5807d0ae7f65adcf83c7f097e9c9c2647af",
        "head_changeset": "9d40c576ccd5528eb411d0f0d892846b747badb8",
        "phabricator_id": 251589,
        "phabricator_phid": "PHID-DREV-djsxpcincmys46ssm54w",
        "title": "Bug 1913099 - add whooshmotorsports.com to the list of sites for our FastClick webcompat intervention; r?denschub",
        "bugzilla_id": 1913099,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476648/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476648/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251589"
    },
    "phid": "PHID-DIFF-yny6xpah2la2ufivqe66",
    "review_task_id": "Hqc0OjAGSeWunEN3lIpjAw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9d40c576ccd5528eb411d0f0d892846b747badb8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048412/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T16:14:16.252534Z"
}