List and retrieve diffs with detailed revision information

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

{
    "id": 1111493,
    "revision": {
        "id": 520661,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "8b5aa5dd9c72743cc11ab2f54408fd0a6620b7b6",
        "head_changeset": "ffcc165c24dbaa16054ce1453db8d89821139fac",
        "phabricator_id": 262514,
        "phabricator_phid": "PHID-DREV-pppzlfzngkkski4m3wem",
        "title": "Bug 1985165 - Fix icon for Get All New Messages menuitem. r=#thunderbird-reviewers",
        "bugzilla_id": 1985165,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520661/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520661/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262514"
    },
    "phid": "PHID-DIFF-pgssl5ty5tyedo4isadr",
    "review_task_id": "c5455IjkQVSvQrwKEFRVgw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "ffcc165c24dbaa16054ce1453db8d89821139fac",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111493/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T23:29:28.056305Z"
}