List and retrieve diffs with detailed revision information

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

{
    "id": 1103118,
    "revision": {
        "id": 507444,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "52fde1dc25c28000f5be7c72e68e1c8d11c82598",
        "head_changeset": "b55bb9c6845d73758a24b5b4f309fcacb75e8e09",
        "phabricator_id": 260130,
        "phabricator_phid": "PHID-DREV-pcgw2h5y4ylnyo3gfoxa",
        "title": "Bug 1981445. Add drawSnapshot wpt reftest jobs at tier 2 on linux debug. r?jmaher,jgraham",
        "bugzilla_id": 1981445,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/507444/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/507444/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260130"
    },
    "phid": "PHID-DIFF-ec6usrxoinjnmbkqk4co",
    "review_task_id": "Q1_Kf-AHSYCMKXTui3nAMg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "882558c6274f7a45b327e1d8078fc6d80ca8a5e1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1103118/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-08T09:03:01.530948Z"
}