List and retrieve diffs with detailed revision information

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

{
    "id": 1079380,
    "revision": {
        "id": 491229,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1fdf8d8bdb2b440a5d39166972c890435595f183",
        "head_changeset": "dbf193b7bddaae72ffbcfb2effd48c89a3d9eff5",
        "phabricator_id": 256168,
        "phabricator_phid": "PHID-DREV-zem3xdlfvpdxjq4gh6x6",
        "title": "WIP: Bug 1975821 - Avoid SetDelay in Http3Session. r?#necko-reviewers",
        "bugzilla_id": 1975821,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491229/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491229/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256168"
    },
    "phid": "PHID-DIFF-6hklui5xaewpy2hqm5el",
    "review_task_id": "Cfvw8qvATU-W5EAdvYCI4w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f7c6a9bdbf473b3176af7cadeb51cf407ec5ff8b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079380/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T12:22:01.034650Z"
}