List and retrieve diffs with detailed revision information

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

{
    "id": 1081165,
    "revision": {
        "id": 493641,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "d58028c0fdaa41ceab934c98f10c8ad0f983b945",
        "head_changeset": "b00d0462bfa7b9392bf3b990594ac4ab7bf86fe5",
        "phabricator_id": 256918,
        "phabricator_phid": "PHID-DREV-tpfw6srm7ekbihwofbtq",
        "title": "WIP: Bug 1976783 - Stop using XPCOM methods to get the Address Book manager.",
        "bugzilla_id": 1976783,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493641/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493641/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256918"
    },
    "phid": "PHID-DIFF-wi6wzujxfntrjsgo36so",
    "review_task_id": "J48Nl240TbGgeowLaxTQXg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "b00d0462bfa7b9392bf3b990594ac4ab7bf86fe5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081165/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T00:01:49.879858Z"
}