List and retrieve diffs with detailed revision information

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

{
    "id": 1064206,
    "revision": {
        "id": 480721,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ed603e36c307e8fed4e450807d0d4d43cf613254",
        "head_changeset": "4b9c11488055c0817f0dae14f5c907a0872b0f8c",
        "phabricator_id": 254029,
        "phabricator_phid": "PHID-DREV-42ru7rzmjewdrjennq62",
        "title": "Bug 1968951 - Add an API to BrowsingContext to override browser locale.",
        "bugzilla_id": 1968951,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/480721/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/480721/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254029"
    },
    "phid": "PHID-DIFF-hbmsx4jrbcwkwxjiflop",
    "review_task_id": "eIjtjkYbTmq9oSe3-eKqPw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4b9c11488055c0817f0dae14f5c907a0872b0f8c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064206/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T15:53:54.648083Z"
}