List and retrieve diffs with detailed revision information

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

{
    "id": 1054476,
    "revision": {
        "id": 477721,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ac9feb4e6dd9dd52821fe8b5975a15a2103f2230",
        "head_changeset": "02e6198a40b2485a6f3e35482a9ee9b889f7f6bd",
        "phabricator_id": 252867,
        "phabricator_phid": "PHID-DREV-2ykyoef6vk2c5ogqkir7",
        "title": "Bug 1970646 - Extend UrlClassifierExceptionList* to support allow-list categories. r=#anti-tracking!",
        "bugzilla_id": 1970646,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477721/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477721/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252867"
    },
    "phid": "PHID-DIFF-z274y4axfcbkgttx464s",
    "review_task_id": "YL0rlV5lQEe6WglO7a_xow",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "66d829a2158d113410aa23a39cd44cf7ab56aa33",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054476/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T18:20:20.427891Z"
}