List and retrieve diffs with detailed revision information

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

{
    "id": 1103866,
    "revision": {
        "id": 508594,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "150e75d7614ef4bc602ad619e2120b79492e1a92",
        "head_changeset": "fd38245937fc39d99b38df34825b75de61cdb7b0",
        "phabricator_id": 260403,
        "phabricator_phid": "PHID-DREV-mnsjtz7il7of7t7kmvvq",
        "title": "Bug 1981881 - Timer widget - make sure context menu is only visible on hover r=#home-newtab-reviewers",
        "bugzilla_id": 1981881,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508594/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508594/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260403"
    },
    "phid": "PHID-DIFF-t3vnvtjnxfsu4zkgylqv",
    "review_task_id": "T3fShOKmR0K7tJbCPB00bA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "95f6f4c169ec2fc8b0ecf4e0df236a6158c8f9bb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1103866/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-11T02:14:38.140280Z"
}