List and retrieve diffs with detailed revision information

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

{
    "id": 1081709,
    "revision": {
        "id": 494095,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "671b13a83a99a56a45116f17f72274f081cd3d63",
        "head_changeset": "18574ed77b0770639ec630f971d56b340f217ded",
        "phabricator_id": 257027,
        "phabricator_phid": "PHID-DREV-ezilvnhos2cv5t42bh6w",
        "title": "Bug 1924441 - remove our UA override for contractorinduction.colesgroup.com.au; r?denschub",
        "bugzilla_id": 1924441,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494095/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494095/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257027"
    },
    "phid": "PHID-DIFF-2lwubfzka3b2nkjq2x6b",
    "review_task_id": "YCW-RIKAQfqumtRiQKkg-w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7b470decb4b67cc420a3fd88d4ea838cce0595b4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081709/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T16:34:25.596137Z"
}