List and retrieve diffs with detailed revision information

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

{
    "id": 1112655,
    "revision": {
        "id": 476210,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b40023655af038a8c54e9746e8c23b3f02d847f6",
        "head_changeset": "acb97b3ea3d329c06f844dc83c8d1084a159e661",
        "phabricator_id": 251032,
        "phabricator_phid": "PHID-DREV-6l7ucvqrsqzkkhabuaao",
        "title": "WIP: Bug 198090 - Part 3: Add migration to reencrypt all logins with AES r?simonf",
        "bugzilla_id": 198090,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476210/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476210/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251032"
    },
    "phid": "PHID-DIFF-4vf6jsz56dloy6mie2nb",
    "review_task_id": "bGsl_kRvTGa1z1bGI-i5Pg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7ca439fa7329a191e19ca0bc3008339397bc67f4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112655/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T08:55:22.400635Z"
}