List and retrieve diffs with detailed revision information

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

{
    "id": 1051846,
    "revision": {
        "id": 475032,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c94328fb29e00aef11c0c407b96e197a2d222fce",
        "head_changeset": "6cb912588bdf60322cbbeda0f9826bae395b636b",
        "phabricator_id": 249227,
        "phabricator_phid": "PHID-DREV-s2fjzyzts2pheznmwm7r",
        "title": "Bug 1966312 - Use weak android symbol instead of dlopen/dlsym for PlatformDNSAndroid.cpp r=m_kato",
        "bugzilla_id": 1966312,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475032/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475032/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249227"
    },
    "phid": "PHID-DIFF-q2p75xcbhgaueqrb6eri",
    "review_task_id": "YGthKO5nR1evC8BIdolnRw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fe2bb6751d289fb00486011d7b13e9ef0ede93d9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051846/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T14:33:40.421643Z"
}