List and retrieve diffs with detailed revision information

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

{
    "id": 1104705,
    "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-n5ispdiz67sx25ejkz7q",
    "review_task_id": "fdwXi4eMQoC1W7Qx57Bgow",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "64d00864b25f7616e5cc85248a1351f83019ea75",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104705/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-12T13:50:05.674334Z"
}