List and retrieve diffs with detailed revision information

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

{
    "id": 1050151,
    "revision": {
        "id": 476707,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e422931fd17b312576af6283112dc7289e96003d",
        "head_changeset": "ef7c78fa0bb09bf6bf576305985cd410a826314e",
        "phabricator_id": 251659,
        "phabricator_phid": "PHID-DREV-7cxpjly2ctxtcfeodciy",
        "title": "Bug 1969000 part 2: Change WPT naturalWidth-naturalHeight-unavailable.tentative.html to append its img elements dynamically with JS. r?#layout",
        "bugzilla_id": 1969000,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476707/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476707/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251659"
    },
    "phid": "PHID-DIFF-grmlgkskq7dmkndgoyn3",
    "review_task_id": "fsFfsMG3SWubPWIYsdu_zg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3160f4655ef4c4cd2b3df225e45b2f3069f1dfed",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050151/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T18:43:06.117550Z"
}