List and retrieve diffs with detailed revision information

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

{
    "id": 1050231,
    "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-d75yhefwnhced7gylrwq",
    "review_task_id": "RmerSs07TdavDLo6zv4JqQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9e271884fc343c3a56c6f132b3ad17044dc70892",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050231/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T21:38:40.907142Z"
}