List and retrieve diffs with detailed revision information

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

{
    "id": 1050238,
    "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-uzdqmpc2aqbfiv5nafs4",
    "review_task_id": "FqUkBBD2Rh225Y9oOKv0bw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2fde2148c5ab7d04c55d334e358c71e4ea40d66d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050238/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T21:52:31.949586Z"
}