List and retrieve diffs with detailed revision information

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

{
    "id": 1096089,
    "revision": {
        "id": 501409,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3c5572c68f08e17c68d5281681a866bc34d38c66",
        "head_changeset": "4ec2aa42af573e8ca91b750957b2f0105fc5b875",
        "phabricator_id": 258743,
        "phabricator_phid": "PHID-DREV-cdrkn4dj2kyhylhdxjlh",
        "title": "Bug 1977581 - Keep activating the parent window on Windows when destroying a child. r=#win-reviewers",
        "bugzilla_id": 1977581,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/501409/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/501409/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258743"
    },
    "phid": "PHID-DIFF-n5owysjcwn5ajo5mbfgt",
    "review_task_id": "MkKxAvtAQQuQKjkLkF5Z8g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4ec2aa42af573e8ca91b750957b2f0105fc5b875",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1096089/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-25T18:24:31.591645Z"
}