List and retrieve diffs with detailed revision information

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

{
    "id": 1081416,
    "revision": {
        "id": 493916,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "26375c1419804764fd828bec22544ed671faa24c",
        "head_changeset": "7d5d6f0dd025411811774ed6fde60d9159dd9d81",
        "phabricator_id": 256968,
        "phabricator_phid": "PHID-DREV-7vleioqqnykx5lsukac5",
        "title": "Bug 1972263 - Another try to fix/debug comm/mail/components/accountcreation/test/browser/browser_accountHubAddressBookSync.js. r=#thunderbird-reviewers",
        "bugzilla_id": 1972263,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493916/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493916/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256968"
    },
    "phid": "PHID-DIFF-gh73qbus64yftsjtdeyg",
    "review_task_id": "bz6gnVKTSSWAWy1TNIr8ZA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "7d5d6f0dd025411811774ed6fde60d9159dd9d81",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081416/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T10:05:10.685295Z"
}