List and retrieve diffs with detailed revision information

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

{
    "id": 1052498,
    "revision": {
        "id": 477377,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d1c95aad03f939c8c0f2225a6ce1fbe210d05fac",
        "head_changeset": "49260e9038d35d8f3f5d91569b17f35924476c5d",
        "phabricator_id": 250607,
        "phabricator_phid": "PHID-DREV-mi2ea7cypmfovqzcy4cz",
        "title": "WIP: Bug 1964992 - Allow to add/remove optional data collection perms in GeckoView.",
        "bugzilla_id": 1964992,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477377/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477377/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250607"
    },
    "phid": "PHID-DIFF-xhtlsvn2dblwgi5uxsnj",
    "review_task_id": "OHQZYiTSSj6S9YRbHdECng",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "49260e9038d35d8f3f5d91569b17f35924476c5d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052498/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T09:42:55.065514Z"
}