List and retrieve diffs with detailed revision information

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

{
    "id": 1052151,
    "revision": {
        "id": 475033,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c94328fb29e00aef11c0c407b96e197a2d222fce",
        "head_changeset": "dcc08d0a021b21fa9536896c8701b8a43521fdcf",
        "phabricator_id": 249224,
        "phabricator_phid": "PHID-DREV-5jpow6vx7j2xff4mkfb7",
        "title": "Bug 1966309 - Use weak android symbol instead of dlopen/dlsym for AndroidSystemFontIterator.cpp r=m_kato",
        "bugzilla_id": 1966309,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475033/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475033/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249224"
    },
    "phid": "PHID-DIFF-ejsuhfenqajwhqxatose",
    "review_task_id": "VWvJXEGYTTCMXkXDjEh5-A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "35e649ff0c1754ea4b7175a307adad94086cef4f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052151/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T19:37:06.673144Z"
}