List and retrieve diffs with detailed revision information

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

{
    "id": 1081761,
    "revision": {
        "id": 494186,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "45035b144f5ae80613d18f940071082aad389914",
        "head_changeset": "dfd5e766f3c3e57629cafdd56f1f6688e895de92",
        "phabricator_id": 257037,
        "phabricator_phid": "PHID-DREV-gjfun4mt6lz2parerfcx",
        "title": "Bug 1976738 - Let the background and foreground color customization of the message compose affect also plaintext compositions. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1976738,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494186/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494186/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257037"
    },
    "phid": "PHID-DIFF-7qsuy454fkclive33ixr",
    "review_task_id": "NyHqb61IRUigdJ7y9S4Jbg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "dfd5e766f3c3e57629cafdd56f1f6688e895de92",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081761/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T18:03:22.156519Z"
}