List and retrieve diffs with detailed revision information

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

{
    "id": 1053349,
    "revision": {
        "id": 475034,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c94328fb29e00aef11c0c407b96e197a2d222fce",
        "head_changeset": "210a99e903a6233266c0959215cce29be93a0010",
        "phabricator_id": 249225,
        "phabricator_phid": "PHID-DREV-ybw74y6proq233lhbcu2",
        "title": "Bug 1966310 - Use weak android symbol instead of dlopen/dlsym for AndroidPerformanceHintManager..cpp r=m_kato",
        "bugzilla_id": 1966310,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475034/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475034/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249225"
    },
    "phid": "PHID-DIFF-45robm27eki5xcceut3k",
    "review_task_id": "GkYw8pFzTJC0TVY0dlG1GQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "60308dcc354d7b6ef3b8422699cb0ac78d2d3a4b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053349/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T09:41:13.889390Z"
}