List and retrieve diffs with detailed revision information

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

{
    "id": 1105543,
    "revision": {
        "id": 512422,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "76f448acb1d5c3a749d5e4a1b68afd97bd5ce27c",
        "head_changeset": "10aeca55ace1590d90181e0b610054381f8b9fe9",
        "phabricator_id": 261013,
        "phabricator_phid": "PHID-DREV-tbyised5mdwpnvkr3ueq",
        "title": "Bug 1982898 - Making the ToU prompt show in non-debug builds",
        "bugzilla_id": 1982898,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512422/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512422/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261013"
    },
    "phid": "PHID-DIFF-2wmabwkzd5of34hl6dml",
    "review_task_id": "aS7B_-9VSPiMRNBqAVUGRQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "10aeca55ace1590d90181e0b610054381f8b9fe9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105543/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T18:54:26.711706Z"
}