List and retrieve diffs with detailed revision information

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

{
    "id": 1052283,
    "revision": {
        "id": 477325,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "37c8687aca56d52e6a3090d66f73605baf4e06c9",
        "head_changeset": "bbd1651eec56a376138911695583006426fe4a93",
        "phabricator_id": 251665,
        "phabricator_phid": "PHID-DREV-yc6rax4hymcy3oqgyhly",
        "title": "WIP: Bug 1731418 - Added URLPattern webIDL implementations",
        "bugzilla_id": 1731418,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477325/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477325/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251665"
    },
    "phid": "PHID-DIFF-hmtbw774brl4s5bbicz7",
    "review_task_id": "Zrubuod6RsqBLLW3rM0nwQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bbd1651eec56a376138911695583006426fe4a93",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052283/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T21:33:02.715487Z"
}