List and retrieve diffs with detailed revision information

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

{
    "id": 1081705,
    "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-gowb2zqkkvcyktbzqf7l",
    "review_task_id": "YpV88YM7STudW3M28QXpUA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "18574ed77b0770639ec630f971d56b340f217ded",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081705/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T16:30:33.365975Z"
}