List and retrieve diffs with detailed revision information

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

{
    "id": 1049376,
    "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-xsagv2tiene7jo7subck",
    "review_task_id": "Poy9ihSkTBCYIPO38ZziGA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0c3d9843391a76dc801aa31692ebb64f5f76de0f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049376/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T17:15:17.725194Z"
}