List and retrieve diffs with detailed revision information

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

{
    "id": 1080099,
    "revision": {
        "id": 492762,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "06af8a77de461f33c3e6be695c716839a270a00e",
        "head_changeset": "8583173a4eaffdf246e1ec1f46133eb169130256",
        "phabricator_id": 256608,
        "phabricator_phid": "PHID-DREV-fuslwks5bxlzshskxy2v",
        "title": "Bug 1806979. Correct how the image visibility code handles preserve 3d. r?#layout-reviewers,#gfx-reviewers",
        "bugzilla_id": 1806979,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492762/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492762/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256608"
    },
    "phid": "PHID-DIFF-xb7mxh2bdlnhvxuksr7b",
    "review_task_id": "ZjOFNhKWTxKjZEOGJ1Ubgg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8583173a4eaffdf246e1ec1f46133eb169130256",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080099/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T12:15:37.787744Z"
}